[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
LLVM ERROR: Cannot select: intrinsic %llvm.objc.clang.arc.use
From: |
Nerijus Baliunas |
Subject: |
LLVM ERROR: Cannot select: intrinsic %llvm.objc.clang.arc.use |
Date: |
Wed, 10 Feb 2021 18:15:32 +0200 |
Hello,
when trying to build gnustep-base 1.27.0 on Fedora 33 with clang 11.0.0, I get:
clang HTMLLinker.m -c \
-MMD -MP -DGNUSTEP_BASE_INTERNAL=1 -Wall -Wdeclaration-after-statement
-DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNUSTEP_RUNTIME=1 -D_NONFRAGILE_ABI=1
-DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions
-D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE
-Wno-import -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
--config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong
-m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection
-fcf-protection -fobjc-runtime=gnustep-2.0 -fblocks
-fconstant-string-class=NSConstantString -I../Source/. -I../Source/
-I../Headers -I. -I/home/nerijus/GNUstep/Library/Headers -I/usr/local/include
-I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/include
-I/usr/include -I/usr/include/libxml2 -I/usr/include/p11-kit-1 \
-o obj/HTMLLinker.obj/HTMLLinker.m.o
clang -rdynamic -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -pthread
-fexceptions -fobjc-runtime=gnustep-2.0 -fblocks -o obj/HTMLLinker \
./obj/HTMLLinker.obj/HTMLLinker.m.o \
-L../Source/./obj -L/home/nerijus/GNUstep/Library/Libraries
-L/usr/local/lib64 -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now
-flto -L/usr/local/lib64 -L/usr/local/lib64 -L/usr/lib64
-L/usr/lib64/ng-gnu-gnu -L/usr/lib64 -lgnustep-base -lpthread -lobjc -lm
LLVM ERROR: Cannot select: intrinsic %llvm.objc.clang.arc.use
clang-11: error: unable to execute command: Aborted (core dumped)
clang-11: error: linker command failed due to signal (use -v to see invocation)
Is something missing in my clang/llvm installation?
Regards,
Nerijus
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- LLVM ERROR: Cannot select: intrinsic %llvm.objc.clang.arc.use,
Nerijus Baliunas <=