Displaying 20 results from an estimated 600 matches similar to: "[LLVMdev] Build a static-linked executable using llvm"
2013 Jul 30
0
[LLVMdev] LLVM and Cygwin
Hi Brian,
On 29/07/13 23:42, Brian Herman wrote:
> I got the following error while compiling llvm and clang under cygwin.
>
> /cygdrive/c/Users/brianherman/Desktop/llvm/llvm-3.3.src/Release+Asserts/lib/libLLVMMCJIT.a(SectionMemoryManager.o):SectionMemoryManager.cpp:(.text+0x3b):
> undefined reference to `__register_frame'
I register_frame is used to enable the debugger (gdb) to
2013 Jul 30
2
[LLVMdev] LLVM and Cygwin
I get this when I type:
brianherman at windows-8-[REDACTED] ~
$ nm libgcc_eh.a | grep register_frame
nm: 'libgcc_eh.a': No such file
brianherman at windows-8-[REDACTED] ~
$ nm libgcc_eh.a | grep register_fram
nm: 'libgcc_eh.a': No such file
brianherman at windows-8-[REDACTED] ~
$
On Tue, Jul 30, 2013 at 7:51 AM, Duncan Sands <baldrick at free.fr> wrote:
> Hi
2011 Jan 08
0
[LLVMdev] Build a static-linked executable using llvm
You are missing references for pthread. Try to add -pthread to build line.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110108/90c573ca/attachment.html>
2010 Dec 22
4
[LLVMdev] Why IR portable?
Dear all,
I cannot find the answer of this question.
We all know LLVM IR is portable, but it uses ILP32 and record the target
layout within the IR.
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64
:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
target triple = "x86_64-linux-gnu"
It seems it already assigned
2010 Dec 22
2
[LLVMdev] Why IR portable?
Thanks very much for all of your answer.
I was confused by definition of 'portable' by my own thinking. Now I Correct
that.
(ILP32 is in another project, It's my typo. Thanks)
So let me make a conclusion about this.
LLVM IR can be a portable language,
just depending on our front-end configuration or origin language limits.
Did I mistake that?
Thank a lot all of you.
2010/12/22
2010 Dec 30
1
[LLVMdev] Building LLVM-GCC on Linux/PowerPC failed
Dear all,
I heard a different way to solve it.
$ apt-get install libc6-dev-amd64
Maybe this can help?
2010/12/30 Anton Korobeynikov <anton at korobeynikov.info>
> Hello
>
> > Thanks for the tip. My PS3 workstationn is installed a 32-bit OS. I will
> Please carefully read the readme.llvm file in the llvm-gcc source
> directory.
> At least it will give some hints how
2011 Aug 06
2
[LLVMdev] llvm-gcc near tip causing crash in /usr/bin/ld due to memory corruption on linux x86_64
Hi everyone,
-r136747 of llvm-gcc (and possibly others) is apparently tickling a binutils
issue on linux x86-64
Has anyone seen anything like this?
Thanks
-jason
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110806/e7e717ef/attachment.html>
-------------- next part --------------
2010 Nov 05
1
[LLVMdev] Using LLVM components
Dear all,
I'm a beginner in LLVM field. If any rudeness, I feel sorry to that.
I have checked-out the source and built successfully.
Now I want to use it, so I write a simple code.
// context.cpp
#include "llvm/LLVMContext.h"
int main() {
llvm::LLVMContext& context = llvm::getGlobalContext();
return 0;
}
$ clang++ `llvm-config --cxxflags --ldflags --libs` context.cpp
But
2011 Jan 04
2
[LLVMdev] LLVM for ARM target
At the last step of building llvm for arm target, I am unable to build llvm-gcc. I am trying the follwing options:
$ ../llvm-gcc/configure --target=arm-linux --enable-pic --program-prefix=llvm-
--prefix=/llvm/install --disable-multilib --disable-optimized --enable-bindings
=none --enable-llvm=$PWD/../llvm-2.8 --enable-languages=c,c++ --disable-bootstr
ap
Then I get the following error when I
2013 Jul 30
1
[LLVMdev] LLVM and Cygwin
brianherman at windows-8-doesn't rock /lib/gcc/i686-pc-cygwin/4.7.3
$ nm libgcc_eh.a | grep register_frame
000011b0 T ___deregister_frame
000011a0 T ___deregister_frame_info
000010d0 T ___deregister_frame_info_bases
00000fe0 T ___register_frame
00000fb0 T ___register_frame_info
00000f40 T ___register_frame_info_bases
00001070 T ___register_frame_info_table
00001010 T
2013 Jul 30
0
[LLVMdev] LLVM and Cygwin
> $ nm libgcc_eh.a | grep register_frame
> nm: 'libgcc_eh.a': No such file
I think he meant to find out where libgcc_eh.a lives under Cygwin and
execute the command on that file. It should be somewhere amongst the
stuff installed with gcc, but the exact location can vary quite a bit.
Cheers.
Tim.
2013 Jul 29
5
[LLVMdev] LLVM and Cygwin
I got the following error while compiling llvm and clang under cygwin.
/cygdrive/c/Users/brianherman/Desktop/llvm/llvm-3.3.src/Release+Asserts/lib/libLLVMMCJIT.a(SectionMemoryManager.o):SectionMemoryManager.cpp:(.text+0x3b):
undefined reference to `__register_frame'
2015 Mar 12
2
[LLVMdev] Customize Standard C Library Using LLVM (to support llvm backend optimization)
2015-03-11 16:22 GMT-05:00 Richard Gorton <
rcgorton at cognitive-electronics.com>:
> I can confirm that musl builds and works correctly with clang/llvm. We
> are using musl as a libc for our architecture.
> It has a much smaller code footprint than newlib or glibc.
>
I successfully cross-compile the must-libc using clang, with the
configuration:
C=clang
2005 Jan 03
1
[LLVMdev] Problem with LLVM CFE bootstrap at FreeBSD
I can't boostrap LLVM CFE at FreeBSD with current LLVM and LLVM CFE CVS
sources.
GCC bootstrap terminated with error:
/usr/home/wanderer/pkg/build/llvm/objcfe/gcc/xgcc -B/usr/home/wanderer/pkg/build/llvm/objcfe/gcc/
-B/home/wanderer/pkg/build
/llvm/night/cfe/i386-unknown-freebsd5.3/bin/ -B/home/wanderer/pkg/build/llvm/night/cfe/i386-unknown-freebsd5.3/lib/
-isystem
2010 Apr 11
2
[LLVMdev] how to compile llvm-gcc whith lto support for ARM
i try compile with options:
binutils 2.20.1
../configure --target=arm-unknown-linux-gnueabi --program-prefix=arm-
--prefix=/home/kursh/arm --enable-gold --enable-plugins
--with-sysroot=/home/kursh/arms/sys-root
make && make install
LLVM:
CXXFLAGS="-fPIC" ../configure \
--enable-jit \
--enable-optimized \
--enable-shared\
--enable-pic\
--with-pic\
2012 Dec 06
0
[LLVMdev] LLVM+Clang 3.2rc2 MinGW binaries' libstdc++ requirement
I attempted to run the 3.2rc2 experimental LLVM+Clang package for
Mingw32/x86 [1], and ran into difficulty finding a suitable version of
MinGW to run it with. Part of the problem is that Windows G++ changed
its C++ ABI in 4.7 [2].
Through experimentation, I've determined that the LLVM binaries do not
run using the libraries shipped with TDM-GCC 4.5 because there is a
missing symbol.
2012 Dec 06
0
[LLVMdev] LLVM+Clang 3.2rc2 MinGW binaries' libstdc++ requirement
> I attempted to run the 3.2rc2 experimental LLVM+Clang package for
> Mingw32/x86 [1], and ran into difficulty finding a suitable version of
> MinGW to run it with. Part of the problem is that Windows G++ changed
> its C++ ABI in 4.7 [2].
LLVM+Clang 3.2rc2 Mingw32/x86 binaries were built on Windows 7
machine with fresh Minwg32 installation. Minwg32 installation
was performed using
2002 Aug 07
0
AIX 4.3.3/OpenSSH 3.4p1 compile problem
I am having a problem building OpenSSH on my AIX 4.3.3 box. It fails
during the make with the following error:
xlc -o ssh ssh.o sshconnect.o sshconnect1.o sshconnect2.o
sshtty.o readconf.o clientloop.o -L. -Lopenbsd-compat/
-L/usr/local/ssl/lib -L/usr/local/lib -L/usr/local/lib
-L/usr/athena/lib -L/usr/afsws/lib
-blibpath:/usr/lib:/lib:/usr/local/lib:/usr/athena/lib -lssh
2007 Apr 19
0
[LLVMdev] llvm-gcc won't bootstrap
On Apr 19, 2007, at 2:37 PM, David Greene wrote:
> Got a strange problem. With our modified llvm here,llvm-gcc won't
> bootstrap. It fails compiling unwind-dw2.c during translation from
> the gcc IR to llvm. It fails with -O0 -emit-llvm so according to
> the docs, this is strictly a frontend bug. A run of delta produced
> an 18 line testcase with nothing remarkable in it.
2007 Dec 08
0
[LLVMdev] Darwin vs exceptions
On Dec 7, 2007, at 4:40 PM, Dale Johannesen wrote:
> So I couldn't get exceptions to work on PPC darwin. After much
> digging and confusion, there seem
> to be two separate issues.
Ok.
> The gcc testsuite is running the version of the unwinding code that
> was built with the local (llvm-)gcc,
> which doesn't work because nobody has implemented
>