Re: Other interesting mips breakage...

Manuel Bouyer <[email protected]> Fri, 7 Feb 2014 10:07:00 +0100
Newsgroups gmane.os.netbsd.ports.evbmips,gmane.os.netbsd.ports.mips.devel
Message-ID <[email protected]>
On Thu, Feb 06, 2014 at 12:18:56PM -0600, John D. Baker wrote:
> Here's what I had to do (so far) to get anything from pkgsrc to
> compile/install on my Lemote YEELOONG.
> 
> In "mk/wrapper/transform-gcc":  Discard "-O[23s]" so compiler doesn't
> die with "Bus Error". 

This doesn't happen with a netbsd-6 userland. What did change in compiler
land between -6 and HEAD ? I think a mknative has been re-run, maybe that's
the cause ?

> Discard "-pthread" to get executable that
> doesn't die with "Memory Fault" (SegFault).

I guess this is related to TLS. Someone with some TLS clue would need to
look at this.

-- 
Manuel Bouyer <[email protected]>
     NetBSD: 26 ans d'experience feront toujours la difference
--