bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/22832] New: 2.30 internal error, aborting at ../../bfd/elflink.c


From: glaubitz at physik dot fu-berlin.de
Subject: [Bug ld/22832] New: 2.30 internal error, aborting at ../../bfd/elflink.c:9710 in elf_link_output_extsym
Date: Sun, 11 Feb 2018 08:14:22 +0000

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

            Bug ID: 22832
           Summary: 2.30 internal error, aborting at
                    ../../bfd/elflink.c:9710 in elf_link_output_extsym
           Product: binutils
           Version: 2.30
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: ld
          Assignee: unassigned at sourceware dot org
          Reporter: glaubitz at physik dot fu-berlin.de
                CC: eb at emlix dot com, ebotcazou at gcc dot gnu.org, jrtc27 
at jrtc27 dot com
  Target Milestone: ---
            Target: sparc*-*-*

When cross-building the Rust compiler for sparc64-unknown-linux-gnu, the build
fails with an internal binutils error:

error: linking with `sparc64-linux-gnu-gcc` failed: exit code: 1
  |
  = note: "sparc64-linux-gnu-gcc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-L"
"/srv/glaubitz/rust/rust/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/sparc64-unknown-linux-gnu/lib"
"/srv/glaubitz/rust/rust/build/x86_64-unknown-linux-gnu/stage1-std/sparc64-unknown-linux-gnu/release/deps/std-50a30754efc77185.std0-7456b92f185380f18a646928cc900174.rs.rcgu.o"
"/srv/glaubitz/rust/rust/build/x86_64-unknown-linux-gnu/stage1-std/sparc64-unknown-linux-gnu/release/deps/std-50a30754efc77185.std1-7456b92f185380f18a646928cc900174.rs.rcgu.o"
"/srv/glaubitz/rust/rust/build/x86_64-unknown-linux-gnu/stage1-std/sparc64-unknown-linux-gnu/release/deps/std-50a30754efc77185.std10-7456b92f185380f18a6
46928cc900174.rs.rcgu.o"
"/srv/glaubitz/rust/rust/build/x86_64-unknown-linux-gnu/stage1-std/sparc64-unknown-linux-gnu/release/deps/std-50a30754efc77185.std11-7456b92f185380f18a646928cc900174.rs.rcgu.o"
"/srv/glaubitz/rust/rust/build/x86_64-unknown-linux-gnu/stage1-std/sparc64-unknown-linux-gnu/release/deps/std-50a30754efc77185.std12-7456b92f185380f18a646928cc900174.rs.rcgu.o"
"/srv/glaubitz/rust/rust/build/x86_64-unknown-linux-gnu/stage1-std/sparc64-unknown-linux-gnu/release/deps/std-50a30754efc77185.std13-7456
b92f185380f18a646928cc900174.rs.rcgu.o"
"/srv/glaubitz/rust/rust/build/x86_64-unknown-linux-gnu/stage1-std/sparc64-unknown-linux-gnu/release/deps/std-50a30754efc77185.std14-7456b92f185380f18a646928cc900174.rs.rcgu.o"
"/srv/glaubitz/rust/rust/build/x86_64-unknown-linux-gnu/stage1-std/sparc64-unknown-linux-gnu/release/deps/std-50a30754efc77185.std15-7456b92f185380f18a646928cc900174.rs.rcgu.o"
"/srv/glaubitz/rust/rust/build/x86_64-unknown-linux-gnu/stage1-std/sparc64-unknown-linux-gnu/release/deps/std-50a30754efc77185.std2-7456b92f185380f18a646928cc900174.rs.rcgu.o"
"/srv/glaubitz/rust/rust/build/x86_64-unknown-linux-gnu/stage1-std/sparc64-unknown-linux-gnu/release/deps/std-50a30754efc77185.std3-7456b92f185380f18a646928cc900174.rs.rcgu.o"
"/srv/glaubitz/rust/rust/build/x86_64-unknown-linux-gnu/stage1-std/sparc64-unknown-linux-gnu/release/deps/std-50a30754efc77185.std4-7456b92f185380f18a646928cc900174.rs.rcgu.o"
"/srv/glaubitz/rust/rust/build/x86_64-unknown-linux-gnu/stage1-std/sparc64-unknown-linux-gnu/release/deps/std-50a30754efc77185.std5-7456b92f185380f18a646928cc900174.rs.rcgu.o"
"/srv/glaubitz/rust/rust/build/x86_64-unknown-linux-gnu/stage1-std/sparc64-unknown-linux-gnu/release/deps/std-50a30754efc77185.std6-7456b92f185380f18a646928cc900174.rs.rcgu.o"
"/srv/glaubitz/rust/rust/build/x86_64-unknown-linux-gnu/stage1-std/sparc64-unknown-linux-gnu/release/deps/std-50a30754efc77185.std7-7456b92f185380f18a646928cc900174.rs.rcgu.o"
"/srv/glaubitz/rust/rust/build/x86_64-unknown-linux-gnu/stage1-std/sparc64-unknown-linux-gnu/release/deps/std-50a30754efc77185.std8-7456b92f185380f18a646928cc900174.rs.rcgu.o"
"/srv/glaubitz/rust/rust/build/x86_64-unknown-linux-gnu/stage1-std/sparc64-unknown-linux-gnu/release/deps/std-50a30754efc77185.std9-7456b92f185380f18a646928cc900174.rs.rcgu.o"
"-o"
"/srv/glaubitz/rust/rust/build/x86_64-unknown-linux-gnu/stage1-std/sparc64-unknown-linux-gnu/release/deps/libstd-50a30754efc77185.so"
"/srv/glaubitz/rust/rust/build/x86_64-unknown-linux-gnu/stage1-std/sparc64-unknown-linux-gnu/release/deps/std-50a30754efc77185.crate.metadata.rcgu.o"
"/srv/glaubitz/rust/rust/build/x86_64-unknown-linux-gnu/stage1-std/sparc64-unknown-linux-gnu/release/deps/std-50a30754efc77185.crate.allocator.rcgu.o"
"-Wl,-z,relro,-z,now" "-Wl,-O1" "-nodefaultlibs" "-L"
"/srv/glaubitz/rust/rust/build/x86_64-unknown-linux-gnu/stage1-std/sparc64-unknown-linux-gnu/release/deps"
"-L"
"/srv/glaubitz/rust/rust/build/x86_64-unknown-linux-gnu/stage1-std/release/deps"
"-L"
"/srv/glaubitz/rust/rust/build/sparc64-unknown-linux-gnu/native/libbacktrace/.libs"
"-L"
"/srv/glaubitz/rust/rust/build/sparc64-unknown-linux-gnu/native/jemalloc/lib"
"-L"
"/srv/glaubitz/rust/rust/build/x86_64-unknown-linux-gnu/stage1-std/sparc64-unknown-linux-gnu/release/build/compiler_builtins-990f7637d0503f4e/out"
"-L"
"/srv/glaubitz/rust/rust/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/sparc64-unknown-linux-gnu/lib"
"-Wl,-Bstatic" "-Wl,--whole-archive" "-l" "backtrace" "-Wl,--no-whole-archive"
"-Wl,-Bdynamic" "-l" "dl" "-l" "rt" "-l" "pthread" "-Wl,-Bstatic"
"-Wl,--whole-archive"
"/tmp/rustc.SObmSkbjz1fo/libpanic_unwind-4f85ba5d0e870e29.rlib"
"-Wl,--no-whole-archive" "-Wl,--whole-archive"
"/tmp/rustc.SObmSkbjz1fo/libunwind-c86c9565da689e14.rlib"
"-Wl,--no-whole-archive" "-Wl,--whole-archive"
"/tmp/rustc.SObmSkbjz1fo/liballoc_system-655151fba596847e.rlib"
"-Wl,--no-whole-archive" "-Wl,--whole-archive"
"/tmp/rustc.SObmSkbjz1fo/liblibc-b8f9bb8294d9a014.rlib"
"-Wl,--no-whole-archive" "-Wl,--whole-archive"
"/tmp/rustc.SObmSkbjz1fo/liballoc-513d34708cb20443.rlib"
"-Wl,--no-whole-archive" "-Wl,--whole-archive"
"/tmp/rustc.SObmSkbjz1fo/libstd_unicode-5211f032242a5357.rlib"
"-Wl,--no-whole-archive" "-Wl,--whole-archive"
"/tmp/rustc.SObmSkbjz1fo/libcore-e2f49b08d2bc06b5.rlib"
"-Wl,--no-whole-archive"
"/tmp/rustc.SObmSkbjz1fo/libcompiler_builtins-136e26942e0df602.rlib"
"-Wl,-Bdynamic" "-l" "gcc_s" "-l" "c" "-l" "m" "-l" "rt" "-l" "pthread" "-l"
"util" "-l" "util" "-shared" "-Wl,-rpath,$ORIGIN/../lib"
  = note:
/usr/lib/gcc-cross/sparc64-linux-gnu/7/../../../../sparc64-linux-gnu/bin/ld:
BFD (GNU Binutils for Debian) 2.30 internal error, aborting at
../../bfd/elflink.c:9710 in elf_link_output_extsym

         
/usr/lib/gcc-cross/sparc64-linux-gnu/7/../../../../sparc64-linux-gnu/bin/ld:
Please report this bug.

          collect2: error: ld returned 1 exit status

The issue is resolved immediately by downgrading to binutils 2.28.

-- 
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]