pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: audio problems with -current/GCC4?



On Tue, Jul 11, 2006 at 07:37:17PM -0500, Peter Seebach wrote:
> In message <871wsrznpf.wl%rpaulo%fnop.net@localhost>, Rui Paulo writes:
> >At Tue, 11 Jul 2006 14:34:41 +0000 (UTC),
> >Martijn van Buul wrote:
> >> I believe there's a gcc option to use SSE2 floating
> >> point over i387 floating point, but I may be mistaken there.
> >
> >-mfpmath=sse,i387
> 
> Yes.
> 
> And when I built a kernel with sse, I got horrible crashes and panics using
> audio unless I went single-user.
> 
> So there may be some quirks in how these options interact with assumptions
> made about register saving.

I think "quirk" is overly-polite.

The rule is that the kernel isn't supposed to use the floating point 
registers or anything that overlaps them. Adding this option breaks that 
rule; you're telling the kernel build to use floating point registers 
after all. And things blow up. :-|

Take care,

Bill

Attachment: pgpyfKaPeeVjO.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index