segfault in the amdgcn assembler

Bug #1944112 reported by Matthias Klose
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
llvm-toolchain-9 (Ubuntu)
New
Undecided
Unassigned

Bug Description

This is not seen with 1:9.0.1-16.1ubuntu1, but with 1:9.0.1-16.1ubuntu4 (was in proposed, now removed, but copied to the ubuntu-toolchain-r/volatile PPA).

$ cat a-tst.i
# 0 "tst.c"
# 1 "/packages/gcc/snap/gcc-snapshot-20210918//"
# 0 "<built-in>"
# 0 "<command-line>"
# 1 "tst.c"
int main() { return 0; }

Starting program: /usr/amdgcn-amdhsa/bin/ld --verbose --pie --export-dynamic /packages/gcc/snap/gcc-snapshot-20210918/build-gcn/./gcc/crt0.o -L/packages/gcc/snap/gcc-snapshot-20210918/build-gcn/./gcc -L/packages/gcc/snap/gcc-snapshot-20210918/build-gcn/amdgcn-amdhsa/newlib a-tst.o -lgcc -lc -lgcc
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
ld: /packages/gcc/snap/gcc-snapshot-20210918/build-gcn/./gcc/crt0.o
ld: a-tst.o
ld: /packages/gcc/snap/gcc-snapshot-20210918/build-gcn/./gcc/libgcc.a
ld: /packages/gcc/snap/gcc-snapshot-20210918/build-gcn/amdgcn-amdhsa/newlib/libc.a
ld: /packages/gcc/snap/gcc-snapshot-20210918/build-gcn/./gcc/libgcc.a
[New Thread 0x7ffff2de4640 (LWP 4122224)]

Thread 2 "ld" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff2de4640 (LWP 4122224)]
0x00007ffff3bef68e in std::execute_native_thread_routine (__p=0x0) at ../../../../../src/libstdc++-v3/src/c++11/thread.cc:82
82 ../../../../../src/libstdc++-v3/src/c++11/thread.cc: No such file or directory.
(gdb) bt
#0 0x00007ffff3bef68e in std::execute_native_thread_routine (__p=0x0)
    at ../../../../../src/libstdc++-v3/src/c++11/thread.cc:82
#1 0x00007ffff38878d7 in start_thread (arg=<optimized out>) at pthread_create.c:434
#2 0x00007ffff3918510 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
(gdb)

Revision history for this message
Matthias Klose (doko) wrote :
Revision history for this message
Matthias Klose (doko) wrote :
Revision history for this message
Matthias Klose (doko) wrote :

also ftbfs on s390x

tags: added: ftbfs
Matthias Klose (doko)
tags: added: rls-ii-incoming
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.