-----Original Message----- From: coreboot-bounces@coreboot.org [mailto:coreboot-bounces@coreboot.org] On Behalf Of Uwe Hermann Sent: Wednesday, April 30, 2008 4:09 PM To: Myles Watson; Jordan Crouse Cc: Coreboot Subject: Re: [coreboot] ADLO for buildrom
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).
I'd rather not live on the edge. Since it's a one-developer project we should be able to talk him into releases when there's a major change and it's stabilized, but if it's important to you we can change it.
Myles