[Bug binutils/4110] Broken object file crashes nm
--- Additional Comments From nickc at redhat dot com 2007-03-22 12:23 --- Hi Sami, Hmm, This one did not break the nm and ld executables that I have here. Could you send me the valgrind/gdb outputs like before so I can take a stab at where the problem is happening ? Cheers Nick -- http://sourceware.org/bugzilla/show_bug.cgi?id=4110 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/4210] PE-COFF can't handle holes between sections
--- Additional Comments From nickc at redhat dot com 2007-03-22 14:40 --- Hi H.J. This patch is OK. Please apply. Cheers Nick -- What|Removed |Added Status|NEW |WAITING http://sourceware.org/bugzilla/show_bug.cgi?id=4210 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/4210] PE-COFF can't handle holes between sections
--- Additional Comments From hjl at lucon dot org 2007-03-22 15:53 --- Fixed by http://sourceware.org/ml/binutils/2007-03/msg00302.html -- What|Removed |Added Status|WAITING |RESOLVED Resolution||FIXED http://sourceware.org/bugzilla/show_bug.cgi?id=4210 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/4007] Linker failed to issue an error on bad section in segment
--- Additional Comments From hjl at lucon dot org 2007-03-22 15:54 --- Fixed by http://sourceware.org/ml/binutils/2007-03/msg00308.html -- http://sourceware.org/bugzilla/show_bug.cgi?id=4007 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/4266] New: hidden alias not found while linking gcj compiled Java class with native C++ lib and CNI binding under Linux x86
Hi folks, I've got a test Java class with a single native method. The native method lives in a C++ shared library and is implemented with gcj's CNI. The lib compiles fine and a Linux shared object file is created. The java class compiles fine into an object file, but when linking the executable the linker complains about undefined references to a hidden alias: de/dbt/simplelibclient/SimpleCPPLib.o:(.data.rel+0xc): undefined reference to `hidden alias for de::dbt::simplelibclient::SimpleCPPLib::square(int)' de/dbt/simplelibclient/SimpleCPPLib.o:(.data.rel+0x68): undefined reference to `hidden alias for de::dbt::simplelibclient::SimpleCPPLib::square(int)' When linking directly to the object file - SimpleCPPLib.o - the library consists of and not the library - libSimpleCPPLib.so - itself, an executable is created without errors. (Don't be confused about SimpleCPPLib.o. There are two of them. The Java class compiles to a SimpleCPPLib.o and the C++ class implementing the native method also compiles to a SimpleCPPLib.o.) I put all relevant files into a tar archive "simplecpplib_sample.tar.bz2" attached to this mailing list mail (is it possible to attach a file to a bugzilla report?): http://sources.redhat.com/ml/binutils/2007-03/msg00321.html I can reproduce problem - on an Athlon-XP system running openSUSE 10.2 - on a Pentium-Core2-Duo system running openSUSE 10.2 - on an Athlon-XP system running Kubuntu 6.1 products used - gcc/gcj 4.1.2 (on all systems) - binutils 2.17 (on all systems) - glibc 2.5 (on all systems) - Linux kernel 2.6.18.8 (on openSUSE Athlon-XP system) I also reproduced the problem (on the openSUSE Athlon-XP system) with - gcc/gcj 4.1.2 built from the current release sources (with and without --enable-bootstrap configure option) - gcc/gcj 4.2.0 from the snapshot sources of 2007/03/07 - binutils 2.17 built from the current release sources I also tested different compiler optimizations when building gcc/gcj and binutils - -O2 -march=athlon-xp -mmmx -m3dnow -msse -mfpmath=sse - -O2 -m486 - -O2 which seems to have no effect Thanks in advance. -- Summary: hidden alias not found while linking gcj compiled Java class with native C++ lib and CNI binding under Linux x86 Product: binutils Version: 2.17 Status: NEW Severity: normal Priority: P2 Component: ld AssignedTo: unassigned at sources dot redhat dot com ReportedBy: mail at andreas-buergel dot de CC: bug-binutils at gnu dot org GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://sourceware.org/bugzilla/show_bug.cgi?id=4266 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/4266] hidden alias not found while linking gcj compiled Java class with native C++ lib and CNI binding under Linux x86
--- Additional Comments From mail at andreas-buergel dot de 2007-03-22 22:15 --- Created an attachment (id=1643) --> (http://sourceware.org/bugzilla/attachment.cgi?id=1643&action=view) java/c++ source, object and lib files, output of build, output of "nm -C" -- http://sourceware.org/bugzilla/show_bug.cgi?id=4266 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gas/3811] gas failure for sh-elf on HEAD
--- Additional Comments From kkojima at rr dot iij4u dot or dot jp 2007-03-23 00:14 --- It turned out that this is an SH specific readelf problem. readelf loads the .eh_frame section and fixes the contents according to rela addends with debug_apply_rela_addends when the target uses RELA. Although SH uses RELA relocations, it doesn't use their addend fields and uses in place values. Then debug_apply_rela_addends wrongly clears some entries in FDE with null addends. I'm testing the attached patch. --- ORIG/src/binutils/readelf.c 2007-03-22 11:58:55.0 +0900 +++ LOCAL/src/binutils/readelf.c2007-03-23 08:07:03.0 +0900 @@ -7803,6 +7803,10 @@ debug_apply_rela_addends (void *file, if (!is_relocatable) return 1; + /* SH uses RELA but uses in place value instead of the addend field. */ + if (elf_header.e_machine == EM_SH) +return 0; + for (relsec = section_headers; relsec < section_headers + elf_header.e_shnum; ++relsec) -- What|Removed |Added CC||kkojima at rr dot iij4u dot ||or dot jp http://sourceware.org/bugzilla/show_bug.cgi?id=3811 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils