Displaying 3 results from an estimated 3 matches for "cc3x2m5t".
2008 May 29
1
[LLVMdev] problems compiling gcc frontend: Error: bad register name `%rbp'
...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 using "-S -emit-llvm"
but using just -emit-llvm does not work
./gcc -emit-llvm /home/robertm/hello.c
/tmp/cc3X2m5t.o: file not recognized: File format not recognized
collect2: ld returned 1 exit status
Is this expected?
Robert
On Wed, May 28, 2008 at 8:53 PM, Dale Johannesen <dalej at apple.com> wrote:
>
> On May 28, 2008, at 5:22 PM, robert muth wrote:
>
>> I have problem compiling the g...
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
2
[LLVMdev] problems compiling gcc frontend: Error: bad register name `%rbp'
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
HOST:
os: ubuntu 2.6.18 kernel x86_64 GNU/Linux
compiler: gcc (GCC) 4.0.3 (Ubuntu 4.0.3-1ubuntu5)
SOURCE:
svn trunk gcc4.2
CONFIGURE: