[LLVMdev] Compiling llvm-gcc on amd64 with 32 bits: assembler still carps

Joachim Durchholz jo at durchholz.org
Sun Mar 30 10:41:44 PDT 2008


Am Sonntag, den 30.03.2008, 19:16 +0400 schrieb Anton Korobeynikov:
> Hello, Joachim.
> 
> > What's wrong?
> Looks like, it uses 64-bit assembler.

That was my assumption as well.

>  Could you please check installed binutils?

$ llvm-as -version
Low Level Virtual Machine (http://llvm.org/):
  llvm version 2.3svn
  Optimized build with assertions.

$ as --version
GNU assembler (GNU Binutils for Ubuntu) 2.18
Copyright 2007 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms
of the GNU General Public License version 3 or later.
This program has absolutely no warranty.
This assembler was configured for a target of `x86_64-linux-gnu'.

I'm using --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu
--target=i686-pc-linux-gnu as configure options though, so it *should*
assemble in 32-bit mode. (Unless configure or the makefiles got
something wrong and aren't determining the right options from
--build/host/target.)

Regards,
Jo




More information about the llvm-dev mailing list