Displaying 20 results from an estimated 10000 matches similar to: "[LLVMdev] problems compiling gcc frontend: Error: bad register name `%rbp'"
2008 May 29
0
[LLVMdev] problems compiling gcc frontend: Error: bad register name `%rbp'
On May 28, 2008, at 5:22 PM, robert muth wrote:
> I have problem compiling the gcc frontend.
> Almost everything seems to compile but at the very end
> when crt startup files are compiled, the assembler complains
> about bad registers.
> Any idea what I am doing wrong?
> Thanks,
> Robert
It looks like your assembler is being invoked in 32-bit mode. Other
people have had
2008 May 29
1
[LLVMdev] problems compiling gcc frontend: Error: bad register name `%rbp'
Dale:
Yes, there were a number of postings in March. The issue seemed to not
have been fully resolved but
I added "i686-pc-linux-gnu" to the end of my command line
and now the whole thing compiles.
I cannot find a llvm-gcc binary in my install directory, all I have is
gcc which reports:
../export/bin/gcc -dumpmachine
i686-pc-linux-gnu
It turns out I can generate llvm assembler output
2007 May 25
3
[LLVMdev] Problems compiling llvm-gcc4 frontend on x86_64
Hi all,
I've run into problems compiling the llvm-gcc frontend on x86_64. Is this
not supported, or am I making an error somewhere?
The procedure I followed was:
1. Download LLVM 2.0 source as a tarball (from a few days ago, during
the testing phase).
2. Download the llvm-gcc4 source today, as a tarball.
3. Extract both.
4. Configure LLVM as: ../src/configure --prefix=`pwd`../install
2007 May 26
0
[LLVMdev] Problems compiling llvm-gcc4 frontend on x86_64
Hi Warren,
You have the -m32 flag set, but it's still giving you this:
> Warning: Generation of 64-bit code for a 32-bit processor requested.
> Warning: 64-bit processors all have at least SSE2.
But are you sure you want to compile the LLVM-GCC source? You should
use the binaries unless absolutely necessary.
-bw
On May 24, 2007, at 10:34 PM, Warren Armstrong wrote:
> Hi all,
2007 May 26
1
[LLVMdev] Problems compiling llvm-gcc4 frontend on x86_64
Hi Warren,
you can try to configure with the following
export CFLAGS="-m64"
export LDFLAGS="-L/usr/lib64"
LLVM:
../src/configure --prefix=`pwd`../install --enable-optimized --enable-jit
--enable-targets=host-only
make
LLVM-GCC:
../llvm-gcc4-2.0.source/configure --prefix=`pwd`../install
--program-prefix=llvm- --enable-llvm=/home/warren/llvm/obj/
--enable-languages=c,c++
2008 Mar 30
2
[LLVMdev] Compiling llvm-gcc on amd64 with 32 bits: assembler still carps
Hi all,
I managed to navigate around all those issues with environment variables
and such. llvm itself now builds and checks just fine, but I can't get
llvm-gcc to compile.
Trying to 'make' from .../gcc gives me:
./xgcc -B./ -B/home/jo/i686-pc-linux-gnu/bin/
-isystem /home/jo/i686-pc-linux-gnu/include
-isystem /home/jo/i686-pc-linux-gnu/sys-include
-L/home/jo/llvm-gcc-wrk/gcc/../ld
2008 Nov 18
5
[LLVMdev] llvm-gcc compilation error: BUILT_IN_ADJUST_TRAMPOLINE undeclared
llvm-gcc 2.4 doesn't seem to compile; what is wrong?
This is my first attempt to compile llvm-gcc.
The llvm core compiled without problems.
$ uname -a
Linux ygramoel 2.6.26.5-45.fc9.x86_64 #1 SMP Sat Sep 20 03:23:12 EDT 2008
x86_64 x86_64 x86_64 GNU/Linux
$ gcc -v
...
gcc version 4.3.0 20080428 (Red Hat 4.3.0-8) (GCC)
$ svn co
2008 Jul 30
3
[LLVMdev] llvm-gcc builds on 32 bit linux broken
Hi all,
I'm having some trouble building llvm-gcc as of today, with and without
bootstrap.
The error I get is:
/home/kooijman/src/llvm-gcc/obj/./gcc/xgcc
-B/home/kooijman/src/llvm-gcc/obj/./gcc/
-B/home/kooijman/src/llvm-gcc/obj/../install/i686-pc-linux-gnu/bin/
-B/home/kooijman/src/llvm-gcc/obj/../install/i686-pc-linux-gnu/lib/ -isystem
2008 Oct 02
1
[LLVMdev] build broken (a different way)
I get the output below on Ubuntu Hardy on ia32 from svn 56984.
John
make[2]: Entering directory `/home/regehr/llvm-gcc/build/gcc'
/home/regehr/llvm-gcc/build/./gcc/xgcc
-B/home/regehr/llvm-gcc/build/./gcc/ -B/home/regehr/i686-pc-linux-gnu/bin/
-B/home/regehr/i686-pc-linux-gnu/lib/ -isystem
/home/regehr/i686-pc-linux-gnu/include -isystem
/home/regehr/i686-pc-linux-gnu/sys-include -O2 -O2
2010 Jul 07
2
[LLVMdev] llvm-gcc : Did not get a target machine! Triplet is mips64el-unknown-linux-gnu
Hi all,
I met this error(title) when i was trying to compile llvm-gcc-4.2-2.7 on
loongson2f,a mips compatible platform.I also failed to build a
cross-compiler and the error message was the same . Is that means llvm-gcc
cannot support mips back-end now?
Thanks.
Here is my configure options:
$export TARGET=mips64el-unknown-linux-gnu
$../../src/llvm-gcc-4.2-2.7.source/configure
2008 Mar 30
0
[LLVMdev] Compiling llvm-gcc on amd64 with 32 bits: assembler still carps
It shoudl work fine if you set CC right and use --build --target
--host == i686-pc-linux-gnu
On Sun, Mar 30, 2008 at 10:40 AM, Joachim Durchholz <jo at durchholz.org> wrote:
> Hi all,
>
> I managed to navigate around all those issues with environment variables
> and such. llvm itself now builds and checks just fine, but I can't get
> llvm-gcc to compile.
>
>
2011 Jan 05
1
[LLVMdev] Building LLVM-GCC on Linux/PowerPC failed
陳韋任 wrote:
> > Does your maching have directories like /lib64 and /usr/lib64?
> Yes, it has /lib64 and /usr/lib64.
>
> > what is the size of a void pointer?
> $ ./a.out
> sizeof (void*) : 8
>
> > Does this change if you add -m64 to the gcc command line?
> No.
Ok, as far as I cam tell, everything on your system is
correct.
I don't have any further ideas
2008 Oct 05
1
[LLVMdev] Linux Kernel Compile for Sparc v8 Arch
On 2008-09-29 07:46, Keun Soo Yim wrote:
> Does anyone succeed at compiling Linux kernel for Sparc v8 architecture?
> I am currently trying to expand the regime of LLVM to Sparc kernel codes.
> The following is the initial error messages. Any comment is welcomed.
>
> #1. Inline Assembly
>
>
>
> Code:
>
> register struct thread_info
2008 Sep 30
0
[LLVMdev] Linux Kernel Compile for Sparc v8 Arch
On Sep 28, 2008, at 9:46 PM, Keun Soo Yim wrote:
>
> Does anyone succeed at compiling Linux kernel for Sparc v8
> architecture?
> I am currently trying to expand the regime of LLVM to Sparc kernel
> codes.
> The following is the initial error messages. Any comment is welcomed.
>
> #1. Inline Assembly
The Sparc backend has no active maintainer [1]. This
2008 Sep 29
3
[LLVMdev] Linux Kernel Compile for Sparc v8 Arch
Does anyone succeed at compiling Linux kernel for Sparc v8 architecture?
I am currently trying to expand the regime of LLVM to Sparc kernel codes.
The following is the initial error messages. Any comment is welcomed.
#1. Inline Assembly
Code:
register struct thread_info *current_thread_info_reg asm("g6");
Error Message:
include/asm/thread_info.h:77: error:
2010 Dec 29
0
[LLVMdev] LLVM for ARM target
On Dec 28, 2010, at 8:06 AM, akramul azim wrote:
> hi everyone,
>
> I am new in LLVM. I am using this command to compile gcc or configure LLVM for the ARM target.
>
> $ ../llvm-gcc-4.8/ configure --target=arm-linux --program-prefix=arm-
> arm- --prefix=$PWD/.. /install --disable-optimized --enable-bindings= none --enable-llvm=$PWD/../ llvm-2.8 --enable-languages=
2013 Jul 24
2
[LLVMdev] Program compiled with Clang -pg and -O crashes with SEGFAULT
Hi,
I am trying to compile a simple program with Clang 3.3 on Linux and used -pg and -O2 option. The program would crash with segfault. Interestingly if I compile it with -pg option only it works. Do you have any idea why it crashes? And any workaround?
$ cat myprog.c
int main() {
return 0;
}
$ clang -v -pg -O2 myprog.c
clang version 3.3 (tags/RELEASE_33/final)
Target:
2010 Dec 28
2
[LLVMdev] LLVM for ARM target
hi everyone,
I am new in LLVM. I am using this command to compile gcc or configure LLVM for the ARM target.
$ ../llvm-gcc-4.8/ configure --target=arm-linux --program-prefix=arm-
arm- --prefix=$PWD/.. /install --disable-optimized --enable-bindings= none --enable-llvm=$PWD/../ llvm-2.8 --enable-languages= c,c++
$ make
However, I get compile errors. So, i cannot execute make
2007 Mar 29
1
[LLVMdev] gcc 4.1* carashes compiling llvm-gcc
Hello, Ferad.
> `.gnu.linkonce.t._ZN4llvm12SCEVExpander6expandEPNS_4SCEVE' referenced
> in section `.rodata' of
> /home/ferad/llvm/llvm-obj/Release/lib/libLLVMAnalysis.a(ScalarEvolutionExpander.o):
> defined in discarded section
> `.gnu.linkonce.t._ZN4llvm12SCEVExpander6expandEPNS_4SCEVE' of
>
2016 Jun 22
0
x86: How to Force 2-byte `jmp` instruction in lowering
Hmm. Odd. I just rebuilt from scratch and it seems to work with
the test/CodeGen/X86/xray-attribute-instrumentation.ll test case outputing
straight to obj:
llc -filetype=obj -o ~/a.o -mtriple=x86_64-apple-macosx <
test/CodeGen/X86/xray-attribute-instrumentation.ll
What test case are you using?
In any case, the issue appears to be that llvm doesn't realize that the
target address is