Bug#444170: closed by David Schleef <[EMAIL PROTECTED]> (Re: Bug#444170: powerpc FPU test broken)

2007-09-28 Thread Martin Michlmayr
* David Schleef <[EMAIL PROTECTED]> [2007-09-28 14:21]: > Here's a patch that is completely untested. If you happen to have a > gcc with FP enabled, please test it. Yes, this works. Thanks a lot. -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a

Bug#444170: closed by David Schleef <[EMAIL PROTECTED]> (Re: Bug#444170: powerpc FPU test broken)

2007-09-28 Thread Martin Michlmayr
* David Schleef <[EMAIL PROTECTED]> [2007-09-28 14:15]: > Ah, then you've built a non-fp gcc, but an fp binutils. I hadn't > thought of that possibility. Seems so. However, as I said in my last mail, I've no idea how to build a non-fp binutils. I didn't see an option for that. Can you help? --

Bug#444170: closed by David Schleef <[EMAIL PROTECTED]> (Re: Bug#444170: powerpc FPU test broken)

2007-09-28 Thread David Schleef
On Fri, Sep 28, 2007 at 12:17:56PM +0200, Martin Michlmayr wrote: > Are you sure about that? I believe I've built my toolchain correctly > for powerpc soft-float, but binutils doesn't complain at all about > this code. As a result, liboil builds for FPU but then later on GCC > fails to compile so

Bug#444170: closed by David Schleef <[EMAIL PROTECTED]> (Re: Bug#444170: powerpc FPU test broken)

2007-09-28 Thread David Schleef
On Fri, Sep 28, 2007 at 12:17:56PM +0200, Martin Michlmayr wrote: > > From: David Schleef <[EMAIL PROTECTED]> > > > > even if there isn't. The binary will only fail at run time, i.e. when > > > you actually execute it. This check therefore needs to be converted > > > to a runtime check. > > > >

Bug#444170: closed by David Schleef <[EMAIL PROTECTED]> (Re: Bug#444170: powerpc FPU test broken)

2007-09-28 Thread Martin Michlmayr
> From: David Schleef <[EMAIL PROTECTED]> > > even if there isn't. The binary will only fail at run time, i.e. when > > you actually execute it. This check therefore needs to be converted > > to a runtime check. > > This is correct. It's a test whether or not binutils can compile > floating po

Bug#444170: powerpc FPU test broken

2007-09-26 Thread Martin Michlmayr
Package: liboil Version: 0.3.12-1 liboil tests for a powerpc FPU by compiling a test program with a floating point instruction in it. This doesn't seem to work. Aurelien Jarno confirmed this: 14:09 the __asm__ directive passes the code directly to binutils 14:09 so the binary has the fadd inst