Switching the compiler optimization option from -Os to -O0 (no optimization) shrinks rom_stream.o size, making it fit appropriately.
Marcleo: I upgraded my gcc on another machine. [EMAIL PROTECTED]:~/projects/olpc/buildrom$ gcc -v Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --with-tune=i686 --enable-checking=release i486-linux-gnu Thread model: posix gcc version 4.1.2 20060901 (prerelease) (Debian 4.1.1-13) -DLINUXBIOS_COMPILER='"gcc version 4.1.2 20060901 (prerelease) (Debian 4.1.1-13)"' -DLINUXBIOS_LINKER='"GNU ld version 2.17 Debian GNU/Linux"' -DLINUXBIOS_ASSEMBLER='"GNU assembler version 2.17 (i486-linux-gnu) using BFD version 2.17 Debian GNU/Linux"' HOSTCFLAGS:= -Os -Wall text data bss dec hex filename 3230 8 4 3242 caa ./rom_stream.o Builds fine for me. Does RedHat have some really aggressive optimization enabled? Perhaps upgrade to 4.1.2 and try? -- Richard A. Smith _______________________________________________ Devel mailing list [email protected] http://mailman.laptop.org/mailman/listinfo/devel
