Questions tagged [llvm]
22 questions
16
votes
2 answers
sh: time command not found
In llvm 3.0 test-suite, I am getting the following error on bash:
sh: time command not found
The code is:
if [ "x$RHOST" = x ] ; then
( sh -c "$ULIMITCMD $TIMEIT -p sh -c '$COMMAND >$OUTFILE 2>&1 < $INFILE; echo exit \$?'" ) 2>&1 \
| awk --…
Rafael
- 161
5
votes
1 answer
Getting clang to work on Fedora 15
I have installed clang via yum:
yum install clang
Unfortunately, even a simple "Hello World!" won't compile because it tries to use the headers of libstdc++4.6 (which I think have c++0x features that clang does not understand). I could not find a…
Tamás Szelei
- 721
5
votes
1 answer
Characters turn into unicode in gnome terminal with lldb
I installed a fresh copy of lldb on my machine. Anything typed after lldb makes its first output (in this case being error: empty command) turns into unicode literals. These unicode literals are recognised by lldb as empty commands.
This does not…
Henricus V.
- 173
3
votes
1 answer
Updating libstdc++ on mac
When trying to compile the latest version of LLVM on Mac OS X 10.8.5 I get the following error/warning about libstdc++ version:
===
checking whether Clang will select a modern C++ standard library... no
configure: error:
We detected a missing…
vPraetor
- 61
- 1
- 5
3
votes
1 answer
Creating full, global clang+llvm environment
What is the easiest way to setup full Clang, libc++ and LLVM as default global toolchain? All of my attempts to build it, in most of the configurations I could think of, resulted in working Clang, but it didn't use libc++ headers, but default GCC's…
Griwes
- 262
3
votes
1 answer
install LLVM 9 wiht WSL Ubuntu
I am trying to install the last stable version with the script in the page:
https://apt.llvm.org/
However I have the following error:
Reading package lists... Done
+ apt-get install -y clang-9 lldb-9 lld-9 clangd-9
Reading package lists...…
Mac Fly
- 131
2
votes
2 answers
How to generate PDF documentation for LLVM?
LLVM comes with html documentation, there are no pdfs to be downloaded. Is there a way of generating PDF documentation for it?
2
votes
1 answer
Are clang and llvm no longer maintained in cygwin?
I cannot find binaries for clang or llvm using cygwin's setup.exe. Are they no longer maintained?
Nevermoe
- 121
2
votes
0 answers
How do I install LLVM 2.9 on Mac OS X Lion?
I need LLVM (2.9 specifically), but I can't figure out how to follow the installation instructions. Could someone kindly provide the step by step console commands for building/installing LLVM in the proper location, and adding it to the PATH?
I am…
user998216
- 21
2
votes
1 answer
LVM: Problems in adding disk to an existing Logical volume
I have a disk under a Logical Volume.
$ lvdisplay
--- Logical volume ---
LV Path /dev/vg_prod/lv_prod
LV Name lv_prod
VG Name vg_prod
LV UUID …
Muhammad Tauseef
- 121
2
votes
0 answers
Failed to replace stdlibc++ with libc++, linker phase error
I'm currently working on one of my team's project to build LLVM full clang toolchain (Clang, libcxx, libcxxabi) on a CentOS machine.
Previously we compiled our codebase with llvm-toolset-7/clang++, which by default takes libstdc++ to compile and…
aichi
- 21
1
vote
0 answers
Is it possible to install llvmlite Python package on Cygwin?
When trying to install llvmlite Python package on cygwin, I get the following errors:
$ pip install llvmlite
Downloading/unpacking llvmlite
Downloading llvmlite-0.4.0.tar.gz (69kB): 69kB downloaded
Running setup.py…
boardrider
- 1,213
1
vote
0 answers
Is supporting backslash based character classes in ERE in grep an (GNU) extension?
grep supports backslash based character classes (e.g. \s) in ERE:
echo "x y" | grep -E 'x\s+y'
x y
Is it an (GNU) extension? If yes, then is it documented? If yes, then where is it documented?
Reason for the question: LLVM's FileCheck…
pmor
- 464
1
vote
0 answers
How to get the list of vendor/CPU/FPU/ABI/etc. from LLVM CL, and their meaningI?
I got all the "architectures" using this:
llc --version
It lists the architectures.
Then for each architecture, you can get the CPUs and "features" (not sure what "features" are), like this:
llc -march=arm -mattr=help # for arm architecture
But…
Lance Pollard
- 467
- 5
- 24
1
vote
2 answers
Issue on compiling config.guess from llvm project source with cmake on cygwin
It seems like my compiler is not adapted to the syntax on the file config.guess and it keeps getting errors. The URL from which I downloaded the source is llvm project or more specifically problematic source file, svn command svn co…