Tyan S2462 success (was Re: overflowed source buffer ... segment exceeding memory)
Bill Rugolsky Jr.
brugolsky at telemetry-investments.com
Fri Nov 15 12:09:01 CET 2002
On Fri, Nov 15, 2002 at 07:51:34AM -0700, Ronald G. Minnich wrote:
> Bill, it sounds like gcc 3.2 + linuxbios worked for you? if so, that is
> good news.
Yes. The only 3.2 nit was annoying warnings compiling etherboot-5.0.7;
changing -m flags to -f, does the trick, i.e.,
@@ -316,7 +316,7 @@
# Otherwise use -O2 (under no circumstance use -O3 or above!).
CFLAGS32+= -Os -ffreestanding -fstrength-reduce -fomit-frame-pointer -mcpu=i386
# Squeeze the code in as little space as possible.
-CFLAGS32+= -malign-jumps=1 -malign-loops=1 -malign-functions=1
+CFLAGS32+= -falign-jumps=1 -falign-loops=1 -falign-functions=1
CFLAGS32+= -Wall -W -Wno-format -Wno-unused
ASFLAGS32=
LDFLAGS32+= -N -Ttext $(RELOCADDR) -e _start
More information about the coreboot
mailing list