Re: Cross-compiling on NetBSD/alpha

Jochen Kunz <[email protected]>
Newsgroups gmane.os.netbsd.ports.hp700
Message-ID <20031104161526.GA2865021@MrPomeroy2>
On 2003.11.03 18:55 Matt Thomas wrote:

> >> /usr/src/sys/miscfs/procfs/procfs_vnops.c:1282: internal compiler
> >> error: in extract_insn, at recog.c:2175
> I fixed most of these issues. 
Matt, you are my toolchain hero. ;-)

> One more exists in hp700/dev/mem.c
When using -O2?

I had obscure problems with 'instruction protection' (== illegal
instruction?) panics, see log below. The problem did not show up on the
B132L and disappeared when I altered some files and thus partially
recompiled the kernel. 

NetBSD 1.6ZE (SMALL) #0: Tue Nov  4 09:04:06 CET 2003
        jkunz@SirTobie:/usr/src-current/objdir/hp700/sys/arch/hp700/compile/SMALL
HP9000/715/100XC (Mirage Sr.)
real mem = 256 MB (73728 reserved for PROM, 238 MB used by NetBSD)
avail mem = 220 MB
using 3302 buffers containing 13208 KB of memory
mainbus0 (root) [flex fff80000]
pdc0 at mainbus0
cpu0 at mainbus0 hpa 0xfffbe000 path 8 irq 31 ipl 0: PA7100LC
(Hummingbird) rev 6
cpu0: PCX-L, PA-RISC 1.1c,lev 1, cat A, 100 MHz clk
cpu0: shadows, 512K/512K D/I caches, 64 shared TLB, 8 shared BTLB
cpu0: PCX-L (CMOS-26B) floating point, rev 1
mem0 at mainbus0 hpa 0xfffbf000 path 9: viper rev 0, ctrl 40400100 size
256MB
"GIO Graphics" at mainbus0 (type 0xa, sv 0x85) hpa 0xf8000000 path 1 not
configured
lasi0 at mainbus0 hpa 0xf0000000 path 2 irq 28kernel: instruction
protection trap, code=6e0b6c
panic: trap: unimplemented 'instruction protection' (7)
Stopped in pid 0.1 (swapper) at netbsd:cpu_Debugger+0x10:       ldo    
R'40(%r3),%r30
db> bt
cpu_Debugger(554e6c,13d55a0,0,0) at netbsd:cpu_Debugger+0x10
panic(564c78,564a60,7,0) at netbsd:panic+0x1b8
panic(7,6e0b80,0,6e0b26) at netbsd:panic+0x148
trap(1847f80,180dd80,6e0690,50b6d0) at netbsd:trap+0x988
$tlb_missend(1847f80,60a4c0,6e0690,50b6d0) at netbsd:$tlb_missend+0x27c
config_attach(1847f80,6e0690,50b6d0,50b8c4) at
netbsd:config_attach+0x644
config_found_sm(1847f80,6e0690,0,6e05dc) at netbsd:config_found_sm+0x80
mb_module_callback(1847f80,6e04b0,50aff4,0) at
netbsd:mb_module_callback+0x78
pdc_scanbus_memory_map(0,1847f80,56c3ac,0) at
netbsd:pdc_scanbus_memory_map+0x1a
8
mbattach(0,60a4c0,56c3ac,0) at netbsd:mbattach+0x4e4
config_attach(56c3ac,56c3ac,0,6535e0) at netbsdconfig_attach+0x644
config_rootfound(55405c,65603c,0,0) at netbsd:config_rootfound+0x74
cpu_configure(6533a8,1,0,c0000000) at netbsd:cpu_configure+0x8c
configure(6e7000,0,0,0) at netbsd:configure+0xec
main(0,0,0,0) at netbsd:main+0x6ec
start(0,0,0,0) at netbsd:start+0x16c
db> 
-- 


tschÌß,
       Jochen

Homepage: http://www.unixag-kl.fh-kl.de/~jkunz/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.