liboil: FTBFS: Unknown register name 'mm0' in 'asm'

Bug #20135 reported by Debian Bug Importer
4
Affects Status Importance Assigned to Milestone
liboil (Debian)
Fix Released
Unknown
liboil (Ubuntu)
Fix Released
High
Matthias Klose

Bug Description

Automatically imported from Debian bug report #318544 http://bugs.debian.org/318544

Revision history for this message
In , Steve Langasek (vorlon) wrote : Re: Bug#318544: liboil: FTBFS: Unknown register name 'mm0' in 'asm'

On Fri, Jul 15, 2005 at 09:05:25PM -0700, Daniel Schepler wrote:
> Package: liboil
> Severity: serious
> Version: 0.3.2-1

> >From my build log (using pbuilder in an i386 chroot):

> if /bin/sh ../../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -D_GNU_SOURCE -D_POSIX_C_SOURCE=200112L -I../.. -O2 -g -MT libconv_la-conv_3dnow.lo -MD -MP -MF ".deps/libconv_la-conv_3dnow.Tpo" -c -o libconv_la-conv_3dnow.lo `test -f 'conv_3dnow.c' || echo './'`conv_3dnow.c; \
> then mv -f ".deps/libconv_la-conv_3dnow.Tpo" ".deps/libconv_la-conv_3dnow.Plo"; else rm -f ".deps/libconv_la-conv_3dnow.Tpo"; exit 1; fi
> cc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -D_GNU_SOURCE -D_POSIX_C_SOURCE=200112L -I../.. -O2 -g -MT libconv_la-conv_3dnow.lo -MD -MP -MF .deps/libconv_la-conv_3dnow.Tpo -c conv_3dnow.c -fPIC -DPIC -o .libs/libconv_la-conv_3dnow.o
> conv_3dnow.c: In function 'conv_f32_s16_3dnow':
> conv_3dnow.c:43: error: unknown register name 'mm0' in 'asm'
> conv_3dnow.c: In function 'conv_s32_f32_3dnow':
> conv_3dnow.c:68: error: unknown register name 'mm0' in 'asm'
> make[4]: *** [libconv_la-conv_3dnow.lo] Error 1
> make[4]: Leaving directory `/tmp/buildd/liboil-0.3.2/liboil/conv'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/tmp/buildd/liboil-0.3.2/liboil'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/tmp/buildd/liboil-0.3.2'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/tmp/buildd/liboil-0.3.2'
> make: *** [debian/stamp-makefile-build] Error 2

> -- System Information:
> Debian Release: testing/unstable
> Architecture: amd64 (x86_64)

Is this the architecture of the host where you tested this? Register names
are certainly architecture-specific, and given that liboil has built before
on all architectures, I'm sure the source code deals with them on a
per-architecture basis. If this is an amd64-specific bug, then it shouldn't
be considered release-critical since no binaries were previously available
in Debian for amd64.

--
Steve Langasek
postmodern programmer

Revision history for this message
In , Daniel Schepler (schepler-math) wrote :

Steve Langasek <email address hidden> writes:

>> >From my build log (using pbuilder in an i386 chroot):
                                            ^^^^^^^^^^^
>
>> -- System Information:
>> Debian Release: testing/unstable
>> Architecture: amd64 (x86_64)
>
> Is this the architecture of the host where you tested this? Register names
> are certainly architecture-specific, and given that liboil has built before
> on all architectures, I'm sure the source code deals with them on a
> per-architecture basis. If this is an amd64-specific bug, then it shouldn't
> be considered release-critical since no binaries were previously available
> in Debian for amd64.

No, as I said, this was building in an i386 chroot, and I also made
sure the build was running in linux32 mode.

Maybe this is related to the new 2.16.1 version of binutils in
unstable, or it might be an issue with gcc-4.0.

In fact, I just tried building it on amd64 (with pbuilder again), and
it built just fine there.
--
Daniel Schepler "Please don't disillusion me. I
<email address hidden> haven't had breakfast yet."
                                 -- Orson Scott Card

Revision history for this message
In , David Schleef (dschleef) wrote :

On Fri, Jul 15, 2005 at 09:51:08PM -0700, Steve Langasek wrote:
> Is this the architecture of the host where you tested this? Register names
> are certainly architecture-specific, and given that liboil has built before
> on all architectures, I'm sure the source code deals with them on a
> per-architecture basis. If this is an amd64-specific bug, then it shouldn't
> be considered release-critical since no binaries were previously available
> in Debian for amd64.

This is a known problem with liboil on i386 with gcc-4.0. It is
fixed in CVS. Gcc-4.0 doesn't approve of people using mmx registers
unless -mmmx is specified.

Daniel: you might want to fix up the reportbug "Architecture:" line
when you submit bugs like this, since that's the first thing most
people look at. (And apparently fooled myself and Steve for a while.)

dave...

--
David Schleef
Big Kitten LLC (http://www.bigkitten.com/) -- data acquisition on Linux

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Automatically imported from Debian bug report #318544 http://bugs.debian.org/318544

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Fri, 15 Jul 2005 21:05:25 -0700
From: Daniel Schepler <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: liboil: FTBFS: Unknown register name 'mm0' in 'asm'

Package: liboil
Severity: serious
Version: 0.3.2-1

From my build log (using pbuilder in an i386 chroot):

...
if /bin/sh ../../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -D_GNU_SOURCE -D_POSIX_C_SOURCE=200112L -I../.. -O2 -g -MT libconv_la-conv_3dnow.lo -MD -MP -MF ".deps/libconv_la-conv_3dnow.Tpo" -c -o libconv_la-conv_3dnow.lo `test -f 'conv_3dnow.c' || echo './'`conv_3dnow.c; \
then mv -f ".deps/libconv_la-conv_3dnow.Tpo" ".deps/libconv_la-conv_3dnow.Plo"; else rm -f ".deps/libconv_la-conv_3dnow.Tpo"; exit 1; fi
 cc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -D_GNU_SOURCE -D_POSIX_C_SOURCE=200112L -I../.. -O2 -g -MT libconv_la-conv_3dnow.lo -MD -MP -MF .deps/libconv_la-conv_3dnow.Tpo -c conv_3dnow.c -fPIC -DPIC -o .libs/libconv_la-conv_3dnow.o
conv_3dnow.c: In function 'conv_f32_s16_3dnow':
conv_3dnow.c:43: error: unknown register name 'mm0' in 'asm'
conv_3dnow.c: In function 'conv_s32_f32_3dnow':
conv_3dnow.c:68: error: unknown register name 'mm0' in 'asm'
make[4]: *** [libconv_la-conv_3dnow.lo] Error 1
make[4]: Leaving directory `/tmp/buildd/liboil-0.3.2/liboil/conv'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/buildd/liboil-0.3.2/liboil'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/buildd/liboil-0.3.2'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/buildd/liboil-0.3.2'
make: *** [debian/stamp-makefile-build] Error 2

-- System Information:
Debian Release: testing/unstable
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11-9-amd64-k8
Locale: LANG=en, LC_CTYPE=en (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)

--
Daniel Schepler "Please don't disillusion me. I
<email address hidden> haven't had breakfast yet."
                                 -- Orson Scott Card

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Fri, 15 Jul 2005 21:51:08 -0700
From: Steve Langasek <email address hidden>
To: Daniel Schepler <email address hidden>, <email address hidden>
Subject: Re: Bug#318544: liboil: FTBFS: Unknown register name 'mm0' in 'asm'

--pvezYHf7grwyp3Bc
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Jul 15, 2005 at 09:05:25PM -0700, Daniel Schepler wrote:
> Package: liboil
> Severity: serious
> Version: 0.3.2-1

> >From my build log (using pbuilder in an i386 chroot):

> if /bin/sh ../../libtool --mode=3Dcompile cc -DHAVE_CONFIG_H -I. -I. -I..=
/.. -Wall -D_GNU_SOURCE -D_POSIX_C_SOURCE=3D200112L -I../.. -O2 -g -MT l=
ibconv_la-conv_3dnow.lo -MD -MP -MF ".deps/libconv_la-conv_3dnow.Tpo" -c -o=
 libconv_la-conv_3dnow.lo `test -f 'conv_3dnow.c' || echo './'`conv_3dnow.c=
; \
> then mv -f ".deps/libconv_la-conv_3dnow.Tpo" ".deps/libconv_la-conv_3dnow=
=2EPlo"; else rm -f ".deps/libconv_la-conv_3dnow.Tpo"; exit 1; fi
> cc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -D_GNU_SOURCE -D_POSIX_C_SOURCE=
=3D200112L -I../.. -O2 -g -MT libconv_la-conv_3dnow.lo -MD -MP -MF .deps/li=
bconv_la-conv_3dnow.Tpo -c conv_3dnow.c -fPIC -DPIC -o .libs/libconv_la-co=
nv_3dnow.o
> conv_3dnow.c: In function 'conv_f32_s16_3dnow':
> conv_3dnow.c:43: error: unknown register name 'mm0' in 'asm'
> conv_3dnow.c: In function 'conv_s32_f32_3dnow':
> conv_3dnow.c:68: error: unknown register name 'mm0' in 'asm'
> make[4]: *** [libconv_la-conv_3dnow.lo] Error 1
> make[4]: Leaving directory `/tmp/buildd/liboil-0.3.2/liboil/conv'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/tmp/buildd/liboil-0.3.2/liboil'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/tmp/buildd/liboil-0.3.2'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/tmp/buildd/liboil-0.3.2'
> make: *** [debian/stamp-makefile-build] Error 2

> -- System Information:
> Debian Release: testing/unstable
> Architecture: amd64 (x86_64)

Is this the architecture of the host where you tested this? Register names
are certainly architecture-specific, and given that liboil has built before
on all architectures, I'm sure the source code deals with them on a
per-architecture basis. If this is an amd64-specific bug, then it shouldn't
be considered release-critical since no binaries were previously available
in Debian for amd64.

--=20
Steve Langasek
postmodern programmer

--pvezYHf7grwyp3Bc
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFC2JI7KN6ufymYLloRAlEpAJ9dhLxTVdHHdXMkJis/OzLIkZs4dwCgmh4D
i1/PdZXyjttEuHyvbTGAvhY=
=G2R9
-----END PGP SIGNATURE-----

--pvezYHf7grwyp3Bc--

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Fri, 15 Jul 2005 22:48:13 -0700
From: Daniel Schepler <email address hidden>
To: Steve Langasek <email address hidden>
Cc: <email address hidden>
Subject: Re: Bug#318544: liboil: FTBFS: Unknown register name 'mm0' in 'asm'

Steve Langasek <email address hidden> writes:

>> >From my build log (using pbuilder in an i386 chroot):
                                            ^^^^^^^^^^^
>
>> -- System Information:
>> Debian Release: testing/unstable
>> Architecture: amd64 (x86_64)
>
> Is this the architecture of the host where you tested this? Register names
> are certainly architecture-specific, and given that liboil has built before
> on all architectures, I'm sure the source code deals with them on a
> per-architecture basis. If this is an amd64-specific bug, then it shouldn't
> be considered release-critical since no binaries were previously available
> in Debian for amd64.

No, as I said, this was building in an i386 chroot, and I also made
sure the build was running in linux32 mode.

Maybe this is related to the new 2.16.1 version of binutils in
unstable, or it might be an issue with gcc-4.0.

In fact, I just tried building it on amd64 (with pbuilder again), and
it built just fine there.
--
Daniel Schepler "Please don't disillusion me. I
<email address hidden> haven't had breakfast yet."
                                 -- Orson Scott Card

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Sat, 16 Jul 2005 12:39:03 -0700
From: David Schleef <email address hidden>
To: <email address hidden>
Subject: Re: Bug#318544: liboil: FTBFS: Unknown register name 'mm0' in 'asm'

On Fri, Jul 15, 2005 at 09:51:08PM -0700, Steve Langasek wrote:
> Is this the architecture of the host where you tested this? Register names
> are certainly architecture-specific, and given that liboil has built before
> on all architectures, I'm sure the source code deals with them on a
> per-architecture basis. If this is an amd64-specific bug, then it shouldn't
> be considered release-critical since no binaries were previously available
> in Debian for amd64.

This is a known problem with liboil on i386 with gcc-4.0. It is
fixed in CVS. Gcc-4.0 doesn't approve of people using mmx registers
unless -mmmx is specified.

Daniel: you might want to fix up the reportbug "Architecture:" line
when you submit bugs like this, since that's the first thing most
people look at. (And apparently fooled myself and Steve for a while.)

dave...

--
David Schleef
Big Kitten LLC (http://www.bigkitten.com/) -- data acquisition on Linux

Revision history for this message
Matthias Klose (doko) wrote :

fixed in 0.3.2-1ubuntu1

Revision history for this message
In , David Schleef (dschleef) wrote : Fixed in 0.3.3-1 upload

This should have been marked closed in the 0.3.3-1 upload, since
the relevant changes that had been in CVS are now released.

dave...

--
David Schleef
Big Kitten LLC (http://www.bigkitten.com/) -- data acquisition on Linux

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Mon, 10 Oct 2005 18:40:33 -0700
From: David Schleef <email address hidden>
To: <email address hidden>
Subject: Fixed in 0.3.3-1 upload

This should have been marked closed in the 0.3.3-1 upload, since
the relevant changes that had been in CVS are now released.

dave...

--
David Schleef
Big Kitten LLC (http://www.bigkitten.com/) -- data acquisition on Linux

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.