This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Your change may have broken linkonce support


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.

Attachment: bug.tar.gz
Description: GNU Zip compressed data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]