[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/3290] "ld -s" leaves absolute symbol in DSO
From: |
hjl at lucon dot org |
Subject: |
[Bug ld/3290] "ld -s" leaves absolute symbol in DSO |
Date: |
29 Sep 2006 21:58:52 -0000 |
------- Additional Comments From hjl at lucon dot org 2006-09-29 21:58 -------
Created an attachment (id=1338)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=1338&action=view)
A testcase
address@hidden dwarf-7]$ make
gcc -g -feliminate-dwarf2-dups -c -o a.o a.c
gcc -g -feliminate-dwarf2-dups -fPIC -c -o c.o c.c
gcc -s -shared -o libc.so c.o
readelf -s libc.so | grep DW
19: 0000000000000019 0 NOTYPE GLOBAL DEFAULT ABS DW.z.h.f1c9b137.0
gcc -o a libc.so a.o
a.o: In function `main':
/export/home/hjl/bugs/binutils/dwarf-7/a.c:9: multiple definition of
`DW.z.h.f1c9b137.0'
collect2: ld returned 1 exit status
make: *** [a] Error 1
address@hidden dwarf-7]$
--
http://sourceware.org/bugzilla/show_bug.cgi?id=3290
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
- [Bug ld/3290] New: "ld -s" leaves absolute symbol in DSO, hjl at lucon dot org, 2006/09/29
- [Bug ld/3290] "ld -s" leaves absolute symbol in DSO,
hjl at lucon dot org <=
- [Bug ld/3290] "ld -s" leaves absolute symbol in DSO, pluto at agmk dot net, 2006/09/29
- [Bug ld/3290] "ld -s" leaves absolute symbol in DSO, hjl at lucon dot org, 2006/09/29
- [Bug ld/3290] "ld -s" leaves absolute symbol in DSO, hjl at lucon dot org, 2006/09/29
- [Bug ld/3290] "ld -s" leaves absolute symbol in DSO, hjl at lucon dot org, 2006/09/29
- [Bug ld/3290] "ld -s" leaves absolute symbol in DSO, hjl at lucon dot org, 2006/09/29