[coreboot] New trunk/filo branch
Stefan Reinauer
stepan at coresystems.de
Sun Aug 31 18:13:01 CEST 2008
Vincent Legoll wrote:
> Hello,
>
> I was trying to use the new trunk/filo branch, but encountered problems,
> it needs a cross compiler to work:
>
> with native x86_64 gcc -m32, I got:
>
> printf.c:(.text+0x344): undefined reference to `__umoddi3'
> printf.c:(.text+0x379): undefined reference to `__udivdi3'
>
> those functions are not present in the libgcc.a associated with that compiler...
>
Your native gcc probably lacks a 32bit libgcc installation. You should
upgrade to a fixed compiler.
Which distribution and gcc version are you using?
> Then I saw the build.sh script, tried it and it didn't work, I fixed
> it with the attached patch,
> but this is still not good wrt the crosscompiler issue...
>
Your patch breaks building on about every Linux x86 64bit platform.
> I don't think it is good practice to mess with MAKEFLAGS that way, so
> I removed it and
> used plain shell variables.
Why would you say it is not good practice?
> I removed the duplicated "-m32" too.
>
Where did you see a duplicate -m32?
--
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info at coresystems.de • http://www.coresystems.de/
Registergericht: Amtsgericht Freiburg • HRB 7656
Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866
More information about the coreboot
mailing list