public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/49392] New: [arm] spurious EABI version mismatches when LTO enabled
@ 2011-06-13 14:34 philb at gnu dot org
2011-06-14 11:32 ` [Bug target/49392] " ramana at gcc dot gnu.org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: philb at gnu dot org @ 2011-06-13 14:34 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49392
Summary: [arm] spurious EABI version mismatches when LTO
enabled
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: philb@gnu.org
Target: arm-linux
Attempting to build even a trivial executable with -flto yields:
pb@lander:~$ cat t.c
#include <stdio.h>
int main() { printf("Hello world"); }
pb@lander:~$ arm-oe-linux-gnueabi-gcc -flto t.c
/home/pb/oe/build-giga/tmp-eglibc/sysroots/x86_64-linux/libexec/armv6-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.6.0/arm-oe-linux-gnueabi-ld:
error: Source object /tmp/cc60ozAJ.o.ironly\x04 has EABI version 0, but target
a.out has EABI version 5
/home/pb/oe/build-giga/tmp-eglibc/sysroots/x86_64-linux/libexec/armv6-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.6.0/arm-oe-linux-gnueabi-ld:
failed to merge target specific data of file /tmp/cc60ozAJ.o.ironly\x04
collect2: ld returned 1 exit status
pb@lander:~$
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/49392] [arm] spurious EABI version mismatches when LTO enabled
2011-06-13 14:34 [Bug target/49392] New: [arm] spurious EABI version mismatches when LTO enabled philb at gnu dot org
@ 2011-06-14 11:32 ` ramana at gcc dot gnu.org
2011-06-14 12:41 ` rguenth at gcc dot gnu.org
2011-06-15 14:58 ` philb at gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: ramana at gcc dot gnu.org @ 2011-06-14 11:32 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49392
--- Comment #1 from Ramana Radhakrishnan <ramana at gcc dot gnu.org> 2011-06-14 11:31:55 UTC ---
It looks like a linker error but ...
Hmmm with a later version of gcc 4.6 branch that I have lying around the same
example doesn't spew out such error messages. I don't have a 4.6.0 build handy
to try this.
I seem to be running binutils 2.21.51.20110525 FTR.
cheers
Ramana
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/49392] [arm] spurious EABI version mismatches when LTO enabled
2011-06-13 14:34 [Bug target/49392] New: [arm] spurious EABI version mismatches when LTO enabled philb at gnu dot org
2011-06-14 11:32 ` [Bug target/49392] " ramana at gcc dot gnu.org
@ 2011-06-14 12:41 ` rguenth at gcc dot gnu.org
2011-06-15 14:58 ` philb at gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-06-14 12:41 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49392
--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-06-14 12:40:03 UTC ---
There wasn't any change on the branch that would change this.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/49392] [arm] spurious EABI version mismatches when LTO enabled
2011-06-13 14:34 [Bug target/49392] New: [arm] spurious EABI version mismatches when LTO enabled philb at gnu dot org
2011-06-14 11:32 ` [Bug target/49392] " ramana at gcc dot gnu.org
2011-06-14 12:41 ` rguenth at gcc dot gnu.org
@ 2011-06-15 14:58 ` philb at gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: philb at gnu dot org @ 2011-06-15 14:58 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49392
philb at gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
--- Comment #3 from philb at gnu dot org 2011-06-15 14:57:32 UTC ---
I just tried a different linker and that does seem to have made the problem go
away. So I guess there is no gcc bug here. Thanks.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-06-15 14:58 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-13 14:34 [Bug target/49392] New: [arm] spurious EABI version mismatches when LTO enabled philb at gnu dot org
2011-06-14 11:32 ` [Bug target/49392] " ramana at gcc dot gnu.org
2011-06-14 12:41 ` rguenth at gcc dot gnu.org
2011-06-15 14:58 ` philb at gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).