[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/25681] New: aarch64: -q option cause assertion fail in elf.c:623
From: |
baratharon at caesar dot elte.hu |
Subject: |
[Bug ld/25681] New: aarch64: -q option cause assertion fail in elf.c:6233 |
Date: |
Mon, 16 Mar 2020 09:28:40 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=25681
Bug ID: 25681
Summary: aarch64: -q option cause assertion fail in elf.c:6233
Product: binutils
Version: 2.34
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: ld
Assignee: unassigned at sourceware dot org
Reporter: baratharon at caesar dot elte.hu
Target Milestone: ---
Hello,
Recently I found an assertion failed working with crosscompiling to aarch64. I
simplified the command line to a minimal set.
$ cat a.c
int main() { return 1; }
$ aarch64-linux-gnu-gcc -Wl,--defsym=_start=1 -ffreestanding -nostdlib -Wl,-q
a.c -o a
/usr/lib/gcc/aarch64-linux-gnu/9.2.0/../../../../aarch64-linux-gnu/bin/ld: BFD
(GNU Binutils) 2.34 assertion fail elf.c:6233
collect2: error: ld returned 1 exit status
$ aarch64-linux-gnu-gcc -v
Using built-in specs.
COLLECT_GCC=aarch64-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/aarch64-linux-gnu/9.2.0/lto-wrapper
Target: aarch64-linux-gnu
Configured with: /build/aarch64-linux-gnu-gcc/src/gcc-9.2.0/configure
--prefix=/usr --program-prefix=aarch64-linux-gnu-
--with-local-prefix=/usr/aarch64-linux-gnu
--with-sysroot=/usr/aarch64-linux-gnu
--with-build-sysroot=/usr/aarch64-linux-gnu
--with-native-system-header-dir=/include --libdir=/usr/lib
--libexecdir=/usr/lib --target=aarch64-linux-gnu --host=x86_64-pc-linux-gnu
--build=x86_64-pc-linux-gnu --disable-nls --enable-languages=c,c++,fortran
--enable-shared --enable-threads=posix --with-system-zlib --with-isl
--enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu
--disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object
--enable-linker-build-id --enable-lto --enable-plugin
--enable-install-libiberty --with-linker-hash-style=gnu
--enable-gnu-indirect-function --disable-multilib --disable-werror
--enable-checking=release
Thread model: posix
gcc version 9.2.0 (GCC)
$ uname -a
Linux ****** 4.18.14-arch1-1-ARCH #1 SMP PREEMPT Sat Oct 13 13:42:37 UTC 2018
x86_64 GNU/Linux
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/25681] New: aarch64: -q option cause assertion fail in elf.c:6233,
baratharon at caesar dot elte.hu <=
- [Bug ld/25681] aarch64: -q option cause assertion fail in elf.c:6233, baratharon at caesar dot elte.hu, 2020/03/16
- [Bug ld/25681] aarch64: -q option cause assertion fail in elf.c:6233, nickc at redhat dot com, 2020/03/18
- [Bug ld/25681] aarch64: -q option cause assertion fail in elf.c:6233, baratharon at caesar dot elte.hu, 2020/03/18
- [Bug ld/25681] aarch64: -q option cause assertion fail in elf.c:6233, cvs-commit at gcc dot gnu.org, 2020/03/24
- [Bug ld/25681] aarch64: -q option cause assertion fail in elf.c:6233, nickc at redhat dot com, 2020/03/24
- [Bug ld/25681] aarch64: -q option cause assertion fail in elf.c:6233, baratharon at caesar dot elte.hu, 2020/03/24
- [Bug ld/25681] aarch64: -q option cause assertion fail in elf.c:6233, baratharon at caesar dot elte.hu, 2020/03/24