This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/50342] gcc/configure fails on Mac OS X Lion/Xcode 4.1 with recent GCCs
- From: "simon at pushface dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 08 May 2012 20:01:50 +0000
- Subject: [Bug bootstrap/50342] gcc/configure fails on Mac OS X Lion/Xcode 4.1 with recent GCCs
- Auto-submitted: auto-generated
- References: <bug-50342-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50342
--- Comment #11 from simon at pushface dot org 2012-05-08 20:01:50 UTC ---
(In reply to comment #10)
> I'm wondering if you could add:
>
> # Work around PR50342
> BOOT_CFLAGS += -D_FORTIFY_SOURCE=0
>
> to config/mh-darwin and fix the issue. If so, I think that might be the best
> solution for now. I think this should be safe for ppc and older and newer
> OSes. If there comes a time when everything just works, the line can be
> removed later. Let me know.
Tried that and it made no difference. This is in a 4.7.0 download. Should I
have re-run any of the autoconf etc tools after changing mh-darwin? Or is it
that the problem occurs during gcc/configure rather than in the compiler
bootstrap?