[coreboot] ADLO for buildrom

Uwe Hermann uwe at hermann-uwe.de
Thu May 1 00:08:59 CEST 2008


On Wed, Apr 30, 2008 at 11:01:24PM +0200, Uwe Hermann wrote:
> > +$(LEGACYBIOS_SRC_DIR)/out/rom.bin: $(LEGACYBIOS_STAMP_DIR)/.unpacked
> > +	@ echo "Building legacybios..."
> > +	@ echo $(LEGACYBIOS_SRC_DIR)
> > +	@ make -C $(LEGACYBIOS_SRC_DIR) > $(LEGACYBIOS_BUILD_LOG) 2>&1
> 
> Doesn't work for me.
> 
> Adding 'AVOIDCOMBINE=1' as per legacybios README helps, but there are
> still build failures on my box (x86, Linux):
> 
> src/romlayout.S: Assembler messages:
> src/romlayout.S:427: Error: attempt to .org/.space backwards? (-1)
> src/romlayout.S:490: Fatal error: can't write out/romlayout16.o: Bad value
> make[1]: *** [out/romlayout16.o] Error 1
> 
> Any ideas?

OK, this is a solved problem.

The 0.2.0 version works with gcc 4.1 but not with 4.2 or 4.3.
However, the current git version _does_ work fine with all of them,
(well, with gcc >= 4.1 at least).

I think we should move to not wget the tarball but rather get specific git
versions to make grabbing fixes from git easier (if no release happens
early enough for our purposes).

http://linuxtogo.org/cgi-bin/gitweb.cgi
http://linuxtogo.org/cgi-bin/gitweb.cgi?p=kevin/legacybios.git;a=summary

 
Uwe.
-- 
http://www.hermann-uwe.de  | http://www.holsham-traders.de
http://www.crazy-hacks.org | http://www.unmaintained-free-software.org




More information about the coreboot mailing list