Questions tagged [llvm]

20 questions
14
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
  • 141
  • 1
  • 1
  • 3
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
  • 691
  • 2
  • 12
  • 23
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
  • 7
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
  • 2
  • 10
2
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
  • 51
  • 1
  • 5
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
  • 3
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
  • 1
2
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
  • 121
  • 1
  • 2
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
  • 2
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,055
  • 6
  • 20
  • 36
1
vote
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 …
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…
1
vote
0 answers

SVN: E000104: Error running context: Connection reset by peer

I'm trying to follow this tutorial to get started with LLVM. But checking out the project via SVN results in the E000104 error every time. And each time it is at a different point of the process. (seemingly random) I just installed SVN, went into a…
Makan
  • 183
  • 1
  • 10
0
votes
2 answers

GCC/Clang: Available ObjC runtimes

A while ago, I discovered the ObjFW runtime for Objective-C, which is a pretty neat one and does a lot of things - and, is very tiny. But it made me ask lately, which runtimes are available on which targets - and how can one best find out? I'd like…
Ingwie Phoenix
  • 1,357
  • 2
  • 13
  • 17
1
2