Subject: sparc and gcc4?
To: None <port-sparc@netbsd.org>
From: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
List: port-sparc
Date: 06/26/2006 20:07:45
Hi,

what are the experiences with gcc4-compiled binaries on sparc? A kernel
(cross-)built from today's sources dies quickly on my ss10 with

[...]
Checking quotas: done.
Starting mountd.
trap type 0x7: pc=0xf008bd98 npc=0xf008bd9c psr=408000c0<S,PS>
kernel: alignment fault trap
Stopped in pid 533.1 (mountd) at        netbsd:tmpfs_vptofh+0x14:       std
        %
g2, [%o1 + 0x8]
trap type 0x7: pc=0xf0008a3c npc=0xf0008a40 psr=40400fc3<S,PS>
kernel: alignment fault trap
Faulted in DDB; continuing...
panic: longjmp botch
Stopped in pid 533.1 (mountd) at        netbsd:cpu_Debugger+0x4:        or
        %
o7, %g0, %g1
trap type 0x7: pc=0xf0008a3c npc=0xf0008a40 psr=40400fc5<S,PS>
kernel: alignment fault trap
Faulted in DDB; continuing...
panic: longjmp botch
Stopped in pid 533.1 (mountd) at        netbsd:cpu_Debugger+0x4:        or
        %
o7, %g0, %g1
trap type 0x7: pc=0xf0008a3c npc=0xf0008a40 psr=40400fc7<S,PS>
kernel: alignment fault trap
Faulted in DDB; continuing...
panic: longjmp botch
Stopped in pid 533.1 (mountd) at        netbsd:cpu_Debugger+0x4:        or
        %
o7, %g0, %g1
trap type 0x7: pc=0xf0008a3c npc=0xf0008a40 psr=40400fc1<S,PS>
kernel: alignment fault trap
Faulted in DDB; continuing...
panic: longjmp botch
Stopped in pid 533.1 (mountd) at        netbsd:cpu_Debugger+0x4:        or
        %
o7, %g0, %g1
trap type 0x7: pc=0xf0008a3c npc=0xf0008a40 psr=40400fc3<S,PS>
kernel: alignment fault trap
Faulted in DDB; continuing...
panic: longjmp botch
Stopped in pid 533.1 (mountd) at        netbsd:cpu_Debugger+0x4:        or
        %
o7, %g0, %g1
trap type 0x7: pc=0xf0008a3c npc=0xf0008a40 psr=40400fc5<S,PS>
kernel: alignment fault trap
Faulted in DDB; continuing...
panic: longjmp botch
Stopped in pid 533.1 (mountd) at        netbsd:cpu_Debugger+0x4:        or
        %
o7, %g0, %g1
Watchdog Reset,  Rebooting.
Resetting ...


where
[hauke@pizza] ~/<2>scripts/ipfilter > uname -a
NetBSD pizza.causeuse.org 3.99.21 NetBSD 3.99.21 (PIZZA) #0: Thu Jun 22
19:25:34 CEST 2006
hf@Gstoder.nt.e-technik.tu-darmstadt.de:/var/obj/netbsd-builds/current/sparc/sys
/arch/sparc/compile/PIZZA sparc

works fine (well, mostly).

	hauke

--
"It's never straight up and down"     (DEVO)