Public bug reported:

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)

** Affects: llvm-toolchain-9 (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "a-tst.o"
   https://bugs.launchpad.net/bugs/1944112/+attachment/5526402/+files/a-tst.o

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1944112

Title:
  segfault in the amdgcn assembler

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-9/+bug/1944112/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to