bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/3191] Linker doesn't support DWARF3 DW_FORM_ref_addr


From: pluto at agmk dot net
Subject: [Bug ld/3191] Linker doesn't support DWARF3 DW_FORM_ref_addr
Date: 20 Sep 2006 09:24:51 -0000

------- Additional Comments From pluto at agmk dot net  2006-09-20 09:24 -------
(In reply to comment #11)
> (In reply to comment #8)
> > It looks like a gcc bug. See
> > 
> > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29146
> 
> No it does not.
> What version of GCC did you produce this object file?

with gcc 4.1.2-20060817 (without patch from #7) i get:

$ g++ -O2 -fno-strict-aliasing -fwrapv -march=x86-64 \
      -gdwarf-2 -g2 -feliminate-dwarf2-dups client-gcc41.ii -c
$ g++ -o /dev/null client-gcc41.o
(...)
/usr/bin/ld: Dwarf Error: DW_FORM_strp offset (660090) greater than or equal 
to .debug_str size (27111).
/usr/bin/ld: Dwarf Error: DW_FORM_strp offset (660090) greater than or equal 
to .debug_str size (27111).
(...)

with gcc 4.1.2-20060817 (with patch from #7) it works fine.
with gcc-4.2 (without patch from #7) it works fine.
with gcc-4.2 (with patch from #7) not tested (probably works too).

> And how did you build GCC while you are at that?

$ gcc -v
Reading specs from /usr/lib64/gcc/x86_64-pld-linux/4.1.2/specs
Target: x86_64-pld-linux
Configured 
with: ../configure --prefix=/usr --with-local-prefix=/usr/local 
--libdir=/usr/lib64 --libexecdir=/usr/lib64 --infodir=/usr/share/info 
--mandir=/usr/share/man --x-libraries=/usr/lib64 --enable-shared 
--enable-threads=posix --enable-languages=c,c++,fortran,objc,obj-c++,ada,java 
--enable-c99 --enable-long-long --enable-multilib --enable-nls --disable-werror 
--with-gnu-as --with-gnu-ld --with-demangler-in-ld --with-system-zlib 
--with-slibdir=/lib64 --without-system-libunwind --enable-cmath 
--with-long-double-128 --with-gxx-include-dir=/usr/include/c++/4.1.2 
--disable-libstdcxx-pch --enable-__cxa_atexit --enable-libstdcxx-allocator=new 
--with-qt4dir=/usr/lib64/qt4 --disable-libjava-multilib --enable-libgcj 
--enable-libgcj-multifile --enable-libgcj-database --enable-gtk-cairo 
--enable-java-awt=qt,gtk,xlib --enable-jni --enable-xmlj --enable-alsa 
--enable-dssi 
x86_64-pld-linux
Thread model: posix
gcc version 4.1.2 20060817 (prerelease) (PLD-Linux)


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=3191

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]