Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148203809
D7161.id18229.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1019 B
Referenced Files
None
Subscribers
None
D7161.id18229.diff
View Options
Index: share/mk/src.opts.mk
===================================================================
--- share/mk/src.opts.mk
+++ share/mk/src.opts.mk
@@ -236,15 +236,18 @@
# In-tree binutils/gcc are older versions without modern architecture support.
.if ${__T} == "aarch64" || ${__T} == "riscv64"
BROKEN_OPTIONS+=BINUTILS BINUTILS_BOOTSTRAP GCC GCC_BOOTSTRAP GDB
-__DEFAULT_YES_OPTIONS+=LLVM_LIBUNWIND
-.else
-__DEFAULT_NO_OPTIONS+=LLVM_LIBUNWIND
.endif
.if ${__T} == "riscv64"
BROKEN_OPTIONS+=PROFILE # "sorry, unimplemented: profiler support for RISC-V"
BROKEN_OPTIONS+=TESTS # "undefined reference to `_Unwind_Resume'"
BROKEN_OPTIONS+=CXX # "libcxxrt.so: undefined reference to `_Unwind_Resume_or_Rethrow'"
.endif
+.if ${__T} == "aarch64" || ${__T} == "amd64" || ${__TT} == "arm" || \
+ ${__T} == "i386" || ${__T} == "riscv64"
+__DEFAULT_YES_OPTIONS+=LLVM_LIBUNWIND
+.else
+__DEFAULT_NO_OPTIONS+=LLVM_LIBUNWIND
+.endif
.if ${__T} == "aarch64" || ${__T} == "amd64"
__DEFAULT_YES_OPTIONS+=LLDB
.else
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Mar 17, 11:57 AM (10 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29823689
Default Alt Text
D7161.id18229.diff (1019 B)
Attached To
Mode
D7161: enable llvm libunwind by default on Clang platforms and riscv
Attached
Detach File
Event Timeline
Log In to Comment