Which compiler for 2.6 sparc32 kernel?
Hi,
I tried to build the latest kernel 2.6.22-rc2 and it did not compile correctly with my self build compiler (from Slackaware
10) and stock compiler from Aurora 2.0 (3.4.x). I tried to boot it on the SS20 with two Supersparcs II. It was the UP (not SMP) version.
The problem is that it miscompile va_arg(args, long long) in the vsnprintf() function (I learned it hard way). The kernel simply hangs at boot with "Booting linux" the message.
If the va_arg(args, long long) is replaced with two va_arg(args, long) the problem goes away.
The problem appeared since the kernel 2.6.21. The kernel 2.6.20 works without any change and it was compiled with the same compiler.
Have any of you compiled and booted the sparc32 kernel since 2.6.21? Which compiler have you used?
Kind regards,
Krzysztof
----------------------------------------------------
"Ma³a Ikar" Helen Oyeyemi - poetycka i mroczna opowie¶æ o bolesnej samotno¶ci dziecka dorastaj±cego miêdzy kulturami.
http://klik.wp.pl/?adr=http%3A%2F%2Fksiazki.wp.pl%2Fkatalog%2Fksiazki%2Fksiazka.html%3Fkw%3D4379&sid60
Hi,
Maybe that is why I have to set console=prom on the kernel command line to get anything meaningfull. My SS1 crashes when it tries to set up the network/NFS Root so I will be trying to identify where that got broak in the next fiew days.
I am using GCC-4.1.2/Binutils 2.17 with some cross compile and sparc patches to cross compile my test kernels on an x86 system. The last working kernel I tested was a patched 2.6.20.9 test kernel to test Benjamin Herrensch Rework ptep_set_access_flags and fix sun4c PATCH.
Regards
Mark Fortescue.
Quoted 34 lines · Krzysztof Helt
Hi,
I tried to build the latest kernel 2.6.22-rc2 and it did not compile correctly with my self build compiler (from Slackaware
10) and stock compiler from Aurora 2.0 (3.4.x). I tried to boot it on the SS20 with two Supersparcs II. It was the UP (not SMP) version.The problem is that it miscompile
va_arg(args, long long)in thevsnprintf()function (I learned it hard way). The kernel simply hangs at boot with "Booting linux" the message.
If theva_arg(args, long long)is replaced with twova_arg(args, long)the problem goes away.The problem appeared since the kernel 2.6.21. The kernel 2.6.20 works without any change and it was compiled with the same compiler.
Have any of you compiled and booted the sparc32 kernel since 2.6.21? Which compiler have you used?
Kind regards,
Krzysztof----------------------------------------------------
"Mała Ikar" Helen Oyeyemi - poetycka i mroczna opowieść o bolesnej samotności dziecka dorastającego między kulturami.
http://klik.wp.pl/?adr=http%3A%2F%2Fksiazki.wp.pl%2Fkatalog%2Fksiazki%2Fksiazka.html%3Fkw%3D4379&sid=1160-
To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html