Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Jan 2021 09:14:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        toolchain@FreeBSD.org
Subject:   [Bug 251886] clang: error: clang frontend command failed due to signal
Message-ID:  <bug-251886-29464-AredsgwPTM@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-251886-29464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-251886-29464@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251886

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

clang++  -O2 -pipe -fno-common -I/usr/obj/usr/src/amd64.amd64/lib/clang/lib=
llvm
-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 (git@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, preproces=
sed
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

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-251886-29464-AredsgwPTM>