Re: CPUFLAGS for IP32

Izumi Tsutsui <[email protected]>
Newsgroups gmane.os.netbsd.ports.sgimips
Message-ID <[email protected]>
[email protected] wrote:

> I've found something odd - I used to build my kernels with - 
> march=mips3 -mabi=32 -mtune=mips3 -pipe, until a few weeks ago that  
> worked just fine but then I got odd panics from gzip when doing tar  
> xzf <whatever>:
> trap: TLB miss ( load or instr. fetch )
> status=0xff03 cause=0x08 vaddr=0x30
> uvm_load
> pipe_write
> dowritefile
> sys_write
> syscall_plain
> mips3_SystemCall
> 
> On a hunch I removed -march and -mtune parameters, rebuilt the kernel  
> and it works fine. Now I'm wondering if there was some messed up .o  
> file or if any of the CPU specific options triggered some compiler bug.

Hmm, I used ~20080806 tree to test mec(4) and today's kernel
still works fine with and without the CPUFLAGS option
(WAPBL is also enabled).

tar zxf sys.tar.gz on softdep also works on a ~20080815 kernel.
---
Izumi Tsutsui
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.