[Bug 237692] lld: linking fails on aarch64 with 'Should not have claimed to be relaxable'

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri May 3 14:04:17 UTC 2019


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

--- Comment #3 from mikael.urankar at gmail.com ---
(In reply to mikael.urankar from comment #2)
It seems to be a problem with debug build of clang/lld, it works on head with
this (ie, same as the release or stable branch):

Index: lib/clang/llvm.build.mk
===================================================================
--- lib/clang/llvm.build.mk     (revision 345171)
+++ lib/clang/llvm.build.mk     (working copy)
@@ -17,7 +17,7 @@
 CFLAGS+=       -DLLVM_BUILD_GLOBAL_ISEL
 CFLAGS+=       -D__STDC_LIMIT_MACROS
 CFLAGS+=       -D__STDC_CONSTANT_MACROS
-#CFLAGS+=      -DNDEBUG
+CFLAGS+=       -DNDEBUG

 TARGET_ARCH?=  ${MACHINE_ARCH}
 BUILD_ARCH?=   ${MACHINE_ARCH}

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


More information about the freebsd-bugs mailing list