Inline assembler problems with S2880 build

Stefan Reinauer stepan at suse.de
Tue Nov 18 11:21:00 CET 2003


* maillists at petrolhead.com <maillists at petrolhead.com> [031118 17:35]:
> Hi,
> 
> I'm a newbie to this, but I'm trying to build for a Tyan S2880 board.
> However during the build I get;
> 
> ....
> eebios2/src/devices/hypertransport.c
> /tmp/ccniyAWJ.s: Assembler messages:
> /tmp/ccniyAWJ.s:120: Error: Incorrect register `%rcx' used with `l' suffix
> /tmp/ccniyAWJ.s:122: Error: Incorrect register `%rcx' used with `l' suffix
> 
> This is built on a completely standard Suse 2.4.19 build
> Linux Boco 2.4.19 #1 Wed Jun 25 21:34:14 UTC 2003 x86_64 unknown unknown
> GNU/Linux
 
You have to compile LinuxBIOS using the 32bit instruction set of the
AMD64 cpu. To do this, add the following to your target configuration
file (i.e. freebios2/targets/tyan/s2880/Config.lb):

uses CC
option CC="gcc -m32"

 Stefan


-- 
     Stefan Reinauer, SUSE LINUX AG
Teamleader Architecture Development



More information about the coreboot mailing list