[Bug ld/21884] [2.29/2.30 Regression] ld segfaulting building memtest86
https://sourceware.org/bugzilla/show_bug.cgi?id=21884 --- Comment #20 from Matthias Klose --- hmm, I still can reproduce this with a plain build from the 2.29 branch. -- 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/21884] [2.29/2.30 Regression] ld segfaulting building memtest86
https://sourceware.org/bugzilla/show_bug.cgi?id=21884 --- Comment #18 from Matthias Klose --- Created attachment 10315 --> https://sourceware.org/bugzilla/attachment.cgi?id=10315&action=edit complete 2nd test case -- 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/21903] --no-define-common causes internal error in elf_link_convert_common_type
https://sourceware.org/bugzilla/show_bug.cgi?id=21903 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed||2017-08-04 CC||hjl.tools at gmail dot com Ever confirmed|0 |1 --- Comment #1 from H.J. Lu --- There is no testcase for --no-define-common. Linker manual says: '--no-define-common' This option inhibits the assignment of addresses to common symbols. The script command 'INHIBIT_COMMON_ALLOCATION' has the same effect. *Note Miscellaneous Commands::. The '--no-define-common' option allows decoupling the decision to assign addresses to Common symbols from the choice of the output file type; otherwise a non-Relocatable output type forces assigning addresses to Common symbols. Using '--no-define-common' allows Common symbols that are referenced from a shared library to be assigned addresses only in the main program. This eliminates the unused duplicate space in the shared library, and also prevents any possible confusion over resolving to the wrong duplicate when there are many dynamic modules with specialized search paths for runtime symbol resolution. It is unclear if common symbol should be treated as undefined in this case. Also is this option only allowed for building shared library? -- 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/21884] [2.29/2.30 Regression] ld segfaulting building memtest86
https://sourceware.org/bugzilla/show_bug.cgi?id=21884 --- Comment #21 from H.J. Lu --- (In reply to Matthias Klose from comment #20) > hmm, I still can reproduce this with a plain build from the 2.29 branch. Please try master branch and download the testcase from Bugzilla to reproduce it. BTW, I configured binutils on x86-64 with --enable-plugins --with-sysroot=/ --with-system-zlib --disable-gdb --dis able-libdecnumber --disable-readline --disable-sim \ --prefix=/usr/local \ --with-local-prefix=/usr/local -- 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/21904] New: There is no testcase for -d
https://sourceware.org/bugzilla/show_bug.cgi?id=21904 Bug ID: 21904 Summary: There is no testcase for -d Product: binutils Version: 2.30 (HEAD) Status: NEW Severity: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: hjl.tools at gmail dot com Target Milestone: --- There is no testcase: '-d' '-dc' '-dp' These three options are equivalent; multiple forms are supported for compatibility with other linkers. They assign space to common symbols even if a relocatable output file is specified (with '-r'). The script command 'FORCE_COMMON_ALLOCATION' has the 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/21884] [2.29/2.30 Regression] ld segfaulting building memtest86
https://sourceware.org/bugzilla/show_bug.cgi?id=21884 Matthias Klose changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED |--- --- Comment #15 from Matthias Klose --- there's are report of another segfault: https://bugs.debian.org/870611 -- 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/21903] --no-define-common causes internal error in elf_link_convert_common_type
https://sourceware.org/bugzilla/show_bug.cgi?id=21903 --- Comment #2 from Matthijs van Duin --- Well I tried the flag to see if it would convince ld to preserve STT_COMMON in executables or shared libs, as the ELF specification says it is supposed to. -- 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/21884] [2.29/2.30 Regression] ld segfaulting building memtest86
https://sourceware.org/bugzilla/show_bug.cgi?id=21884 --- Comment #16 from Matthias Klose --- Created attachment 10314 --> https://sourceware.org/bugzilla/attachment.cgi?id=10314&action=edit test case 2 -- 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/21904] There is no testcase for -d
https://sourceware.org/bugzilla/show_bug.cgi?id=21904 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED Target Milestone|--- |2.30 --- Comment #2 from H.J. Lu --- Fixed for 2.30. -- 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/21884] [2.29/2.30 Regression] ld segfaulting building memtest86
https://sourceware.org/bugzilla/show_bug.cgi?id=21884 H.J. Lu changed: What|Removed |Added Status|REOPENED|WAITING --- Comment #19 from H.J. Lu --- (In reply to Matthias Klose from comment #18) > Created attachment 10315 [details] > complete 2nd test case It works for me: [hjl@gnu-tools-1 tst2]$ ./ld -T memtest.bin.lds bootsect.o setup.o -b binary memtest_shared.bin -o memtest.bin [hjl@gnu-tools-1 tst2]$ ./ld -V GNU ld (GNU Binutils) 2.29.51.20170804 Supported emulations: elf_x86_64 elf32_x86_64 elf_i386 elf_iamcu i386linux elf_l1om elf_k1om [hjl@gnu-tools-1 tst2]$ -- 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/21904] There is no testcase for -d
https://sourceware.org/bugzilla/show_bug.cgi?id=21904 --- Comment #1 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=9f06dab1e3acfb675669348a3ff331580d4eaf1e commit 9f06dab1e3acfb675669348a3ff331580d4eaf1e Author: H.J. Lu Date: Fri Aug 4 05:39:56 2017 -0700 Add a testcase for "ld -d" "ld -d" assigns space to common symbols even if a relocatable output file is specified (with '-r'). PR ld/21904 * testsuite/ld-elf/pr21904.d: New file. * testsuite/ld-elf/pr21904.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 ld/21884] [2.29/2.30 Regression] ld segfaulting building memtest86
https://sourceware.org/bugzilla/show_bug.cgi?id=21884 --- Comment #17 from Matthias Klose --- Program received signal SIGSEGV, Segmentation fault. 0x77ad23a7 in _bfd_elf_create_got_section (abfd=0x558c7050, info=0x558aa280 ) at ../../bfd/elflink.c:158 158 flags = bed->dynamic_sec_flags; (gdb) bt #0 0x77ad23a7 in _bfd_elf_create_got_section (abfd=0x558c7050, info=0x558aa280 ) at ../../bfd/elflink.c:158 #1 0x77b12ede in elf_i386_link_setup_gnu_properties ( info=0x558aa280 ) at ../../bfd/elf32-i386.c:7025 #2 0x5558c2ec in gldelf_x86_64_after_open () at eelf_x86_64.c:1169 #3 0x55583403 in ldemul_after_open () at ../../ld/ldemul.c:64 #4 0x5557866c in lang_process () at ../../ld/ldlang.c:7093 #5 0x5557cb8f in main (argc=9, argv=0x7fffe548) at ../../ld/ldmain.c:437 -- 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/21903] --no-define-common causes internal error in elf_link_convert_common_type
https://sourceware.org/bugzilla/show_bug.cgi?id=21903 H.J. Lu changed: What|Removed |Added Target Milestone|--- |2.30 --- Comment #3 from H.J. Lu --- A patch is posted at https://sourceware.org/ml/binutils/2017-08/msg00047.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/21884] [2.29/2.30 Regression] ld segfaulting building memtest86
https://sourceware.org/bugzilla/show_bug.cgi?id=21884 --- Comment #22 from Matthias Klose --- same with today's trunk 20170804. binutils is configured with --with-sysroot=/ --enable-shared --enable-plugins --enable-threads --with-system-zlib --prefix=/usr --enable-deterministic-archives --disable-compressed-debug-sections --enable-new-dtags --build=x86_64-linux-gnu --host=x86_64-linux-gnu --with-pkgversion="GNU Binutils for Debian" --disable-werror --enable-targets=x86_64-linux-gnux32,x86_64-pep --enable-ld=default --enable-gold the gcc used to build is configured to default to pie. -- 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/21884] [2.29/2.30 Regression] ld segfaulting building memtest86
https://sourceware.org/bugzilla/show_bug.cgi?id=21884 H.J. Lu changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|--- |FIXED --- Comment #23 from H.J. Lu --- (In reply to Matthias Klose from comment #22) > same with today's trunk 20170804. binutils is configured with > --with-sysroot=/ --enable-shared --enable-plugins --enable-threads > --with-system-zlib --prefix=/usr --enable-deterministic-archives > --disable-compressed-debug-sections --enable-new-dtags > --build=x86_64-linux-gnu --host=x86_64-linux-gnu --with-pkgversion="GNU > Binutils for Debian" --disable-werror > --enable-targets=x86_64-linux-gnux32,x86_64-pep --enable-ld=default > --enable-gold > > the gcc used to build is configured to default to pie. I still can't reproduce it with the same configure and GCC 7.1 default to PIE. I am going to close it. Please open a new bug with a fresh testcase and instructions how to 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