Re: pgsql: Disable _FORTIFY_SOURCE with ICC

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Peter Geoghegan <peter(at)2ndquadrant(dot)com>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Disable _FORTIFY_SOURCE with ICC
Date: 2012-10-05 02:55:41
Message-ID: 1349405741.23971.3.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

On Tue, 2012-10-02 at 17:05 +0100, Peter Geoghegan wrote:
> On 30 September 2012 01:07, Peter Eisentraut <peter_e(at)gmx(dot)net> wrote:
> > Disable _FORTIFY_SOURCE with ICC
>
> I'm having some problems of my own with this. Specifically:
>
> gcc -O0 -g -Wall -Wmissing-prototypes -Wpointer-arith
> -Wdeclaration-after-statement -Wendif-labels
> -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing
> -fwrapv -fexcess-precision=standard -g -I../../src/port -DFRONTEND
> -I../../src/include -D_GNU_SOURCE -D_FORTIFY_SOURCE=2
> -I/usr/include/libxml2 -c -o qsort.o qsort.c -MMD -MP -MF
> .deps/qsort.Po
> In file included from /usr/include/stdio.h:28:0,
> from ../../src/include/c.h:67,
> from qsort.c:46:
> /usr/include/features.h:314:4: warning: #warning _FORTIFY_SOURCE
> requires compiling with optimization (-O) [-Wcpp]
> ...
> [peter(at)peterlaptop port]$ gcc --version
> gcc (GCC) 4.7.2 20120921 (Red Hat 4.7.2-2)
> ...

Which glibc version is this? (Run /lib/libc.so)

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2012-10-05 03:22:25 Re: [COMMITTERS] pgsql: Disable _FORTIFY_SOURCE with ICC
Previous Message Tom Lane 2012-10-05 02:54:38 pgsql: getnameinfo_unix has to be taught not to insist on NI_NUMERIC fl

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2012-10-05 03:22:25 Re: [COMMITTERS] pgsql: Disable _FORTIFY_SOURCE with ICC
Previous Message Michael Paquier 2012-10-05 00:33:56 Re: Support for REINDEX CONCURRENTLY