bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/19319] New: Regression: ld.bfd: 2.25.90.20151125 assertion fail


From: svante.signell at gmail dot com
Subject: [Bug ld/19319] New: Regression: ld.bfd: 2.25.90.20151125 assertion fail ../../bfd/elf32-i386.c:5297
Date: Tue, 01 Dec 2015 11:36:28 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=19319

            Bug ID: 19319
           Summary: Regression: ld.bfd: 2.25.90.20151125 assertion fail
                    ../../bfd/elf32-i386.c:5297
           Product: binutils
           Version: 2.25
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
          Assignee: unassigned at sourceware dot org
          Reporter: svante.signell at gmail dot com
  Target Milestone: ---

Hello,

ld.bfd is broken on GNU/Hurd since Debian version 20151028-1. Compared to the
previous version, 20151021-1. From debian/changelog:
  * Snapshot, taken from the trunk 20151028.
    - Fix PR ld/19171 (LP: #1510067), PR ld/19175 (LP: #1510270).

Test case is a patched corosync package during linking:
(cd exec; gcc -g -O2 -fuse-ld=bfd -fPIE -fstack-protector-strong -Wformat
-Werror=format-security -fPIC -DPIC -fPIE -O3 -ggdb3 -Wall -Wshadow
-Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes
-Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-align
-Wbad-function-cast -Wmissing-format-attribute -Wformat=2 -Wformat-security
-Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing -I/usr/include -fPIE
-pie -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-z -Wl,defs -fPIC -DPIC -pie -Wl,-z
-Wl,relro -Wl,-z -Wl,now -Wl,--as-needed -o .libs/corosync corosync-vsf_ykd.o
corosync-coroparse.o corosync-vsf_quorum.o corosync-sync.o corosync-logsys.o
corosync-cfg.o corosync-cmap.o corosync-cpg.o corosync-pload.o
corosync-votequorum.o corosync-util.o corosync-schedwrk.o corosync-main.o
corosync-apidef.o corosync-quorum.o corosync-icmap.o corosync-timer.o
corosync-ipc_glue.o corosync-service.o corosync-logconfig.o
corosync-totemconfig.o  ./.libs/libtotem_pg.so -lnss3 -lnssutil3 -lsmime3
-lssl3 -lplds4 -lplc4 -lnspr4 ../common_lib/.libs/libcorosync_common.so -lqb
-ldl -lrt -lpthread)
/usr/bin/ld.bfd: BFD (GNU Binutils for Debian) 2.25.90.20151125 assertion fail
../../bfd/elf32-i386.c:5297

Using -fuse-ld=gold linking is fine.

Both test cases in 19171 and 19175 links fine too.

Shall I attach a tar file with the objective files for the link command above?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

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