All of lore.kernel.org
 help / color / mirror / Atom feed
* Which compiler for 2.6 sparc32 kernel?
@ 2007-05-24  7:12 Krzysztof Helt
  2007-05-24 18:06 ` Mark Fortescue
  0 siblings, 1 reply; 2+ messages in thread
From: Krzysztof Helt @ 2007-05-24  7:12 UTC (permalink / raw)
  To: sparclinux

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&sid\x1160



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Which compiler for 2.6 sparc32 kernel?
  2007-05-24  7:12 Which compiler for 2.6 sparc32 kernel? Krzysztof Helt
@ 2007-05-24 18:06 ` Mark Fortescue
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Fortescue @ 2007-05-24 18:06 UTC (permalink / raw)
  To: sparclinux

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1973 bytes --]

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.

On Thu, 24 May 2007, Krzysztof Helt wrote:

> 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&sid=1160
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe sparclinux" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-05-24 18:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-24  7:12 Which compiler for 2.6 sparc32 kernel? Krzysztof Helt
2007-05-24 18:06 ` Mark Fortescue

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.