Skip to main content

Questions tagged [clang]

clang is a C, C++, Objective-C/C++ compiler compatible with GNU gcc extensions.

1 vote
1 answer
107 views

How do I build a statically linked copy of xz-utils?

I'm trying to build a statically linked copy of xz-utils, such that the xz do not have dependencies on libc. I tried the usual way, which is to set LDFLAGS=-static, and works for most other packages ...
rs3's user avatar
  • 11
0 votes
0 answers
48 views

Can clang-17-dev be installed on debian bullseye?

I want to use cl-bindgen and it depends on libclang-17.so I am on a x86_64 debian bullseye machine. After several attempts, I seem unable to install clang-17-dev, which supposedly has libclang-17.so. ...
BitTickler's user avatar
2 votes
1 answer
162 views

when is the environ symbol defined in the executable?

If I compile a simple test program, I get environment symbols defined (and exported) in the executable itself: root@4ef8c4a55769:/# clang --version Debian clang version 11.0.1-2 Target: aarch64-...
Artefacto's user avatar
  • 255
0 votes
1 answer
377 views

How to add pkgs.org and other mirrors in centOS 8?

https://centos.pkgs.org/8-stream/centos-appstream-x86_64/ http://mirror.centos.org/centos/8-stream/AppStream/x86_64/os/Packages/ I am new to centOS. I want to add these two repositories so that ...
Zeshan Ahmed Nobin's user avatar
0 votes
0 answers
103 views

Unable to build a cpp program on AIX with gcc fsanitize address

I'm trying to build a cpp program on AIX 7.2 using gcc with address sanitizer (-fsanitize=address) but this errors out with: cc1plus: warning: '-fsanitize=address' not supported for this target ...
Sanchit Gupta's user avatar
0 votes
0 answers
109 views

configure: error: C compiler cannot create executables ERROR on FreeBSD 14.0-RELEASE

I'm not able to install sudo on my FreeBSD 14.0-RELEASE-p3 amd64 marietto:/usr/ports/security/sudo # make ===> License sudo accepted by the user ===> sudo-1.9.15p4 depends on file: /usr/...
mister_smith's user avatar
0 votes
0 answers
393 views

ld error with clangs when compiling vdso

i am trying to compile a kernel but it always return this error: LD arch/arm64/kernel/vdso/built-in.o ld.lld: error: cannot find linker script -r make[2]: *** [scripts/Makefile.build:507: arch/...
xxjoe's user avatar
  • 11
1 vote
0 answers
717 views

How to install LLVM-14 on Ubuntu?

I have installed LLVM-14 on Ubuntu manually. Everything seems to work fine except ld during the compilation of cargo-bpf in Rust cargo. = note: /usr/bin/ld: cannot find -lLLVM-14 collect2: ...
HyperX Pro's user avatar
1 vote
1 answer
307 views

OpenBSD: npm install sodium-native, interpret error messages

I am attempting to install sodium native as an npm package on OpenBSD 7.3 amd64. Aside: As a dependency of Hypercore, Hyperbee and Corestore. This needs node-gyp. Following this, I set the C and C++ ...
Lee's user avatar
  • 549
1 vote
0 answers
2k views

unrecognized option '-EL'

I'm trying to build an android kernel. On every build I get a few errors: /usr/bin/as: unrecognized option '-EL' clang-16: error: assembler command failed with exit code 1 (use -v to see invocation) ...
JohnTit's user avatar
  • 11
1 vote
0 answers
672 views

Termux Bash: ./ Permission Denied

I have a file Test.cpp that I compiled into test using clang++, but running it, I get the error in the title. I have tried using chmod u+x test and chmod 775 test, among other commands, but using ls -...
Sandman's user avatar
  • 11
1 vote
1 answer
2k views

Linux fedora how to change to older version of clang

I am currently using Linux fedora and I have the latest version of clang installed 14. I need an older version 12. Is there a way to do this through the terminal. I have been able to install the ...
Robert hause's user avatar
1 vote
1 answer
7k views

How to install the latest stable Clang on Fedora?

I'm considering switching to Fedora, but the latest stable Fedora (36) only ships Clang 14, while the latest release is Clang 15. Is there any way to get up-to-date binaries, without switching to the ...
HolyBlackCat's user avatar
0 votes
1 answer
2k views

Error to "install -y clang-9 libc++-9-dev libc++abi-9-dev"

I installed the Mistuba 2 package (https://github.com/mitsuba-renderer/mitsuba2) to be able to run btf-rendering (https://github.com/elerac/btf-rendering/). However, to install Mitsuba it is necessary ...
V.Avancini's user avatar
1 vote
1 answer
434 views

Compiling a C program with Clang for MIPS (32-bit) on a FreeBSD x86_64/AMD64 system

Is there a way to compile a C program with Clang compiler for MIPS (32-bit) on a FreeBSD x86_64/AMD64 system?
ordinary_guy's user avatar

15 30 50 per page