|
From: | cvs-commit at gcc dot gnu.org |
Subject: | [Bug ld/23653] ld SIGSEGVs when attempts to link sparc object with x86_64 library (--enable-targets=all): assertion fail ../../binutils-gdb/bfd/elfxx-sparc.c:1218 |
Date: | Wed, 17 Oct 2018 04:09:31 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=23653 --- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Alan Modra <address@hidden>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=4de5434b694fc260d02610e8e7fec21b2923600a commit 4de5434b694fc260d02610e8e7fec21b2923600a Author: Alan Modra <address@hidden> Date: Wed Oct 17 09:17:30 2018 +1030 PR23653, ld SIGSEGVs when attempts to link sparc object with x86_64 library This patch improves dynobj selection. This allows the testcase in the PR to proceed further before segfaulting due to other bugs in the sparc backend. ../ld/ld-new --eh-frame-hdr -m elf_x86_64 -shared -o bug.so.5 bug.o ./libc.so.6 ./crtendS.o ../ld/ld-new: sparc architecture of input file `bug.o' is incompatible with i386:x86-64 output ../ld/ld-new: bug.o: in function `a': bug.c:(.text+0x4): undefined reference to `_GLOBAL_OFFSET_TABLE_' ../ld/ld-new: bug.c:(.text+0x8): undefined reference to `_GLOBAL_OFFSET_TABLE_' Segmentation fault PR 23653 * elflink.c (_bfd_elf_link_create_dynstrtab): Match elf_object_id too when choosing dynobj. -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |