Build failure on glibc 2.15

Carlos O'Donell carlos@systemhalted.org
Thu May 24 23:54:00 GMT 2012


On Thu, May 24, 2012 at 6:51 PM, Amittai Aviram <amittai.aviram@yale.edu> wrote:
> On May 24, 2012, at 6:08 PM, Carlos O'Donell wrote:
>
>>
>> Known issue. Fixed on trunk.
>>
>> http://sourceware.org/bugzilla/show_bug.cgi?id=10375
>>
>> Add -U_FORTIFY_SOURCE to your CFLAGS before building.
>>
>> Does that help?
>>
>> Cheers,
>> Carlos.
>
>
> I'm sorry--I don't understand where I am supposed to add -U_FORTIFY_SOURCE to the CFLAGS.  I tried the following, but it did not work (same result as before):

The solution is much simpler...

export CFLAGS="-g -O2 -U_FORTIFY_SOURCE -fno-stack-protector"

Then configure, and build glibc.

The glibc build system follows the GNU Standards which reads CFLAGS
from the environment during configure.

Cheers,
Carlos.



More information about the Libc-help mailing list