discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LLVM ERROR: Cannot select: intrinsic %llvm.objc.clang.arc.use


From: Nerijus Baliunas
Subject: Re: LLVM ERROR: Cannot select: intrinsic %llvm.objc.clang.arc.use
Date: Mon, 5 Apr 2021 17:17:19 +0300

Hi,

just fyi - it compiles ok with clang 12 on Fedora 34.

Regards,
Nerijus

On Wed, 10 Feb 2021 18:15:32 +0200 Nerijus Baliunas via Discussion list for the 
GNUstep programming environment <discuss-gnustep@gnu.org> wrote:

> 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?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]