This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/41565] -m32 causes an ICE when the object files were compiled with 64bit
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Oct 2009 09:49:13 -0000
- Subject: [Bug lto/41565] -m32 causes an ICE when the object files were compiled with 64bit
- References: <bug-41565-6528@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from rguenth at gcc dot gnu dot org 2009-10-05 09:49 -------
There is one common problem with handling of target options - we do not
properly adjust the flag_var.
But - I cannot reproduce the original problem. Care to attach a testcase?
I always get linker complaints like
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: i386
architecture of input file `t.o' is incompatible with i386:x86-64 output
collect2: ld returned 1 exit status
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41565