https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251886

--- Comment #16 from igor.polov...@gmail.com ---
New strange behaviour with LDFLAGS.lld+= -Wl,--no-threads in make.conf.

clang++  -O2 -pipe -fno-common -I/usr/obj/usr/src/amd64.amd64/lib/clang/libllvm
-I/usr/src/contrib/llvm-project/llvm/lib/Target/AArch64
-I/usr/src/contrib/llvm-project/llvm/lib/Target/ARM
-I/usr/src/contrib/llvm-project/llvm/lib/Target/$
Stack dump:
0.      Program arguments: clang++ -O2 -pipe -fno-common
-I/usr/obj/usr/src/amd64.amd64/lib/clang/libllvm
-I/usr/src/contrib/llvm-project/llvm/lib/Target/AArch64
-I/usr/src/contrib/llvm-project/llvm/lib/Target/ARM -I/usr/src/contrib/llv$
1.      <eof> parser at end of file
2.      Per-module optimization passes
3.      Running pass 'CallGraph Pass Manager' on module
'/usr/src/contrib/llvm-project/llvm/lib/Transforms/IPO/Attributor.cpp'.
#0 0x00000000038320be PrintStackTrace
/usr/src/contrib/llvm-project/llvm/lib/Support/Unix/Signals.inc:564:13
#1 0x0000000003830335 RunSignalHandlers
/usr/src/contrib/llvm-project/llvm/lib/Support/Signals.cpp:69:18
#2 0x0000000003834341 HandleCrash
/usr/src/contrib/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:77:5
#3 0x0000000003834341 CrashRecoverySignalHandler
/usr/src/contrib/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:382:51
#4 0x000000000470a100 handle_signal /usr/src/lib/libthr/thread/thr_sig.c:0:3
clang++: error: clang frontend command failed due to signal (use -v to see
invocation)
FreeBSD clang version 10.0.1 (g...@github.com:llvm/llvm-project.git
llvmorg-10.0.1-0-gef32c611aa2)
Target: x86_64-unknown-freebsd12.2
Thread model: posix
InstalledDir: /usr/bin
clang++: note: diagnostic msg: PLEASE submit a bug report to
https://bugs.freebsd.org/submit/ and include the crash backtrace, preprocessed
source, and associated run script.
clang++: note: diagnostic msg:
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang++: note: diagnostic msg: /tmp/Attributor-1e1087.cpp
clang++: note: diagnostic msg: /tmp/Attributor-1e1087.sh
clang++: note: diagnostic msg:

********************
*** Error code 254

Stop.
make[6]: stopped in /usr/src/lib/clang/libllvm
*** Error code 1
*** Error code 1
*** Error code 1
*** Error code 1
*** Error code 1
*** Error code 1

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-toolchain@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"

Reply via email to