Displaying 20 results from an estimated 3000 matches similar to: "[LLVMdev] New llvmgcc4 snapshot"
2006 May 09
0
[LLVMdev] New llvmgcc4 snapshot
Hi,
i tried compiling llvmgcc4 on x86_64-linux. The two changes i needed to
apply to llvm and llvmgcc4 are attached. Those two patches tell llvmgcc4
to use the x86 code-generator for x86_64 and give x86_64-* targets a
score of 10 for the x86 backend when trying to find appropriate backends.
Now i'm getting stuck during the compile when an assertion is triggered:
make[3]: Leaving
2006 May 13
0
[LLVMdev] Re: New llvmgcc4 snapshot
Chris Lattner wrote:
>
> Hi All,
>
> There's a new snapshot of llvmgcc4 available here:
>
> http://nondot.org/sabre/2006-05-08-llvm-gcc-4.tar.gz
Chris,
is there any chance that the new frontend will support dynamic loading of
backends? I.e:
llvm-g++ -load my_backend.so -march=my_arch a.c
?
Thanks,
Volodya
2006 Nov 06
1
[LLVMdev] Problems building cfrontend 4 source on SUSE 10.1
Hi Robert,
Please make sure that you:
1. Completely rebuild LLVM (make clean; make reconfigure; make
tools-only)
2. Completely rebuild llvm-gcc (wipe out the build dir with rm -rf,
configure llvm-gcc
and rebuild it)
If you've done that, then please enter the debugger and get a stack
trace for us.
You will need to:
1. Capture the xgcc compile command that failed
2. Run that command
2006 Nov 06
4
[LLVMdev] Problems building cfrontend 4 source on SUSE 10.1
This is an libpath problem. When xgcc runs it wants to dynamically link
the libgcc.so. When you run it from the command line it will find your
system libgcc.so (which works) and so you don't see the segfault. When
you run xgcc from the Makefile, it will have set LD_LIBRARY_PATH to get
your <cfebuilddir>/gcc directory which will find the libgcc.so that it
just built, which is the one
2006 Nov 06
3
[LLVMdev] Problems building cfrontend 4 source on SUSE 10.1
I was having video problems, so upgraded my Linux box from SUSE 9.3,
where LLVM frontend 4 source built fine, to SUSE 10.1, where I got the
error message:
../../llvm-gcc4-1.8-source/gcc/libgcc2.c:541: internal compiler error:
Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://llvm.org/bugs> for instructions.
This version of SUSE
2006 Nov 06
2
[LLVMdev] Problems building cfrontend 4 source on SUSE 10.1
Hi Robert,
On Mon, 2006-11-06 at 12:45 -0800, Robert Mykland wrote:
> Reid,
>
> Here's the backtrace you asked for:
>
> (gdb) bt
> #0 0x0862d65c in llvm::LiveVariables::runOnMachineFunction ()
Hmm, this is a little strange. Your LLVM build is non-debug (there's no
line numbers or arguments in any of the llvm related calls). However,
your llvm-gcc build seems to have
2006 Nov 06
0
[LLVMdev] Problems building cfrontend 4 source on SUSE 10.1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=us-ascii" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<b>Reid,<br>
<br>
I followed the steps but got stuck as described
2006 Nov 06
0
[LLVMdev] Problems building cfrontend 4 source on SUSE 10.1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Reid,<br>
<br>
Here's the backtrace you asked for:<br>
<br>
2006 Dec 03
3
[LLVMdev] problem building gcc4 front end on fedora core 5
I'm getting a build error when trying to build gcc4 from sources. This is
for the recent 1.9 release.
How I built llvm-1.9:
-----------------------------
tar zxf llvm-1.9.tar.gz
cd llvm-1.9/
./configure --prefix=/custom/llvm-1.9
make ENABLE_OPTIMIZED=1 OPTIMIZE_OPTION='-O2' tools-only
make install
How I built gcc4:
-----------------------------
export
2007 Feb 28
7
[LLVMdev] Cygwin release build error
I am getting an "--emit-llvm is not supported in this configuration" error on a release build on Cygwin, the debug build is fine.
make[3]: Entering directory `/usr/build/llvm/runtime/GCCLibraries/libc'
llvm[3]: Compiling atox.c for Release build (bytecode)
llvm-gcc: --emit-llvm is not supported in this configuration.
make[3]: ***
2007 Mar 01
3
[LLVMdev] compiling llvm-gcc4 on ubuntu
hello,
i am new to llvm and can't manage to compile the gcc backend.
my steps:
i compile the llvm-source first as suggested in "README.LLVM"
that works fine and without any issues.
then i make a new dir called build. from there i do the following:
stefan at ubuntu:~/programs/llvm/build$ ../llvm-gcc4-1.9.source/configure --enable-languages=c,c++ --prefix=/usr/local/
2007 Feb 28
0
[LLVMdev] Cygwin release build error
Aaron,
On Wed, 2007-02-28 at 15:40 +0000, Aaron Gray wrote:
> I am getting an "--emit-llvm is not supported in this configuration"
> error on a release build on Cygwin, the debug build is fine.
>
> make[3]: Entering directory
> `/usr/build/llvm/runtime/GCCLibraries/libc'
> llvm[3]: Compiling atox.c for Release build (bytecode)
> llvm-gcc:
2007 Feb 28
1
[LLVMdev] Cygwin release build error
I did not realize that '--enable-llvm' was required and that invalidates my debug build results which were built just with LLVM on the path.
I am now getting a segmentation fault when doing a 'make install' on LLVM-GCC4, possibly validating my original thoughts that GCC 4.1.1 was required to build LLVM-GCC 4.0.1. I will try using GCC 4.1.1.
Heres the error anyway :-
make[2]:
2007 Mar 01
0
[LLVMdev] compiling llvm-gcc4 on ubuntu
Hi Stefan,
On Thu, 2007-03-01 at 23:26 +0100, Stefan Weigert wrote:
> hello,
>
> i am new to llvm and can't manage to compile the gcc backend.
Okay. Did you read: http://llvm.org/docs/GettingStartedGuide.html ?
>
> my steps:
> i compile the llvm-source first as suggested in "README.LLVM"
> that works fine and without any issues.
Okay.
>
> then i
2006 May 13
2
[LLVMdev] Re: New llvmgcc4 snapshot
On Sat, 13 May 2006, Vladimir Prus wrote:
>> If you're interested, please try it out.
> I get this with LLVM CVS:
> Adding:
> #include "llvm/Target/TargetData.h"
> Fixed this.
Right, thanks.
> Chris, any change you'll make gcc4 frontend source available from some CVS?
> Then, I can put together a script to build it every night, to make sure
> things
2006 Jul 31
2
[LLVMdev] Auto-vectorization in GCC 4.0
Hi,
I am trying to turn on the new GCC auto-vectorization feature within
llvmgcc4. Below is the command I used, but nothing was vectorized. Does it
mean that llvmgcc4 has disabled this optimization and all I can do is to
embed SSE intrinsics in the source code by hand?
Thanks!
./llvm-gcc4-x86/bin/llvm-gcc -c -O2 -ftree-vectorize -msse
-ftree-vectorizer-verbose=5 -emit-llvm vec.c -o vec.bc
2006 May 15
0
[LLVMdev] Re: Re: New llvmgcc4 snapshot
Chris Lattner wrote:
> On Sat, 13 May 2006, Vladimir Prus wrote:
>>> If you're interested, please try it out.
>> I get this with LLVM CVS:
>> Adding:
>> #include "llvm/Target/TargetData.h"
>> Fixed this.
>
> Right, thanks.
>
>> Chris, any change you'll make gcc4 frontend source available from some
>> CVS? Then, I can
2006 May 02
1
[LLVMdev] Bootstrapping llvm-gcc4 on Mingw
Hello, Everyone.
I'm currently trying to bootstrap llvm-gcc4 on mingw32 platform.
Everything (except some small fixes) seems to be fine: stage1 finished
successfully. I'm linking with debug variant of LLVM, since linker bug
prevents release builds.
Unfortunately, stage2 failes immediately with this cryptic message:
$/f/tmp/llvm/gccbuild/gcc/xgcc -B/f/tmp/llvm/gccbuild/gcc/
2010 Jul 12
0
[LLVMdev] build errors while cross compiling llvm-gcc for ARM
> ~/Desktop/Sanjeev/LLVM/llvm-2.7/Release/lib/libLLVMgold.so --eh-frame-hdr
> -melf_i386 -dynamic-linker /lib/ld-linux.so.2 /usr/lib/crt1.o
Ok, this way you're generating code for x86
> /usr/lib/crti.o
> /usr/local/lib/gcc/i686-pc-linux-gnu/4.2.0/crtbegin.o
> -L/usr/local/lib/gcc/i686-pc-linux-gnu/4.2.0 -L/usr/local/lib -lgcc
> --as-needed -lgcc_s --no-as-needed -lc -lgcc
2006 May 15
1
[LLVMdev] Re: Re: New llvmgcc4 snapshot
The gcc4 tree is in svn. We believe it should be straight forward to
create a public svn image but it will be late next week before we can
set it up (minimal svn experience between Chris and myself.)
Cheers,
-- Jim
On May 15, 2006, at 3:12 AM, Vladimir Prus wrote:
> Chris Lattner wrote:
>
>> On Sat, 13 May 2006, Vladimir Prus wrote:
>>>> If you're