http://bugzilla.opensuse.org/show_bug.cgi?id=1155108 Bug ID: 1155108 Summary: Tumbleweed OpenMP Programs Compiled With clang9 and libomp9-devel Receive SEGV During Exit Processing Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Development Assignee: bnc-team-screening@forge.provo.novell.com Reporter: ron163264@gmail.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Created attachment 822517 --> http://bugzilla.opensuse.org/attachment.cgi?id=822517&action=edit Sample OpenMP program downloaded from LLNL I have replaced the default clang (which deps on clang8) and the associated LLVM components with clang9, lld9, libomp9-devel, etc. The new clang/clang++ work fine on all my test programs except those using OpenMP (option -fopenmp), which all receive a SIGSEGV at the end. By compiling with -g and running under lldb(1), I can see that they complete their normal processing, then receive the SEGV during exit processing, down in library code. My currently installed versions: Tumbleweed snapshot 20191022 clang9-9.0.0-2.2.x86_64 libLLVM9-9.0.0-2.2.x86_64 libLTO9-9.0.0-2.2.x86_64 libomp9-devel-9.0.0-2.2.x86_64 lld9-9.0.0-2.2.x86_64 lldb9-9.0.0-2.2.x86_64 I've attached a simple OpenMP hello-world program I downloaded from LLNL. Build with: $ clang-9 -g -fopenmp -o omp_hello.o omp_hello.c $ clang-9 omp_hello.o -fopenmp -fuse-ld=lld -o omp_hello Then run ./omp_hello alone or under lldb: $ OMP_NUM_THREADS=2 ./omp_hello Hello World from thread = 0 Number of threads = 2 Hello World from thread = 1 Segmentation fault (core dumped) It does not matter whether I use lld or the GNU linker. -- You are receiving this mail because: You are on the CC list for the bug.