[coreboot] (bug in toolchains?) Data in memory changes unexpectedly ininitialize_cpus

Paul Menzel paulepanter at users.sourceforge.net
Sat Feb 20 19:47:54 CET 2010

Am Samstag, den 20.02.2010, 11:09 +0800 schrieb Bao, Zheng:
> I have narrowed my problem to a small test
> project. It is quite easy for you to do a quick test.
> Please check the test.map, and you will find
> the sizes of stackbbbb and stackaaa are different. But
> the only difference in the coreboot_ram.ld is CONFIG_MAX_CPU
> in stackbbbb and a constant in stackaaaa. Can you guys build
> the project on your machine to see if you can get the same
> result with me?

I get the same results on my system.

$ diff test.map.orig test.map
$ grep _stack* test.map
00100000 A _stackbbbb
00400000 A _stackaaaa

$ gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.4.3-2' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-targets=all --with-arch-32=i486 --with-tune=generic --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.4.3 (Debian 4.4.3-2)

$ ld -v
GNU ld (GNU Binutils for Debian) 2.20

What version do you use?

> Do you think it is bug in binutils?

I do not know. Is someone subscribed to bug-binutils at gnu.org [1] and can
ask there with a reference to this thread [2]?

> ______________________________________________________________________
> Hotmail: Trusted email with Microsoft’s powerful SPAM protection. Sign
> up now.

Is AMD using Hotmail?



[1] http://www.gnu.org/software/binutils/
[2] http://www.coreboot.org/pipermail/coreboot/2010-February/055903.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20100220/1730bd54/attachment.sig>

More information about the coreboot mailing list