Displaying 20 results from an estimated 80000 matches similar to: "[LLVMdev] compile linux-2.6 using llvm-gcc"
2011 Dec 15
0
[LLVMdev] compile linux-2.6 using llvm-gcc
Hi Ping,
> Is there any method to compile linux-2.6 with llvm-gcc? I google the
> information, but found nothing. Can anybody help me?
llvm-2.6 is so old I doubt anyone here wants to think about it.
But why do you want to compile LLVM with llvm-gcc? Just compile
it with gcc or whatever compiler you have to hand.
Ciao, Duncan.
2011 Dec 15
1
[LLVMdev] compile linux-2.6 using llvm-gcc
On 12/15/11 11:15 AM, Duncan Sands wrote:
> Hi Ping,
>
>> Is there any method to compile linux-2.6 with llvm-gcc? I google the
>> information, but found nothing. Can anybody help me?
> llvm-2.6 is so old I doubt anyone here wants to think about it.
> But why do you want to compile LLVM with llvm-gcc? Just compile
> it with gcc or whatever compiler you have to hand.
2013 Jun 08
1
[LLVMdev] Compile Linux Kernel module into LLVM bitcode
Greatings, I am encountering the same issue with Kevin. Does anyone know how to compile the linux kernel to .bc file? Is there any oneline guide for this? Thanks!~
Bests,Ping
> Date: Sat, 1 Jun 2013 20:15:56 +0200
> From: baldrick at free.fr
> To: llvmdev at cs.uiuc.edu
> Subject: Re: [LLVMdev] Compile Linux Kernel module into LLVM bitcode
>
> Hi Kevin,
>
2009 Nov 06
1
[LLVMdev] llvm-gcc-4.2-2.6 build failed,
Thank you for reply,
I have tried building llvm-2.6 first in place, and configure llvm-gcc-4.2 with --enable-llvm=/path\to\llvm-2.6/,
but, still the same problerm,
and there's no files missed reported in the error message, such as "lvm/System/DataTypes.h", in the file system including /usr/include and ~/llvm/llvm-2.6/include/.
May these files should be generated during llvm-2.6
2010 Mar 18
2
[LLVMdev] Help with building LLVM 2.6 GCC
Hi Aaron, Duncan
Thanks for the answers.
>From Duncan's e-mail, I've tried to build llvm-2.6. First problem was
a missing dependence on lbffi.so.4.
But I've downloaded the source from redhat, compiled and passed that point.
Now I have another missing dependence on GLIBCXX_3.4.9. The version in
my system is 3.4.6-11.
I've been looking around for a 3.4.9 rpm for redhat, could
2010 Mar 17
2
[LLVMdev] Help with building LLVM 2.6 GCC
Greetings
I'm trying to build LLVM 2.6 GCC from the source files, but I am
having problems during the make step.
Here is the information:
1. My machine is:
Linux firefly 2.6.9-89.0.9.ELsmp #1 SMP Wed Aug 19 08:06:10 EDT 2009
x86_64 x86_64 x86_64 GNU/Linux
my gcc version is 4.2.1
2. I've unpacked llvm-gcc-4.2-2.6.source.tar.gz under the llvm-gcc
directory. I've also created two
2009 Nov 06
0
[LLVMdev] llvm-gcc-4.2-2.6 build failed,
oooo. I check out llvm form svn by
"svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm",
but not "svn co https://user at llvm.org/svn/llvm-project/llvm/trunk llvm",,,,
在2009-11-06,"Duncan Sands" <baldrick at free.fr> 写道:
>> and , I found no file ,System/DataTypes.h, exist in the directory llvm-2.6/include/llvm/
>
>Are you sure you are
2010 Mar 18
0
[LLVMdev] Help with building LLVM 2.6 GCC
Hi Eliseu,
> Now I have another missing dependence on GLIBCXX_3.4.9. The version in
> my system is 3.4.6-11.
how does this missing dependence manifest itself?
Ciao,
Duncan.
2009 Nov 05
5
[LLVMdev] llvm-gcc-4.2-2.6 build failed,
I try to build llvm-gcc-4.2-2.6.source before build and install llvm-2.6, the configure is shown bellow
../llvm-gcc-4.2/configure --prefix=/home/ts/program/ --program-prefix=llvm- --enable-llvm=/home/ts/llvm/llvm-2.6 --enable-languages=c,c++
where, it is the path where llvm-2.6 source is stored, -enable-llvm=/home/ts/llvm/llvm-2.6
the "make" gave error message as bellow:
2010 Mar 17
0
[LLVMdev] Help with building LLVM 2.6 GCC
Hi Eliseu,
> 2. I've unpacked llvm-gcc-4.2-2.6.source.tar.gz under the llvm-gcc
> directory. I've also created two subdirectories
> called "install" and "obj" under the same llvm-gcc.
>
> 3. Then I did the following, based on README.LLVM :
>
> %setenv LLVMOBJDIR /home/eliseuf/llvm/llvm-gcc/obj
first you need to build llvm itself. LLVMOBJDIR
2008 Jul 30
3
[LLVMdev] address space overloading patch broke the llvm-gcc build
Hi, I see this when building llvm-gcc on x86-32 linux:
xgcc -Bgcc/ -B/usr/local/gnat-llvm/i686-pc-linux-gnu/bin/ -B/usr/local/gnat-llvm/i686-pc-linux-gnu/lib/ -isystem /usr/local/gnat-llvm/i686-pc-linux-gnu/include -isystem /usr/local/gnat-llvm/i686-pc-linux-gnu/sys-include -DHAVE_CONFIG_H -I. -I../../../gcc-4.2.llvm/libgomp -I. -I../../../gcc-4.2.llvm/libgomp/config/linux/x86
2009 Oct 27
1
[LLVMdev] llvm-2.6: compile linux kernel
I'm using LLVM 2.6 to buid Linux 2.6.31-git. I read here and old
thread about kernel and llvm-2.3 [1] so I'd like to ask again.
# make CROSS_COMPILE=llvm- V=1
(...)
llvm-gcc -Wp,-MD,init/.main.o.d -nostdinc -isystem
/usr/lib/llvm-gcc-4.2-2.6/lib/gcc/i686-pc-linux-gnu/4.2.1/include
-Iinclude -I/opt/linux-2.6/arch/x86/include -include
include/linux/autoconf.h -D__KERNEL__ -Wall -Wundef
2009 Sep 11
4
[LLVMdev] LLVM-GCC & GV zeroinitializers, 2.5 vs 2.6.
Hello folks,
I have a small piece of C code written like this:
typedef struct {
char a;
int b;
int c;
} foo;
foo myFoo[5] = {{0}};
With llvm-gcc 2.5, I get the following IR:
%struct.foo = type { i8, i32, i32 }
@myFoo = global [5 x %struct.foo] zeroinitializer, align 32
With the current 2.6, I get this:
%0 = type { i8, [11 x i8] }
2008 Jun 17
2
[LLVMdev] x86-64 linux llvm-gcc broken
My nightly tester reports that it failed to bootstrap today:
Comparing stages 2 and 3
warning: ./cc1-checksum.o differs
warning: ./cc1plus-checksum.o differs
Bootstrap comparison failure!
./c-cppbuiltin.o differs
./real.o differs
./build/genautomata.o differs
Ciao,
Duncan.
2008 Oct 01
3
[LLVMdev] llvm-gcc linux build broken
> This means that I don't have a working llvm-gcc with TOT either.
I get the same thing on x86-32.
Ciao,
Duncan.
2011 Oct 17
2
[LLVMdev] Compile llvm-gcc fortran backend using mingw
Thank you for quick reply.
I see, llvm-gcc is frozen....
Is there Fortran front-end for LLVM then?
On Mon, Oct 17, 2011 at 5:09 PM, Duncan Sands <baldrick at free.fr> wrote:
> Hi Pavel,
>
> > BTW, it is little bit strange that llvm-gcc doesn't support CMake
> building system.
> > LLVM does and it is extremely convenient....
>
> llvm-gcc is dead, deprecated
2008 Oct 01
2
[LLVMdev] llvm-gcc linux build broken
On Wednesday 01 October 2008 16:44:11 Török Edwin wrote:
> On 2008-10-01 17:36, Duncan Sands wrote:
> >> It builds here (Linux x86_64), I use the following configure line:
> >> ../llvm-gcc4.2/configure
> >> --prefix=/home/edwin/llvm-svn/obj42/../install --program-prefix=llvm-
> >> --enable-llvm=/home/edwin/llvm-svn/llvm/ --disable-multilib
> >>
2011 Oct 17
3
[LLVMdev] Compile llvm-gcc fortran backend using mingw
Hello everyone!
I got following error while trying to compile llvm-gcc-4.2 using mingw:
..\llvm-gcc-4.2\obj\libcpp/../../libcpp/macro.c:1165:
undefined reference to `flag_iasm_blocks'
stub-c.o:stub-c.c:(.debug_info+0x81a0): undefined reference to
`flag_iasm_blocks'
stub-c.o:stub-c.c:(.debug_info+0x81b9): undefined reference to `iasm_state'
stub-c.o:stub-c.c:(.debug_info+0x81d8):
2010 Apr 01
3
[LLVMdev] Help with building LLVM 2.6 GCC
I'm running into the same error.
Correct me if I'm wrong. To build llvm, you'd need llvm-gcc front-end.
You're saying we'd need llvm in order to build llvm-gcc.
So how should we kick start the process?
Thanks.
Duncan Sands wrote:
>
> Hi Eliseu,
>
>> 2. I've unpacked llvm-gcc-4.2-2.6.source.tar.gz under the llvm-gcc
>> directory. I've also
2013 Jun 01
0
[LLVMdev] Compile Linux Kernel module into LLVM bitcode
Hi Kevin,
On 01/06/13 09:59, Kevin Boos wrote:
> Greetings,
>
> I am trying to compile a linux kernel module (currently a small part of the gpu driver) into the bitcode ".bc" format so that I can run a pass on it using the "opt" command. This pass will count the number of times copy_to/from_user() is invoked.
>
> Compiling the gnu driver kernel modules works