[SeaBIOS] [RfC PATCH 1/2] pci: move to two-pass pci initialization

Alon Levy alevy at redhat.com
Thu May 26 08:53:16 CEST 2011


On Thu, May 26, 2011 at 06:43:57AM +0200, André Weidemann wrote:
> Hi Gerd,
> 
> On 25.05.2011 14:45, Gerd Hoffmann wrote:
> >PS: full patch collection @
> >http://www.kraxel.org/cgit/seabios/log/?h=kraxel.q35
> 
> I checked out your branch under Ubuntu Natty and ran "make". But
> unfortunately linking failed with the following error(see below).
> 
> root at test:/tmp/seabios-pci-two-pass# make
>   Build Kconfig config file
>   Compiling whole program out/ccode.16.s
>   Compiling to assembler out/asm-offsets.s
>   Generating offset file out/asm-offsets.h
>   Compiling (16bit) out/code16.o
>   Compiling whole program out/ccode32flat.o
>   Compiling whole program out/code32seg.o
>   Building ld scripts (version "pre-0.6.3-20110526_043255-test")
> Fixed space: 0xe05b-0x10000  total: 8101  slack: 2  Percent slack: 0.0%
> 16bit size:           39408
> 32bit segmented size: 1636
> 32bit flat size:      13292
> 32bit flat init size: 58352
>   Linking out/rom16.o
> out/romlayout16.lds:699 cannot move location counter backwards (from
> 000000000000ca0f to 000000000000c9f4)
> make: *** [out/rom16.o] Error 1
> 
> 
> Natty comes with gcc-4.5.2 and binutils 2.21.0.

You need a newer binutils. 2.21.51.0.9 works fine.

> 
> Regards
>  André
> 
> _______________________________________________
> SeaBIOS mailing list
> SeaBIOS at seabios.org
> http://www.seabios.org/mailman/listinfo/seabios



More information about the SeaBIOS mailing list