This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
GCC options fo building GLIBC
- From: Mahmood Naderan <nt_mahmood at yahoo dot com>
- To: "gcc-help at gcc dot gnu dot org" <gcc-help at gcc dot gnu dot org>
- Date: Mon, 26 May 2014 04:25:57 -0700 (PDT)
- Subject: GCC options fo building GLIBC
- Authentication-results: sourceware.org; auth=none
- Reply-to: Mahmood Naderan <nt_mahmood at yahoo dot com>
Hello,
I want to manually build GCC and GLIBC. I have read that something has to be set in the GCC (configure, make, ...) so that I can later build GLIBC. I don't understand it completely but there is something wrong with FORTIFY_SOURCE or stack-protector. The problem is stated in https://sourceware.org/bugzilla/show_bug.cgi?id=10375. Please see comments #6 and #7.
So I want to know which combination has to be set in GCC to correctly build the GLIBC?
-U_FORTIFY_SOURCE
-D_FORTIFY_SOURCE
-fstack-protector
-fno-stack-protector
Regards,
Mahmood