Displaying 20 results from an estimated 1300 matches similar to: "[LLVMdev] libLTO on linux"
2009 Feb 20
2
[LLVMdev] libLTO warning
Hi all,
I just svn-updated the 2.5 branch on my machine and I noticed this warning
during the build.
*** Warning: Linking the shared library
/home/maurice/installation/llvm/Debug/lib/libLTO.la against the non-libtool
*** objects /home/maurice/installation/llvm/Debug/lib/LLVMCppBackend.o
/home/maurice/installation/llvm/Debug/lib/LLVMMSIL.o
/home/maurice/installation/llvm/Debug/lib/LLVMCBackend.o
2009 Feb 20
0
[LLVMdev] libLTO warning
Maurice Gittens wrote:
> Hi all,
>
> I just svn-updated the 2.5 branch on my machine and I noticed this
> warning during the build.
>
> *** Warning: Linking the shared library
> /home/maurice/installation/llvm/Debug/lib/libLTO.la against the non-libtool
> *** objects /home/maurice/installation/llvm/Debug/lib/LLVMCppBackend.o
>
2008 Nov 30
0
[LLVMdev] libLTO on linux
On Sat, Nov 29, 2008 at 9:17 PM, Nick Lewycky <nicholas at mxc.ca> wrote:
> I'm looking into the possibility of building the libLTO plugin on Linux,
> and got tangled up in the build system.
>
> Currently, tools/Makefile only includes 'lto' when the OS equals Darwin,
> while tools/lto/Makefile has an if-statement that builds libLTO as a
> static library on
2009 Jul 31
2
[LLVMdev] llvm-gcc build of inferno/plan 9 'mk' fails
hello,
I'm attempting to build the inferno source tree using either of native
LTO or jit'd bins and having no obvious luck.
im using macports (current as of this email) llvm-2.5 and llvm-gcc on
a macbook pro (x86)
following the inferno directions verbatim will use 'cc' as the
compiler and just works.
the build tools are different from the naive build tools as follows:
2009 Jul 31
0
[LLVMdev] llvm-gcc build of inferno/plan 9 'mk' fails
On Thu, Jul 30, 2009 at 11:03 PM, james
northrup<northrup.james at gmail.com> wrote:
> CC="p llvm-gcc-4.2 `llvm-config --cflags` -march=i386 --emit-llvm -O0
> -c -I$PLAT/include -I$ROOT/include -I$ROOT/utils/ include"
> LD="p llvm-ld `llvm-config --ldflags --libs all `"
> AR="p llvm-ar crvs"
Using llvm-ar+llvm-ld is likely to give you bad
2010 Aug 02
0
[LLVMdev] CMake broken?
I'm seeing this as well, but for the LLVMAlphaAsmParser:
CMake Error at cmake/modules/LLVMConfig.cmake:90 (message):
Library LLVMAlphaAsmPrinter not found in list of llvm libraries.
Call Stack (most recent call first):
cmake/modules/LLVMConfig.cmake:27 (explicit_map_components_to_libraries)
cmake/modules/LLVMConfig.cmake:20 (explicit_llvm_config)
cmake/modules/AddLLVM.cmake:61
2008 Dec 18
0
[LLVMdev] Troubles with clang and llvm libraries and simple Xcode project
Hi,
I'm having a hard time linking the LLVM/clang libraries in Xcode.
I've been fighting this for a couple of days now, and decided to make
a fresh checkout and a super-simple demo project to try and isolate
the problem, but even so I'm getting undefined symbol errors in the
linker for the static libraries LLVM is producing. This is really
baffling, so probably I'm
2010 Aug 02
6
[LLVMdev] CMake broken?
Hi all,
CMake seems to have broken in the last few days - or is it just me?
tcare:llvm-release tcare$ make -j4
-- Target triple: x86_64-apple-darwin10.5.0
-- Native target architecture is X86
-- Threads enabled.
-- Building with -fPIC
-- Targeting X86
CMake Error at cmake/modules/LLVMConfig.cmake:90 (message):
Library LLVMARMAsmParser not found in list of llvm libraries.
Call Stack (most
2009 Mar 09
1
[LLVMdev] addPassesToEmitFile
When you say 'static libraries' do you mean static libraries or shared
objects (.so)... Because if you mean shared objects, then it could
very well explain you crash.
On Mar 9, 12:16 am, Álvaro Castro Castilla
<alvaro.castro.casti... at gmail.com> wrote:
> Well, I've been before hours trying this, but soon after I sent the
> email I found something. However is quite
2009 Nov 01
1
[LLVMdev] Issue compiling LLVM 2.6 on Windows with MinGW
Hello,
I downloaded LLVM 2.6 and was attempting to compile it with TDM-GCC
4.4.1-tdm2-sjlj + cmake 2.6.4 and this happened:
=============Console===================
C:\projects\game-editor\LLVM\build-root>mingw32-make
[ 2%] Built target LLVMSystem
[ 5%] Built target LLVMSupport
[ 7%] Built target tblgen
[ 7%] Built target intrinsics_gen
[ 10%] Built target LLVMCore
[ 12%] Built target
2008 Nov 30
1
[LLVMdev] libLTO on linux
On Nov 29, 2008, at 10:44 PM, Chandler Carruth wrote:
>>
>> If we're going to build a .so file, we need those .o's to be built
>> with
>> -fPIC. As far as I can see, configuring LLVM with --enable-pic
>> actually
>> does that already, so perhaps we can make it the default.
>>
>> But that warning isn't about PIC, it's about the
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:
2007 Dec 23
3
[LLVMdev] Odd problem with command line options
I'm linking a program (my ellsif driver) that basically brings in most
of the LLVM stuff: bitcode reading, optimizations, linking, and target
code generation.
All of a sudden, I'm getting the following when I run:
[~/elsa/ellsif] dev% ./ellsif -v test/ofmt.i test/sieve.i -time-actions -O5
<premain>: CommandLine Error: Argument 'machine-licm' defined more than
once!
2017 Feb 15
2
Asan self host problems: Failed to deallocate
I wish there was something like the line in config.log that would show the
CMake command, but instead I can at least show you the CMakeCache files for
my release build and asan build (attached to this email).
No lld, so far as I know - believe I'm using gold at the moment for both
builds.
Did just reproduce this with a clean release build and a clean asanified
build from that. Same errors. I
2008 Feb 21
0
[LLVMdev] llvm 2.2 install and ocaml bindings
Erick,
I see the problem. The llvm-config linker options are baked into the
ocaml library, which is good. But for the execution engine, that link
line includes the full paths to some .o files. Those paths come from
llvm-config, and they vary before and after installation. (Before
install, they point into the source tree as you're seeing.) You could
theoretically get working
2015 Dec 14
2
Build libLTO.a instead of libLTO.dylib with Cmake
Hello,
Is there any CMake variable available to build LLVM libs as static
libraries. I found one -DLIBCLANG_BUILD_STATIC=ON but what if I want
libLTO.a instead of libLTO.dylib ?
*Vivek Pandya*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20151214/1e03efc9/attachment.html>
2012 Nov 08
1
[LLVMdev] Automating Analysis Pass at linktime question [liblto] [safecode]
Hello all,
I'm a research assistant at the University of Wisconsin and we're trying to
come up with a general way to run our whole program analysis over programs
that may use different methods to perform the build. I saw some discussion
that liblto could be used for this (and safecode successfully did it) for
llvm 2.6 - 3.0, but that doesn't seem to be working the same way with llvm
2009 Nov 12
2
[LLVMdev] libLTO on Mac OS X
Dear LLVMers,
I'm currently working on creating an alternate libLTO.so that will run
some whole-program analysis and transforms of mine during the final
linking of an executable. The idea is for it to link all of the bitcode
files together, run the regular LTO passes, and then run my passes. For
Linux, I should be able to get the Gold linker to load my libLTO.so
instead of the standard
2009 Nov 12
0
[LLVMdev] libLTO on Mac OS X
On Nov 12, 2009, at 11:43 AM, John Criswell wrote:
> Dear LLVMers,
>
> I'm currently working on creating an alternate libLTO.so that will run
> some whole-program analysis and transforms of mine during the final
> linking of an executable. The idea is for it to link all of the
> bitcode
> files together, run the regular LTO passes, and then run my passes.
> For
2011 Nov 16
1
[LLVMdev] Wrong path to libLTO.so in LLVMgold.so on Linux
The path to libLTO.so in LLVMgold.so points to the build
directory on my machine:
% ldd /usr/local/lib/LLVMgold.so
linux-vdso.so.1 (0x00007fff3d795000)
/var/tmp/build_llvm_clang/Release+Asserts/lib/libLTO.so => not found
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f1703983000)
...
I have configured clang with:
../llvm/configure --enable-optimized