Displaying 20 results from an estimated 1600 matches similar to: "Compilation errors"
2015 Dec 01
2
Compilation errors
As an aside, is there any reason for why C++-style comments were used
in C files at all, or should they simply be replaced with the usual /*
... */ in accordance with pre-C99 standards? In the latter case, would
there be any objection to it if I were to make a patch for this? While
the change itself would be trivial, I don't yet have any experience
with making patches, and so for that purpose
2013 Jul 22
4
[LLVMdev] Build Clang and LLVM on Win 8
Hi all,
yes, I do not know python and I installed it only for being able to
build LLVM.
Now I have installed version 2.7.
I tried with codeblock project generation, but I'm still getting errors.
So I moved to visual studio as per "getting started" guide.
I run the command: cmake -G "Visual Studio 11" ..\llvm from my build folder.
It lists a lot of file not found
2013 Jul 23
0
[LLVMdev] Build Clang and LLVM on Win 8
Hi Giorgio,
here is another description how to compile LLVM on Windows:
http://wiki.dlang.org/Building_and_hacking_LDC_on_Windows_using_MSVC
Maybe this is helpful. I created this for Windows 7 but I also repeated
it successfully on Windows 8.
Regards
Kai
On 22.07.2013 22:51, Giorgio Franceschetti wrote:
> Hi all,
> yes, I do not know python and I installed it only for being able to
2016 Feb 28
4
[cfe-dev] [3.8 Release] We have branched
With reference to the following thread:
http://lists.llvm.org/pipermail/llvm-dev/2016-January/094100.html
I am having the same issue. First I did a git pull of all the relevant
directories and then doing a cmake:
cmake -DLLVM_ENABLE_DOXYGEN=ON -DLLVM_ENABLE_WERROR=OFF
-DLLVM_TARGETS_TO_BUILD="X86" ../llvm
and followed by make:
[ 22%] Built target LLVMVectorize
[ 25%] Built target
2016 Feb 29
0
[cfe-dev] [3.8 Release] We have branched
Hi,
The test-suite expects to be built standalone but it looks like you have it in the same tree as LLVM. You'll need to remove it.
From: llvm-dev [mailto:llvm-dev-bounces at lists.llvm.org] On Behalf Of Peter Teoh via llvm-dev
Sent: 28 February 2016 14:31
To: llvm-dev at lists.llvm.org
Subject: [llvm-dev] [cfe-dev] [3.8 Release] We have branched
With reference to the following thread:
2013 Jul 22
0
[LLVMdev] Build Clang and LLVM on Win 8
Reid Kleckner <rnk at google.com> writes:
> My initial impression was that still probably nobody uses python 3, so it's
> not worth adding support that will break. But if users actually have
> python 3, maybe it's worth it.
I think that on this case the problem was not people who actually have
python 3, but people who see Python as a requirement for building LLVM
and go
2013 Jul 22
3
[LLVMdev] Build Clang and LLVM on Win 8
On Sun, Jul 21, 2013 at 5:51 PM, Óscar Fuentes <ofv at wanadoo.es> wrote:
> Giorgio Franceschetti <g.franceschetti at vidya.it> writes:
>
> > When I run cmake I got The following error:
> > *<project folder>\build>CMake -G "CodeBlocks - MinGW Makefiles" ..\llvm*
> > /-- Could NOT find LibXml2 (missing: LIBXML2_LIBRARIES
> >
2016 Feb 29
0
[cfe-dev] [3.8 Release] We have branched
I think we've just forgotten to update that part of the instructions. Having the test-suite at projects/test-suite was harmless to the old autoconf and LLVM 3.7.x's cmake builds because it didn't actually cause the test-suite to be built. The CMakeLists.txt that have been added to the test-suite now cause it to be built by LLVM's build system which introduces the build failure. We
2013 Jul 23
0
[LLVMdev] Build Clang and LLVM on Win 8
I also tried to build LLVM with 3.3 sources.
Same problems.
Even worse, Visual Studio hangs and I had to kill the process.
What could it be? Is Visual Studio 2012 working with LLVM/clang?
Or LLVM/Clang is not supposed to work on windows (I saw also that there
are no binaries ready for the windows platform).
Thanks in advance,
Giorgio
Il 22/07/2013 22.51, Giorgio Franceschetti ha scritto:
2011 Jan 07
1
[LLVMdev] [PATCH] compiler-rt patch for clean build on Solaris 10 / x86
Hi,
Attached is small patch (based of r122998 of compiler-rt), required for clean builds on Solaris 10 / x86 using clang 2.8.
Please consider it for inclusion.
Cheers,
Joakim
-------------- next part --------------
A non-text attachment was scrubbed...
Name: solaris_stdint.patch
Type: application/octet-stream
Size: 457 bytes
Desc: not available
URL:
2016 Mar 17
2
Building with LLVM_PARALLEL_XXX_JOBS
On Mon, Mar 14, 2016 at 5:30 PM, Chris Bieneman <cbieneman at apple.com> wrote:
[ brutal-snip ]
...
> [ TODO#S: Before doing a 2nd build (and in a 3rd run using more
> optimized binaries) ]
>
> How do I anable LTO via CMAKE?
>
>
> LLVM_ENALBLE_LTO=On
>
[ v4 of my build-script attached ]
Hi Chris,
thanks for the response!
That seems to work (see below).
$ cd
2017 Nov 26
5
Compilation issue "unsupported relocation on symbol" with clang 3.7.1
Hi List,
I'm trying to build llvm-5.0.0 with clang-3.7.1 on ARM (native building). At some point I have the following issue :
----
[1588/5024] Building C object projects/compiler-rt/lib/builtins/CMakeFiles/clang_rt.builtins-arm.dir/cpu_model.c.o
../projects/compiler-rt/lib/builtins/cpu_model.c:596:7: warning: ISO C requires a translation unit to contain at least one declaration
2017 Feb 11
2
Asan self host problems: Failed to deallocate
Trying to run a self host "ninja check-clang" with ASan enabled I hit a
/lot/ of errors like this (strangely I hit none of these in check-llvm,
only in check-clang):
Any ideas?
==10525==ERROR: AddressSanitizer failed to deallocate 0x10800 (67584) bytes
at address 0x631000014800
==10525==AddressSanitizer CHECK failed:
2015 Jul 28
1
[LLVMdev] Purpose of LLVM_ENABLE_LIBCXX and LLVM_ENABLE_LIBCXXABI
Also please note that there is a description of each option in the
CMakeLists.txt :)
llvm/trunk/CMakeLists.txt
option(LLVM_ENABLE_MODULES "Compile with C++ modules enabled." OFF)
option(LLVM_ENABLE_CXX1Y "Compile with C++1y enabled." OFF)
option(LLVM_ENABLE_LIBCXX "Use libc++ if available." OFF)
option(LLVM_ENABLE_LIBCXXABI "Use libc++abi when using
2014 Jul 08
2
[LLVMdev] [compiler-rt] clang_rt.builtins-${arch} library on windows
Is there any specific reason why the clang_rt.builtins-${arch} library is
disabled for windows builds?
if (NOT WIN32)
foreach(arch x86_64 i386 arm)
if(CAN_TARGET_${arch})
set_source_files_properties(${${arch}_SOURCES} PROPERTIES
LANGUAGE C)
add_compiler_rt_runtime(clang_rt.builtins-${arch} ${arch} STATIC
SOURCES ${${arch}_SOURCES}
CFLAGS
2018 Dec 04
2
Compiling for baremetal ARMv4 on Ubuntu Linux
I am currently trying to compile a pretty simple program to work on an
experimental board. It contains an (FPGA-version of) an ARMv4 processor.
So basically, I try this (on my Ubuntu 18.04.1 LTS):
clang -v --target=arm-none-eabi -c barehello.c -o barehelloCLANG.o
clang -v --target=arm-none-eabi -c io.c -o io.o
clang -v --target=arm-none-eabi barehelloCLANG.o io.o -o
helloCLANGstatic -static
2018 Dec 07
2
Compiling for baremetal ARMv4 on Ubuntu Linux
Hello,
on the problems cross-building compiler-rt: Tried to follow
https://llvm.org/docs/HowToCrossCompileBuiltinsOnArm.html which lead to
this cmake:
cmake -G "Ninja" ../llvm/projects/compiler-rt/
-DCOMPILER_RT_BUILD_BUILTINS=ON -DCOMPILER_RT_BUILD_SANITIZERS=OFF
-DCOMPILER_RT_BUILD_XRAY=OFF -DCOMPILER_RT_BUILD_LIBFUZZER=OFF
-DCOMPILER_RT_BUILD_PROFILE=OFF
2018 Dec 14
3
Compiling for baremetal ARMv4 on Ubuntu Linux
Hello again Christian,
I've posted https://reviews.llvm.org/D55709 to see if we can get the
documentation on how to cross-compile compiler-rt improved. I'll be
out of office until next year so I may be a bit slow to respond to any
follow ups.
Peter
On Thu, 13 Dec 2018 at 17:10, Peter Smith <peter.smith at linaro.org> wrote:
>
> Hello Christian,
>
> I've just
2018 Dec 10
2
Compiling for baremetal ARMv4 on Ubuntu Linux
Hello again!
Tried out the small Hello World Setup, worked as intended:
root at christian-forschung-virtual-machine:/home/progs# clang -v
--target=arm-linux-gnueabihf hello.c -o hello -fuse-ld=lld
clang version 8.0.0 (https://git.llvm.org/git/clang.git/
a152c7a4b7ba8f4cb9532ead9a38a7121db43d50)
(https://git.llvm.org/git/llvm.git/
1959ce6f3e01241919968ac1911fd45660239d23)
Target:
2018 Dec 13
2
Compiling for baremetal ARMv4 on Ubuntu Linux
Hello Peter and Lists,
thanks a lot, that way it worked out! The final cmake was
cmake -G "Ninja" ../llvm/projects/compiler-rt/
-DCOMPILER_RT_BUILD_BUILTINS=ON -DCOMPILER_RT_BUILD_SANITIZERS=OFF
-DCOMPILER_RT_BUILD_XRAY=OFF -DCOMPILER_RT_BUILD_LIBFUZZER=OFF
-DCOMPILER_RT_BUILD_PROFILE=OFF
-DCMAKE_C_COMPILER=/usr/local/myclang/bin/clang
-DCMAKE_AR=/usr/local/myclang/bin/llvm-ar