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

Re: pgsql: Disable _FORTIFY_SOURCE with ICC

From: Peter Geoghegan <peter(at)2ndquadrant(dot)com>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Disable _FORTIFY_SOURCE with ICC
Date: 2012-10-02 16:05:49
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-committerspgsql-hackers
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
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)

Peter Geoghegan
PostgreSQL Development, 24x7 Support, Training and Services

In response to


pgsql-hackers by date

Next:From: Andres FreundDate: 2012-10-02 16:19:13
Subject: Re: xmalloc => pg_malloc
Previous:From: Tom LaneDate: 2012-10-02 16:02:13
Subject: xmalloc => pg_malloc

pgsql-committers by date

Next:From: Fujii MasaoDate: 2012-10-02 16:33:58
Subject: Re: pgsql: Silence compiler warning about pointer type mismatch on some pla
Previous:From: Bruce MomjianDate: 2012-10-02 15:53:51
Subject: pgsql: In pg_upgrade,improve error reporting when the number of relati

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