[LinuxBIOS] compile errors on tyan S2881
ward at gnu.org
Fri Dec 2 21:51:01 CET 2005
On Fri, Dec 02, 2005 at 12:36:23PM -0800, yhlu wrote:
> please go
> to get the patch for that..
> Also I have add inine attribute((__always_inline__)) to some must
> inline function to make it works gcc already....
> We will apply the patch into the public tree soon....
Thanks! That helped it get past that particular error. Now it dies during
gcc -m32 -nostdlib -nostartfiles -static -o linuxbios -T ldscript.ld crt0.o init.o
/usr/bin/ld: section .rom [00000000fffb0000 -> 00000000fffb011f] overlaps section .ram [00000000fffaa000 -> 00000000fffb2fcc]
/usr/bin/ld: section .init [00000000fffb0120 -> 00000000fffb5faf] overlaps section .ram [00000000fffaa000 -> 00000000fffb2fcc]
/usr/bin/ld: linuxbios: section .rom lma 0xfffb0000 overlaps previous sections
/ usr/bin/ld: linuxbios: section .init lma 0xfffb0120 overlaps previous sections
/usr/bin/ld: linuxbios: section .data lma 0xfffb2fd0 overlaps previous sections
/usr/bin/ld: linuxbios: section .init.data lma 0xfffb2fd0 overlaps previous sections
collect2: ld returned 1 exit status
make: *** [linuxbios] Error 1
> On 12/2/05, Ward Vandewege <ward at gnu.org> wrote:
> > Hi there,
> > We have a couple of Tyan S2881 boxes that we want to run linuxbios on.
> > I checked out the latest SVN repository (revision 2117), but get compile
> > errors for the S2881 tree.
> > This is the case on Debian testing/unstable with GCC 3.4.5 20051015
> > (prerelease) (Debian 3.4.4-9) and GCC 4.0.2 (Debian 4.0.2-2), as well as on
> > Ubuntu Breezy with GCC 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9).
> > There are a lot more warnings when compiling with GCC 4, but it always dies
> > on this:
> > LinuxBIOSv2/src/cpu/amd/car/disable_cache_as_ram.c: At top level:
> > LinuxBIOSv2/src/cpu/amd/car/disable_cache_as_ram.c:3: error:
> > syntax error before 'volatile'
> > Am I missing a dependency, or is this a bug?
> > Any help would be greatly appreciated.
> > Thanks,
> > Ward.
> > --
> > Ward Vandewege <ward at fsf.org>
> > Free Software Foundation - Senior System Administrator
> > --
> > LinuxBIOS mailing list
> > LinuxBIOS at openbios.org
> > http://www.openbios.org/mailman/listinfo/linuxbios
> LinuxBIOS mailing list
> LinuxBIOS at openbios.org
Ward Vandewege <ward at fsf.org>
Free Software Foundation - Senior System Administrator
More information about the coreboot