FreeBSD Bugzilla – Attachment 172257 Details for
Bug 206039
[exp-run] Enable LLVM libunwind by default on x86 and arm
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to enable llvm libunwind by default on aarch64, amd64, arm, i386, riscv
llvm-libunwind.diff (text/plain), 1.32 KB, created by
Ed Maste
on 2016-07-08 21:24:05 UTC
(
hide
)
Description:
patch to enable llvm libunwind by default on aarch64, amd64, arm, i386, riscv
Filename:
MIME Type:
Creator:
Ed Maste
Created:
2016-07-08 21:24:05 UTC
Size:
1.32 KB
patch
obsolete
>commit 65f54ae802b00d1df3efb78ebce57ccc789501e0 >Author: Ed Maste <emaste@freebsd.org> >Date: Tue Jul 5 15:15:31 2016 -0400 > > llvm libunwind by default on more archs > > already on: > aarch64 > riscv > > newly added: > amd64 > i386 > arm > >diff --git a/share/mk/src.opts.mk b/share/mk/src.opts.mk >index 6380b0d..be601a8 100644 >--- a/share/mk/src.opts.mk >+++ b/share/mk/src.opts.mk >@@ -236,15 +236,18 @@ __DEFAULT_NO_OPTIONS+=CLANG CLANG_BOOTSTRAP CLANG_FULL CLANG_IS_CC LLD > # 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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 206039
:
165271
|
165272
| 172257