This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Build failure on glibc 2.15


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]