[Bug binutils/23199] Phobos static lib not build properly anymore after update to binutils 2.30 on NixOS
https://sourceware.org/bugzilla/show_bug.cgi?id=23199 Alan Modra changed: What|Removed |Added CC||amodra at gmail dot com --- Comment #2 from Alan Modra --- Created attachment 11026 --> https://sourceware.org/bugzilla/attachment.cgi?id=11026&action=edit faulty object file One of the object files from the library, object_1_257.o, which nm complains about with object_1_257.o: no group info for section '.text._D6object6Object5opCmpMFCQqZi' shows the following for the relevant group section group section [3] `.group' [_D6object6Object5opCmpMFCQqZi] contains 2 sections: [Index]Name [1] .group [ 22] .text._D6object6Object5opCmpMFCQqZi Also: group section [5] `.group' [_D6object6Object7factoryFAyaZCQv] contains 2 sections: [Index]Name readelf: Error: section [1] in group section [5] already in group section [3] [ 29] .text._D6object6Object7factoryFAyaZCQv This SHT_GROUP section points at another SHT_GROUP section? That's bad! -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/23194] Building glibc 2.27 on 32-bit Intel with binutils 2.30 segfaults in elf subdir
https://sourceware.org/bugzilla/show_bug.cgi?id=23194 --- Comment #2 from Andreas Baumann --- (In reply to H.J. Lu from comment #1) > Please try binutils-2_30-branch Same effect. Can I give you the value of some structures or so? -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/23199] Phobos static lib not build properly anymore after update to binutils 2.30 on NixOS
https://sourceware.org/bugzilla/show_bug.cgi?id=23199 Alan Modra changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed||2018-05-18 CC|amodra at gmail dot com| Assignee|unassigned at sourceware dot org |amodra at gmail dot com Ever confirmed|0 |1 -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/23199] Phobos static lib not build properly anymore after update to binutils 2.30 on NixOS
https://sourceware.org/bugzilla/show_bug.cgi?id=23199 --- Comment #3 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Alan Modra : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=4bba0fb1c6d391a217c25e44398a7e1c7090155f commit 4bba0fb1c6d391a217c25e44398a7e1c7090155f Author: Alan Modra Date: Fri May 18 17:09:45 2018 +0930 PR23199, Invalid SHT_GROUP entry leads to group confusion This patch prevents elf_next_in_group list pointer confusion when SHT_GROUP sections specify other SHT_GROUP sections in their list of group sections. PR 23199 * elf.c (setup_group): Formatting. Check that SHT_GROUP entries don't point at other SHT_GROUP sections. Set shdr corresponding to invalid entry, to NULL rather than section 0. Identify SHT_GROUP section index when reporting an error. Cope with NULL shdr pointer. -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/23199] Phobos static lib not build properly anymore after update to binutils 2.30 on NixOS
https://sourceware.org/bugzilla/show_bug.cgi?id=23199 --- Comment #4 from Alan Modra --- The patch I've just committed improves the handling of these bad object files. The question remains as to how they were created. Please identify the binutils version used to create object_1_257.o. -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/23195] [AArch64] ld-aarch64/ifunc-9 failing
https://sourceware.org/bugzilla/show_bug.cgi?id=23195 --- Comment #2 from Sudakshina Das --- Thanks! -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/23107] 'ar t' doesn't display object file offsets
https://sourceware.org/bugzilla/show_bug.cgi?id=23107 --- Comment #2 from ant.bikineev at gmail dot com --- Hi Nick! > Would you care to update your patch to do this ? Sure, I've just updated the changes in accordance with your notes. Thanks for them. -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/23107] 'ar t' doesn't display object file offsets
https://sourceware.org/bugzilla/show_bug.cgi?id=23107 ant.bikineev at gmail dot com changed: What|Removed |Added Attachment #10972|0 |1 is obsolete|| CC||ant.bikineev at gmail dot com --- Comment #3 from ant.bikineev at gmail dot com --- Created attachment 11027 --> https://sourceware.org/bugzilla/attachment.cgi?id=11027&action=edit The newer patch -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/23194] Building glibc 2.27 on 32-bit Intel with binutils 2.30 segfaults in elf subdir
https://sourceware.org/bugzilla/show_bug.cgi?id=23194 --- Comment #3 from H.J. Lu --- (In reply to Andreas Baumann from comment #2) > (In reply to H.J. Lu from comment #1) > > Please try binutils-2_30-branch > > Same effect. Please try https://sourceware.org/ml/binutils/2018-05/msg00182.html -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/23194] Building glibc 2.27 on 32-bit Intel with binutils 2.30 segfaults in elf subdir
https://sourceware.org/bugzilla/show_bug.cgi?id=23194 --- Comment #4 from Andreas Baumann --- (In reply to H.J. Lu from comment #3) > (In reply to Andreas Baumann from comment #2) > > (In reply to H.J. Lu from comment #1) > > > Please try binutils-2_30-branch > > > > Same effect. > > Please try > > https://sourceware.org/ml/binutils/2018-05/msg00182.html Patched the binutils-2_30-branch with the patch described. Same effect. -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/23194] Building glibc 2.27 on 32-bit Intel with binutils 2.30 segfaults in elf subdir
https://sourceware.org/bugzilla/show_bug.cgi?id=23194 --- Comment #5 from H.J. Lu --- I can build glibc 2.27 on i686. Please provide ALL linker inputs so that I can reproduce it. -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/23201] New: Unnecessary dynamic relocations for HIDDEN/PROVIDE_HIDDEN symbols
https://sourceware.org/bugzilla/show_bug.cgi?id=23201 Bug ID: 23201 Summary: Unnecessary dynamic relocations for HIDDEN/PROVIDE_HIDDEN symbols Product: binutils Version: 2.31 (HEAD) Status: NEW Severity: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: hjl.tools at gmail dot com Target Milestone: --- [hjl@gnu-cfl-1 hidden-6]$ cat x.t EXTERN(_start) ENTRY(_start) SECTIONS { .text : { HIDDEN (__hidden_sym = .); *(.text*) } } [hjl@gnu-cfl-1 hidden-6]$ cat x.c extern int __hidden_sym; int *foo(void) { return &__hidden_sym; } [hjl@gnu-cfl-1 hidden-6]$ make LD=ld gcc -B./ -O2 -g -fpic -c -o x.o x.c ld -shared -o libx.so x.o -Tx.t readelf -r libx.so Relocation section '.rela.dyn' at offset 0x10b0 contains 1 entry: Offset Info Type Sym. ValueSym. Name + Addend 01b8 0008 R_X86_64_RELATIVE0 [hjl@gnu-cfl-1 hidden-6]$ We should get [hjl@gnu-cfl-1 hidden-6]$ readelf -r libx.so There are no relocations in this file. [hjl@gnu-cfl-1 hidden-6]$ -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/23189] bad symbol index: ffffffff
https://sourceware.org/bugzilla/show_bug.cgi?id=23189 --- Comment #5 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by H.J. Lu : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=011b32fd4270fb7111ee1f63695ccd44562ee7df commit 011b32fd4270fb7111ee1f63695ccd44562ee7df Author: H.J. Lu Date: Fri May 18 06:43:19 2018 -0700 x86: Don't set eh->local_ref to 1 for linker defined symbols Since symbols created by HIDDEN and PROVIDE_HIDDEN assignments in linker script may be marked as defined, but not hidden, we can't set eh->local_ref to 1 in _bfd_x86_elf_link_symbol_references_local. Also R_386_GOT32X should be handled as just like R_386_GOT32 when relocating a section. The input R_386_GOT32X relocations, which can be relaxed, should have been converted to R_386_PC32, R_386_32 or R_386_GOTOFF. bfd/ PR ld/23189 * elf32-i386.c (elf_i386_relocate_section): Handle R_386_GOT32X like R_386_GOT32. * elfxx-x86.c (_bfd_x86_elf_link_symbol_references_local): Don't set eh->local_ref to 1 for linker defined symbols. ld/ PR ld/23189 * testsuite/ld-i386/i386.exp: Run pr23189. * testsuite/ld-x86-64/x86-64.exp: Likewise. * testsuite/ld-i386/pr23189.d: New file. * testsuite/ld-i386/pr23189.s: Likewise. * testsuite/ld-i386/pr23189.t: Likewise. * testsuite/ld-x86-64/pr23189.d: Likewise. * testsuite/ld-x86-64/pr23189.s: Likewise. * testsuite/ld-x86-64/pr23189.t: Likewise. -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/23199] Phobos static lib not build properly anymore after update to binutils 2.30 on NixOS
https://sourceware.org/bugzilla/show_bug.cgi?id=23199 --- Comment #5 from Thomas Mader --- The dmd compiler doesn't seem to be using any binutils except for linking. https://forum.dlang.org/post/lvxvkopqssytuxzzc...@forum.dlang.org So it's still a question as to why the problem occurs only with 2.30 and not with 2.28. -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/23194] Building glibc 2.27 on 32-bit Intel with binutils 2.30 segfaults in elf subdir
https://sourceware.org/bugzilla/show_bug.cgi?id=23194 --- Comment #6 from Andreas Baumann --- (In reply to H.J. Lu from comment #5) > I can build glibc 2.27 on i686. Please provide ALL linker inputs > so that I can reproduce it. Hope this helps: gcc -nostdlib -nostartfiles -shared -o /root/glibc/src/glibc-build/elf/ld.so.new \ -Wl,-z,combreloc -Wl,-z,relro -Wl,--hash-style=both -Wl,-z,defs -Wl,-z,now \ /root/glibc/src/glibc-build/elf/librtld.os -Wl,--version-script=/root/glibc/src/glibc-build/ld.map \ -Wl,-soname=ld-linux.so.2 \ -Wl,-defsym=_begin=0 segfaults, but ommiting '-shared' works: gcc -nostdlib -nostartfiles -o /root/glibc/src/glibc-build/elf/ld.so.new \ -Wl,-z,combreloc -Wl,-z,relro -Wl,--hash-style=both -Wl,-z,defs -Wl,-z,now \ /root/glibc/src/glibc-build/elf/librtld.os -Wl,--version-script=/root/glibc/src/glibc-build/ld.map \ -Wl,-soname=ld-linux.so.2 \ -Wl,-defsym=_begin=0 -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/23194] Building glibc 2.27 on 32-bit Intel with binutils 2.30 segfaults in elf subdir
https://sourceware.org/bugzilla/show_bug.cgi?id=23194 --- Comment #7 from H.J. Lu --- (In reply to Andreas Baumann from comment #6) > (In reply to H.J. Lu from comment #5) > > I can build glibc 2.27 on i686. Please provide ALL linker inputs > > so that I can reproduce it. > > Hope this helps: > > gcc -nostdlib -nostartfiles -shared -o > /root/glibc/src/glibc-build/elf/ld.so.new \ > -Wl,-z,combreloc -Wl,-z,relro -Wl,--hash-style=both -Wl,-z,defs > -Wl,-z,now \ > /root/glibc/src/glibc-build/elf/librtld.os > -Wl,--version-script=/root/glibc/src/glibc-build/ld.map \ > -Wl,-soname=ld-linux.so.2 \ > -Wl,-defsym=_begin=0 > > segfaults, but ommiting '-shared' works: > > gcc -nostdlib -nostartfiles -o /root/glibc/src/glibc-build/elf/ld.so.new > \ > -Wl,-z,combreloc -Wl,-z,relro -Wl,--hash-style=both -Wl,-z,defs > -Wl,-z,now \ > /root/glibc/src/glibc-build/elf/librtld.os > -Wl,--version-script=/root/glibc/src/glibc-build/ld.map \ > -Wl,-soname=ld-linux.so.2 \ > -Wl,-defsym=_begin=0 It doesn't help at all. Please add -v to gcc and show me the output of # gcc -v -nostdlib -nostartfiles -shared -o /root/glibc/src/glibc-build/elf/ld.so.new \ -Wl,-z,combreloc -Wl,-z,relro -Wl,--hash-style=both -Wl,-z,defs -Wl,-z,now \ /root/glibc/src/glibc-build/elf/librtld.os -Wl,--version-script=/root/glibc/src/glibc-build/ld.map \ -Wl,-soname=ld-linux.so.2 \ -Wl,-defsym=_begin=0 -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/23194] Building glibc 2.27 on 32-bit Intel with binutils 2.30 segfaults in elf subdir
https://sourceware.org/bugzilla/show_bug.cgi?id=23194 --- Comment #8 from Andreas Baumann --- (In reply to H.J. Lu from comment #7) > (In reply to Andreas Baumann from comment #6) > > (In reply to H.J. Lu from comment #5) > > > I can build glibc 2.27 on i686. Please provide ALL linker inputs > > > so that I can reproduce it. > > > > Hope this helps: > > > > gcc -nostdlib -nostartfiles -shared -o > > /root/glibc/src/glibc-build/elf/ld.so.new \ > > -Wl,-z,combreloc -Wl,-z,relro -Wl,--hash-style=both -Wl,-z,defs > > -Wl,-z,now \ > > /root/glibc/src/glibc-build/elf/librtld.os > > -Wl,--version-script=/root/glibc/src/glibc-build/ld.map \ > > -Wl,-soname=ld-linux.so.2 \ > > -Wl,-defsym=_begin=0 > > > > segfaults, but ommiting '-shared' works: > > > > gcc -nostdlib -nostartfiles -o /root/glibc/src/glibc-build/elf/ld.so.new > > \ > > -Wl,-z,combreloc -Wl,-z,relro -Wl,--hash-style=both -Wl,-z,defs > > -Wl,-z,now \ > > /root/glibc/src/glibc-build/elf/librtld.os > > -Wl,--version-script=/root/glibc/src/glibc-build/ld.map \ > > -Wl,-soname=ld-linux.so.2 \ > > -Wl,-defsym=_begin=0 > > It doesn't help at all. Please add -v to gcc and show me the output of > > # gcc -v -nostdlib -nostartfiles -shared -o > /root/glibc/src/glibc-build/elf/ld.so.new \ > -Wl,-z,combreloc -Wl,-z,relro -Wl,--hash-style=both -Wl,-z,defs > -Wl,-z,now \ > /root/glibc/src/glibc-build/elf/librtld.os > -Wl,--version-script=/root/glibc/src/glibc-build/ld.map \ > -Wl,-soname=ld-linux.so.2 \ > -Wl,-defsym=_begin=0 Sorry about that. COMPILER_PATH=/usr/lib/gcc/i686-pc-linux-gnu/8.1.0/:/usr/lib/gcc/i686-pc-linux-gnu/8.1.0/:/usr/lib/gcc/i686-pc-linux-gnu/:/usr/lib/gcc/i686-pc-linux-gnu/8.1.0/:/usr/lib/gcc/i686-pc-linux-gnu/ LIBRARY_PATH=/usr/lib/gcc/i686-pc-linux-gnu/8.1.0/:/usr/lib/gcc/i686-pc-linux-gnu/8.1.0/../../../:/lib/:/usr/lib/ COLLECT_GCC_OPTIONS='-v' '-nostdlib' '-nostartfiles' '-shared' '-o' '/root/glibc/src/glibc-build/elf/ld.so.new' '-mtune=generic' '-march=pentiumpro' /usr/lib/gcc/i686-pc-linux-gnu/8.1.0/collect2 -plugin /usr/lib/gcc/i686-pc-linux-gnu/8.1.0/liblto_plugin.so -plugin-opt=/usr/lib/gcc/i686-pc-linux-gnu/8.1.0/lto-wrapper -plugin-opt=-fresolution=/tmp/ccDugu2E.res --build-id --eh-frame-hdr --hash-style=gnu -m elf_i386 -shared -o /root/glibc/src/glibc-build/elf/ld.so.new -L/usr/lib/gcc/i686-pc-linux-gnu/8.1.0 -L/usr/lib/gcc/i686-pc-linux-gnu/8.1.0/../../.. -z combreloc -z relro --hash-style=both -z defs -z now /root/glibc/src/glibc-build/elf/librtld.os --version-script=/root/glibc/src/glibc-build/ld.map -soname=ld-linux.so.2 -defsym=_begin=0 collect2: fatal error: ld terminated with signal 11 [Segmentation fault], core dumped compilation terminated. -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/23194] Building glibc 2.27 on 32-bit Intel with binutils 2.30 segfaults in elf subdir
https://sourceware.org/bugzilla/show_bug.cgi?id=23194 --- Comment #9 from H.J. Lu --- (In reply to Andreas Baumann from comment #8) > COMPILER_PATH=/usr/lib/gcc/i686-pc-linux-gnu/8.1.0/:/usr/lib/gcc/i686-pc- > linux-gnu/8.1.0/:/usr/lib/gcc/i686-pc-linux-gnu/:/usr/lib/gcc/i686-pc-linux- > gnu/8.1.0/:/usr/lib/gcc/i686-pc-linux-gnu/ > LIBRARY_PATH=/usr/lib/gcc/i686-pc-linux-gnu/8.1.0/:/usr/lib/gcc/i686-pc- > linux-gnu/8.1.0/../../../:/lib/:/usr/lib/ > COLLECT_GCC_OPTIONS='-v' '-nostdlib' '-nostartfiles' '-shared' '-o' > '/root/glibc/src/glibc-build/elf/ld.so.new' '-mtune=generic' > '-march=pentiumpro' > /usr/lib/gcc/i686-pc-linux-gnu/8.1.0/collect2 -plugin > /usr/lib/gcc/i686-pc-linux-gnu/8.1.0/liblto_plugin.so > -plugin-opt=/usr/lib/gcc/i686-pc-linux-gnu/8.1.0/lto-wrapper > -plugin-opt=-fresolution=/tmp/ccDugu2E.res --build-id --eh-frame-hdr > --hash-style=gnu -m elf_i386 -shared -o > /root/glibc/src/glibc-build/elf/ld.so.new > -L/usr/lib/gcc/i686-pc-linux-gnu/8.1.0 > -L/usr/lib/gcc/i686-pc-linux-gnu/8.1.0/../../.. -z combreloc -z relro > --hash-style=both -z defs -z now /root/glibc/src/glibc-build/elf/librtld.os > --version-script=/root/glibc/src/glibc-build/ld.map -soname=ld-linux.so.2 > -defsym=_begin=0 > collect2: fatal error: ld terminated with signal 11 [Segmentation fault], > core dumped > compilation terminated. Please send me /root/glibc/src/glibc-build/ld.map and /root/glibc/src/glibc-build/elf/librtld.os. -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/23194] Building glibc 2.27 on 32-bit Intel with binutils 2.30 segfaults in elf subdir
https://sourceware.org/bugzilla/show_bug.cgi?id=23194 --- Comment #10 from Andreas Baumann --- Created attachment 11029 --> https://sourceware.org/bugzilla/attachment.cgi?id=11029&action=edit ld.map -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/23194] Building glibc 2.27 on 32-bit Intel with binutils 2.30 segfaults in elf subdir
https://sourceware.org/bugzilla/show_bug.cgi?id=23194 --- Comment #11 from Andreas Baumann --- Created attachment 11030 --> https://sourceware.org/bugzilla/attachment.cgi?id=11030&action=edit librtld.os -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/23194] Building glibc 2.27 on 32-bit Intel with binutils 2.30 segfaults in elf subdir
https://sourceware.org/bugzilla/show_bug.cgi?id=23194 H.J. Lu changed: What|Removed |Added Status|WAITING |NEW Assignee|unassigned at sourceware dot org |hjl.tools at gmail dot com -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/23194] Building glibc 2.27 on 32-bit Intel with binutils 2.30 segfaults in elf subdir
https://sourceware.org/bugzilla/show_bug.cgi?id=23194 H.J. Lu changed: What|Removed |Added Target|i686-pc-linux-gnu |x86_64-*-*, i?86-*-* Host|i686-pc-linux-gnu | Build|i686-pc-linux-gnu | --- Comment #12 from H.J. Lu --- [hjl@gnu-cfl-1 pr23194]$ cat x.c void foo (void) { } asm (".symver foo,foo@FOO"); void bar (void) { foo (); } [hjl@gnu-cfl-1 pr23194]$ cat x.map FOO { global: bar; local: *; }; [hjl@gnu-cfl-1 pr23194]$ make gcc -B./ -O2 -fno-plt -fpic -c -o x.o x.c ./ld -shared -o ld.so x.o --version-script=x.map make: *** [Makefile:34: ld.so] Segmentation fault make: *** Deleting file 'ld.so' [hjl@gnu-cfl-1 pr23194]$ The problem is bfd_find_version_for_sym doesn't match _bfd_elf_link_assign_sym_version. -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/23194] Building glibc 2.27 on 32-bit Intel with binutils 2.30 segfaults in elf subdir
https://sourceware.org/bugzilla/show_bug.cgi?id=23194 --- Comment #13 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by H.J. Lu : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=97373b2eba6077d5059370a95931b93a8b118813 commit 97373b2eba6077d5059370a95931b93a8b118813 Author: H.J. Lu Date: Fri May 18 14:23:41 2018 -0700 x86: Don't set eh->local_ref to 1 for versioned symbol bfd_hide_sym_by_version can't be used to check if a versioned symbol is hidden. It has to be synced with _bfd_elf_link_assign_sym_version to get the correct answer. bfd/ PR ld/23194 * elfxx-x86.c (_bfd_x86_elf_link_symbol_references_local): Don't set eh->local_ref to 1 if a symbol is versioned and there is a version script. ld/ PR ld/23194 * testsuite/ld-i386/i386.exp: Run pr23194. * testsuite/ld-x86-64/x86-64.exp: Likewise. * testsuite/ld-i386/pr23194.d: New file. * testsuite/ld-i386/pr23194.map: Likewise. * testsuite/ld-i386/pr23194.s: Likewise. * testsuite/ld-x86-64/pr23194.d: Likewise. * testsuite/ld-x86-64/pr23194.map: Likewise. * testsuite/ld-x86-64/pr23194.s: Likewise. -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/23199] Phobos static lib not build properly anymore after update to binutils 2.30 on NixOS
https://sourceware.org/bugzilla/show_bug.cgi?id=23199 Alan Modra changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--- |FIXED --- Comment #6 from Alan Modra --- OK, so not a binutils bug causing these bad SHT_GROUP section entries. The same nm error is reported for all binutils I tried back to 2.25 (at which point I stopped looking). It is possible that your 2.28 binutils had some distro patches that made BFD behave better with these bad object files, but my binutils-2_28-branch version does not. -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/23199] Phobos static lib not build properly anymore after update to binutils 2.30 on NixOS
https://sourceware.org/bugzilla/show_bug.cgi?id=23199 --- Comment #7 from cvs-commit at gcc dot gnu.org --- The binutils-2_30-branch branch has been updated by Alan Modra : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=e3d435293f0dd45247e8057574389f322f5fe5a2 commit e3d435293f0dd45247e8057574389f322f5fe5a2 Author: Alan Modra Date: Fri May 18 17:09:45 2018 +0930 PR23199, Invalid SHT_GROUP entry leads to group confusion This patch prevents elf_next_in_group list pointer confusion when SHT_GROUP sections specify other SHT_GROUP sections in their list of group sections. PR 23199 * elf.c (setup_group): Formatting. Check that SHT_GROUP entries don't point at other SHT_GROUP sections. Set shdr corresponding to invalid entry, to NULL rather than section 0. Identify SHT_GROUP section index when reporting an error. Cope with NULL shdr pointer. (cherry picked from commit 4bba0fb1c6d391a217c25e44398a7e1c7090155f) -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils