Your change may have broken linkonce support

H. J. Lu hjl@lucon.org
Thu Jun 12 22:54:00 GMT 2003


On Thu, Jun 12, 2003 at 01:01:27PM -0700, H. J. Lu wrote:
> Alan,
> 
> I believe your change mentioned in
> 
> http://sources.redhat.com/ml/binutils/2001-09/msg00499.html
> 
> breaks linkonce support with debug:
> 
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7671
> 
> Can you look into it?
> 

Here is a testcase:

# make
...
gdb test > gdb.log
 
 
dlopen failed on 'libthread_db.so.1' - /lib/tls/libthread_db.so.1: undefined
symbol: ps_get_thread_area
GDB will not be able to debug pthreads.
 
bp2=`grep -i Breakpoint gdb.log | grep test01a.h | grep "line 4"` || exit 1; \
echo $bp2 | grep 0x0:; \
if [ $? = 0 ]; then exit 1; else true; fi
Breakpoint 2 at 0x0: file test01a.h, line 4.
make: *** [all] Error 1


H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug.tar.gz
Type: application/x-gzip
Size: 725 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20030612/bb77e590/attachment.bin>


More information about the Binutils mailing list