This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/50279] [4.7 Regression] ICE while building the go front-end with LTO enabled
- From: "howarth at nitro dot med.uc.edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 10 Oct 2011 18:03:47 +0000
- Subject: [Bug debug/50279] [4.7 Regression] ICE while building the go front-end with LTO enabled
- Auto-submitted: auto-generated
- References: <bug-50279-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50279
--- Comment #8 from Jack Howarth <howarth at nitro dot med.uc.edu> 2011-10-10 18:03:47 UTC ---
(In reply to comment #7)
> I've attached a reduced testcase that reproduces the ICE with the commandline
> g++ -nostdlib -flto -g test.i
This test case doesn't trigger the ICE on x86_64-apple-darwin11...
howarth% g++-fsf-4.7 -nostdlib -flto -g -c test.ii
howarth%
Note on darwin '-c' is required, else the test case fails with...
howarth% g++-fsf-4.7 -nostdlib -flto -g test.ii
ld: warning: symbol dyld_stub_binder not found, normally in libSystem.dylib
ld: entry point (start) undefined. Usually in crt1.o for architecture x86_64
collect2: error: ld returned 1 exit status