[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/6931] New: COMDAT group is broken
From: |
hjl dot tools at gmail dot com |
Subject: |
[Bug ld/6931] New: COMDAT group is broken |
Date: |
1 Oct 2008 19:17:38 -0000 |
This patch:
http://sourceware.org/ml/binutils/2008-09/msg00214.html
may have caused:
address@hidden tmp]$ cat foo.c
extern int foo;
int *
foo1 ()
{
return &foo;
}
address@hidden tmp]$ cat bar.c
extern int bar;
int *
bar1 ()
{
return &bar;
}
address@hidden tmp]$ gcc -fPIC -c bar.c foo.c
address@hidden tmp]$ ld -r -o libbar.o bar.o
address@hidden tmp]$ ld -shared libbar.o foo.o
foo.o: In function `__i686.get_pc_thunk.cx':
foo.c:(.text.__i686.get_pc_thunk.cx[__i686.get_pc_thunk.cx]+0x0): multiple
definition of `__i686.get_pc_thunk.cx'
libbar.o:(.text.__i686.get_pc_thunk.cx[.group]+0x0): first defined here
address@hidden tmp]$
--
Summary: COMDAT group is broken
Product: binutils
Version: 2.20 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: ld
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: hjl dot tools at gmail dot com
CC: amodra at bigpond dot net dot au,bug-binutils at gnu dot
org
http://sourceware.org/bugzilla/show_bug.cgi?id=6931
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
- [Bug ld/6931] New: COMDAT group is broken,
hjl dot tools at gmail dot com <=
- [Bug ld/6931] COMDAT group is broken, hjl dot tools at gmail dot com, 2008/10/01
- [Bug ld/6931] COMDAT group is broken, hjl dot tools at gmail dot com, 2008/10/01
- [Bug ld/6931] COMDAT group is broken, hjl dot tools at gmail dot com, 2008/10/01
- [Bug ld/6931] COMDAT group is broken, amodra at bigpond dot net dot au, 2008/10/02
- [Bug ld/6931] COMDAT group is broken, amodra at bigpond dot net dot au, 2008/10/02
- [Bug ld/6931] COMDAT group is broken, amodra at bigpond dot net dot au, 2008/10/03
- [Bug ld/6931] COMDAT group is broken, hjl dot tools at gmail dot com, 2008/10/03
- [Bug ld/6931] COMDAT group is broken, amodra at bigpond dot net dot au, 2008/10/04