[SeaBIOS] Cannot move location counter backwards (romlayout16.lds) error
Peter Stuge
peter at stuge.se
Tue May 17 19:45:55 CEST 2011
Idwer Vollering wrote:
> > gnostic at GnoStiC-G633:~/seabios-0.6.2$ gcc -v
> > ...
> > gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu4)
Ubuntu toolchain is known to be broken. They have added patches which
make the toolchain unable to build coreboot and/or SeaBIOS correctly.
> Download coreboot's source code from subversion, then use crossgcc to
> build SeaBIOS: http://www.coreboot.org/Download_coreboot
>
> $ svn co svn://coreboot.org/coreboot/trunk ~/coreboot/svn/trunk/
> $ cd ~/coreboot/svn/util/crossgcc/
Note the paths should be the same.
> $ ./buildgcc
Since a few commits it's also possible to run make crossgcc in the
coreboot top-level directory to build the reference toolchain.
> $ cd ~/seabios/seabios-master
> $ export PATH=~/coreboot/svn/trunk/util/crossgcc/xgcc/bin/:"$PATH"
> $ make HOSTCC=i386-elf-gcc LD=i386-elf-ld
Yup.
//Peter
More information about the SeaBIOS
mailing list