Skip site navigation (1) Skip section navigation (2)

Re: [COMMITTERS] pgsql: Disable _FORTIFY_SOURCE with ICC

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-hackers(at)postgresql(dot)org, Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Peter Geoghegan <peter(at)2ndquadrant(dot)com>
Subject: Re: [COMMITTERS] pgsql: Disable _FORTIFY_SOURCE with ICC
Date: 2012-10-05 03:22:25
Message-ID: 27654.1349407345@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-committerspgsql-hackers
Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> On Tue, 2012-10-02 at 17:05 +0100, Peter Geoghegan wrote:
>> /usr/include/features.h:314:4: warning: #warning _FORTIFY_SOURCE
>> requires compiling with optimization (-O) [-Wcpp]

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

I've seen this warning in recent Fedora builds, though not on my F16
production box.  Some googling suggests the locution

#if __OPTIMIZE__
#define _FORTIFY_SOURCE 2
#endif

but I've not tested that.

			regards, tom lane


In response to

Responses

pgsql-hackers by date

Next:From: Tom LaneDate: 2012-10-05 03:37:58
Subject: Re: [COMMITTERS] pgsql: Disable _FORTIFY_SOURCE with ICC
Previous:From: Peter EisentrautDate: 2012-10-05 02:55:41
Subject: Re: pgsql: Disable _FORTIFY_SOURCE with ICC

pgsql-committers by date

Next:From: Tom LaneDate: 2012-10-05 03:37:58
Subject: Re: [COMMITTERS] pgsql: Disable _FORTIFY_SOURCE with ICC
Previous:From: Peter EisentrautDate: 2012-10-05 02:55:41
Subject: Re: pgsql: Disable _FORTIFY_SOURCE with ICC

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group