xine-lib: FTBFS on sparc
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xine-lib (Debian) |
Fix Released
|
Unknown
|
|||
xine-lib (Ubuntu) |
Invalid
|
High
|
Unassigned |
Bug Description
Automatically imported from Debian bug report #270884 http://
In Debian Bug tracker #270884, Frank Lichtenheld (djpig) wrote : severity of 270884 is serious | #1 |
Debian Bug Importer (debzilla) wrote : | #2 |
Automatically imported from Debian bug report #270884 http://
Debian Bug Importer (debzilla) wrote : | #3 |
Message-Id: <email address hidden>
Date: Thu, 09 Sep 2004 21:25:04 +0200
From: Frank Lichtenheld <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: xine-lib: FTBFS on sparc
Package: xine-lib
Severity: serious
Justification: no longer builds from source
Since nobody has done that yet, let's make a bug about the consistent
SPARC build failures that were introduced several versions ago.
They all fail with:
make[6]: Entering directory `/build/
source=
depfile=
depmode=gcc3 /bin/sh ../../../../depcomp \
/bin/sh ../../.
mkdir .libs
sparc-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../.. -I../..
In file included from ../dsputil.h:31,
../common.h: In function `put_bits':
./common.h:448: warning: cast increases required alignment of target type
dsputil_vis.c: At top level:
dsputil_vis.c:3990: warning: no previous prototype for `get_pixels_vis'
dsputil_vis.c: In function `dsputil_init_vis':
dsputil_vis.c:4064: warning: assignment from incompatible pointer type
/tmp/ccm36rcO.s: Assembler messages:
/tmp/ccm36rcO.
/tmp/ccm36rcO.
/tmp/ccm36rcO.
/tmp/ccm36rcO.
/tmp/ccm36rcO.
/tmp/ccm36rcO.
James Troup (elmo) wrote : | #4 |
Sparc is not a release arch for warty.
Debian Bug Importer (debzilla) wrote : | #5 |
Message-Id: <email address hidden>
Date: Thu, 9 Sep 2004 22:13:33 +0200
From: Frank Lichtenheld <email address hidden>
To: <email address hidden>
Subject: severity of 270884 is serious
# Automatically generated email from bts, devscripts version 2.8.4
# curses reportbug for using wrong severities for FTBFS bugs
severity 270884 serious
In Debian Bug tracker #270884, Blars Blarson (blarson) wrote : binutils bug already filed | #6 |
See binutils bug 267824.
--
Blars Blarson <email address hidden>
http://
With Microsoft, failure is not an option. It is a standard feature.
Debian Bug Importer (debzilla) wrote : | #7 |
Message-ID: <email address hidden>
Date: Thu, 9 Sep 2004 23:10:30 -0700
From: Blars Blarson <email address hidden>
To: <email address hidden>
Subject: binutils bug already filed
See binutils bug 267824.
--
Blars Blarson <email address hidden>
http://
With Microsoft, failure is not an option. It is a standard feature.
In Debian Bug tracker #270884, Frank Lichtenheld (djpig) wrote : Re: Bug#270884: binutils bug already filed | #8 |
More information on the xine-lib FTBFS on sparc:
(CCed to debian-sparc@l.d.o for proofreading :)
(CCed to binutils bug since it can probably closed now)
On Thu, Sep 09, 2004 at 11:10:30PM -0700, Blars Blarson wrote:
>
> See binutils bug 267824.
No, this isn't this one.
The build failures in glibc and fftw3 all occured at fmov* opcodes
and were fixed by the patch above to binutils.
The bug in xine-lib is actually simpler. The assembler code is
directly generated (mostly with cpp macros) and includes instructions
like
ldd [%i1], %f40
(the 40 is hardcoded in the corresponding macro)
This works on sparc64, but obviously not on sparc32. Since xine-lib is
compiled using -mcpu=supersparc -mtune=supersparc, gas complains.
When compiling with -mcpu=ultrasparc, the build succeeds.
So the real problem in this case is that xine-lib tries to include
this code even when compiled on sparc32 (which perhaps nobody of
upstream ever has tested).
There are a few possible solutions to this problem:
1) compile with -mcpu=ultrasparc (probably not acceptable)
2) if I understand the code correctly, there is a non-assembler version
available of this functionality (the sparc optimisation was added in
an upstream release, prior to this xine-lib built fine on sparc)
This will probably require some Makefile hacking. On a first look
it didn't seem obvious where to begin...
3) deactivate the whole libavcodec on sparc. This is probably easier
Makefile hacking, but I hve no clue how important the functionality
is that would be missing then.
4) Change the macros so that they only use f0 - f31. Needs someone
with fluent sparc assembler and enough time ...
Gruesse,
--
Frank Lichtenheld <email address hidden>
www: http://
In Debian Bug tracker #270884, Steve Langasek (vorlon) wrote : | #9 |
tags 270884 patch
thanks
The attached patch properly wraps the sparc64-specific optimizations
with the define provided in the sources for this purpose. Unless there
are other such problems lurking, I believe this patch is sufficient to
resolve the FTBFS on sparc.
Let me know if you want me to NMU for this problem.
Cheers,
--
Steve Langasek
postmodern programmer
Debian Bug Importer (debzilla) wrote : | #10 |
Message-ID: <email address hidden>
Date: Thu, 23 Sep 2004 01:50:02 +0200
From: Frank Lichtenheld <email address hidden>
To: Blars Blarson <email address hidden>, <email address hidden>
Cc: <email address hidden>, <email address hidden>
Subject: Re: Bug#270884: binutils bug already filed
More information on the xine-lib FTBFS on sparc:
(CCed to debian-sparc@l.d.o for proofreading :)
(CCed to binutils bug since it can probably closed now)
On Thu, Sep 09, 2004 at 11:10:30PM -0700, Blars Blarson wrote:
>
> See binutils bug 267824.
No, this isn't this one.
The build failures in glibc and fftw3 all occured at fmov* opcodes
and were fixed by the patch above to binutils.
The bug in xine-lib is actually simpler. The assembler code is
directly generated (mostly with cpp macros) and includes instructions
like
ldd [%i1], %f40
(the 40 is hardcoded in the corresponding macro)
This works on sparc64, but obviously not on sparc32. Since xine-lib is
compiled using -mcpu=supersparc -mtune=supersparc, gas complains.
When compiling with -mcpu=ultrasparc, the build succeeds.
So the real problem in this case is that xine-lib tries to include
this code even when compiled on sparc32 (which perhaps nobody of
upstream ever has tested).
There are a few possible solutions to this problem:
1) compile with -mcpu=ultrasparc (probably not acceptable)
2) if I understand the code correctly, there is a non-assembler version
available of this functionality (the sparc optimisation was added in
an upstream release, prior to this xine-lib built fine on sparc)
This will probably require some Makefile hacking. On a first look
it didn't seem obvious where to begin...
3) deactivate the whole libavcodec on sparc. This is probably easier
Makefile hacking, but I hve no clue how important the functionality
is that would be missing then.
4) Change the macros so that they only use f0 - f31. Needs someone
with fluent sparc assembler and enough time ...
Gruesse,
--
Frank Lichtenheld <email address hidden>
www: http://
Debian Bug Importer (debzilla) wrote : | #11 |
Message-ID: <email address hidden>
Date: Wed, 22 Sep 2004 18:11:19 -0700
From: Steve Langasek <email address hidden>
To: <email address hidden>
Subject: Re: xine-lib: FTBFS on sparc
--LiQwW4YX+w4axhAx
Content-Type: multipart/mixed; boundary=
Content-
--pE2VAHO2njSJCslu
Content-Type: text/plain; charset=us-ascii
Content-
Content-
tags 270884 patch
thanks
The attached patch properly wraps the sparc64-specific optimizations
with the define provided in the sources for this purpose. Unless there
are other such problems lurking, I believe this patch is sufficient to
resolve the FTBFS on sparc.
Let me know if you want me to NMU for this problem.
Cheers,
--=20
Steve Langasek
postmodern programmer
--pE2VAHO2njSJCslu
Content-Type: text/plain; charset=us-ascii
Content-
Content-
diff -u xine-lib-
--- xine-lib-
+++ xine-lib-
@@ -1,3 +1,15 @@
+xine-lib (1-rc5-1.1) unstable; urgency=3Dhigh
+
+ * Non-maintainer upload.
+ * High-urgency upload for a sarge-targetted RC fix.
+ * Use --build, not --host, to specify the architecture; otherwise
+ autoconf thinks we're cross-compiling when we aren't.
+ * src/libffmpeg/
+ conditional on ENABLE_VIS, since that's what that define is for;
+ fixes FTBFS on sparc when using a 32-bit target (closes: #270884).
+
+ -- Steve Langasek <email address hidden> Wed, 22 Sep 2004 17:48:41 -0700
+
xine-lib (1-rc5-1) unstable; urgency=3Dmedium
=20
* New upstream release (closes: #258274)
diff -u xine-lib-
--- xine-lib-
+++ xine-lib-
@@ -28,7 +28,7 @@
BUILD_TARGET :=3D debug
endif
=20
-DEB_HOST_
+DEB_BUILD_
# the "optimize" flag disables compatibility hacks
ifeq (,$(findstring optimize,
$(warning trying to disable machine-specific optimizations)
@@ -42,20 +42,20 @@
$(shell echo $(DEB_HOST_
DEB_BUILD_
$(shell echo $(DEB_BUILD_
- ifneq ($DEB_HOST_
+ ifneq ($(DEB_
$(warning WARNING: cross compiling is not supported by xine)
$(warning using DEB_BUILD_GNU_TYPE =3D $(DEB_BUILD_
$(warning ignoring DEB_HOST_GNU_TYPE =3D $(DEB_HOST_
DEB_
endif
- DEB_HOST_GNU_OPTION :=3D --host=
+ DEB_BUILD_
endif
=20
configure: configure-stamp
configure-stamp:
dh_testdir
./configure --prefix=3D/usr --mandir=
- $(DEB_HOST_
+ $(DEB_BUILD_
touch configure-stamp
=20
build: configure-stamp build-stamp
only i...
In Debian Bug tracker #270884, Siggi Langauf (siggi) wrote : Re: Bug#270884: xine-lib: FTBFS on sparc | #12 |
On Wed, 22 Sep 2004, Steve Langasek wrote:
> tags 270884 patch
> thanks
Looks good.
> The attached patch properly wraps the sparc64-specific optimizations
> with the define provided in the sources for this purpose. Unless there
> are other such problems lurking, I believe this patch is sufficient to
> resolve the FTBFS on sparc.
>
> Let me know if you want me to NMU for this problem.
If you manage to NMU the new upstream version before friday, go ahead!
Otherwise, I'll upload.
Cheers,
Siggi
Debian Bug Importer (debzilla) wrote : | #13 |
Message-ID: <email address hidden>
Date: Thu, 23 Sep 2004 08:15:58 +0200 (CEST)
From: Siggi Langauf <email address hidden>
To: Steve Langasek <email address hidden>, <email address hidden>
cc: Siggi Langauf <email address hidden>
Subject: Re: Bug#270884: xine-lib: FTBFS on sparc
On Wed, 22 Sep 2004, Steve Langasek wrote:
> tags 270884 patch
> thanks
Looks good.
> The attached patch properly wraps the sparc64-specific optimizations
> with the define provided in the sources for this purpose. Unless there
> are other such problems lurking, I believe this patch is sufficient to
> resolve the FTBFS on sparc.
>
> Let me know if you want me to NMU for this problem.
If you manage to NMU the new upstream version before friday, go ahead!
Otherwise, I'll upload.
Cheers,
Siggi
In Debian Bug tracker #270884, Frank Lichtenheld (djpig) wrote : Fixed in NMU of xine-lib 1-rc5-1.1 | #14 |
tag 265061 + fixed
tag 270884 + fixed
quit
This message was generated automatically in response to a
non-maintainer upload. The .changes file follows.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Sun, 26 Sep 2004 02:22:51 +0200
Source: xine-lib
Binary: libxine-dev libxine1
Architecture: source i386
Version: 1-rc5-1.1
Distribution: unstable
Urgency: high
Maintainer: Siggi Langauf <email address hidden>
Changed-By: Frank Lichtenheld <email address hidden>
Description:
libxine-dev - the xine video player library, development packages
libxine1 - the xine video/media player library, binary files
Closes: 265061 270884
Changes:
xine-lib (1-rc5-1.1) unstable; urgency=high
.
* Non-maintainer upload, prepared by Steve Langasek and me
* High-urgency upload for a sarge-targetted RC fix.
* Use --build, not --host, to specify the architecture; otherwise
autoconf thinks we're cross-compiling when we aren't.
* src/libffmpeg/
conditional on ENABLE_VIS, since that's what that define is for;
fixes FTBFS on sparc when using a 32-bit target (closes: #270884).
* Add patch to fix overflows when handling vcd:// MRLs
(closes: #265061).
Files:
3ad5b24da796d9
60602aa7ae2553
273885d8fc772b
1e4311a0d13ec1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFBVhUSQbn
n81PN7eoe57oPMT
=LjNo
-----END PGP SIGNATURE-----
Debian Bug Importer (debzilla) wrote : | #15 |
Message-Id: <email address hidden>
Date: Sat, 25 Sep 2004 21:17:19 -0400
From: Frank Lichtenheld <email address hidden>
To: <email address hidden>
Cc: Frank Lichtenheld <email address hidden>, Siggi Langauf <email address hidden>
Subject: Fixed in NMU of xine-lib 1-rc5-1.1
tag 265061 + fixed
tag 270884 + fixed
quit
This message was generated automatically in response to a
non-maintainer upload. The .changes file follows.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Sun, 26 Sep 2004 02:22:51 +0200
Source: xine-lib
Binary: libxine-dev libxine1
Architecture: source i386
Version: 1-rc5-1.1
Distribution: unstable
Urgency: high
Maintainer: Siggi Langauf <email address hidden>
Changed-By: Frank Lichtenheld <email address hidden>
Description:
libxine-dev - the xine video player library, development packages
libxine1 - the xine video/media player library, binary files
Closes: 265061 270884
Changes:
xine-lib (1-rc5-1.1) unstable; urgency=high
.
* Non-maintainer upload, prepared by Steve Langasek and me
* High-urgency upload for a sarge-targetted RC fix.
* Use --build, not --host, to specify the architecture; otherwise
autoconf thinks we're cross-compiling when we aren't.
* src/libffmpeg/
conditional on ENABLE_VIS, since that's what that define is for;
fixes FTBFS on sparc when using a 32-bit target (closes: #270884).
* Add patch to fix overflows when handling vcd:// MRLs
(closes: #265061).
Files:
3ad5b24da796d9
60602aa7ae2553
273885d8fc772b
1e4311a0d13ec1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFBVhUSQbn
n81PN7eoe57oPMT
=LjNo
-----END PGP SIGNATURE-----
In Debian Bug tracker #270884, Siggi Langauf (siggi) wrote : Bug#270884: fixed in xine-lib 1-rc6a-1 | #16 |
Source: xine-lib
Source-Version: 1-rc6a-1
We believe that the bug you reported is fixed in the latest version of
xine-lib, which is due to be installed in the Debian FTP archive:
libxine-
to pool/main/
libxine1_
to pool/main/
xine-lib_
to pool/main/
xine-lib_
to pool/main/
xine-lib_
to pool/main/
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to <email address hidden>,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Siggi Langauf <email address hidden> (supplier of updated xine-lib package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing <email address hidden>)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Mon, 27 Sep 2004 00:22:28 +0200
Source: xine-lib
Binary: libxine-dev libxine1
Architecture: source powerpc
Version: 1-rc6a-1
Distribution: unstable
Urgency: high
Maintainer: Siggi Langauf <email address hidden>
Changed-By: Siggi Langauf <email address hidden>
Description:
libxine-dev - the xine video player library, development packages
libxine1 - the xine video/media player library, binary files
Closes: 263418 265061 270884
Changes:
xine-lib (1-rc6a-1) unstable; urgency=high
.
* new upstream release (closes: #263418)
* fixes buffer overflow with vcd:// MRLs (closes: #265061)
* merged Frank and Steve's NMU patch (closes: 270884)
Files:
d65f9b29384869
32b231beb9b219
37b6aacccfc1ee
99116fc63356b8
b10629f2fd176e
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFBV8QDGlP
KvwlgqZ43q/
=fwxg
-----END PGP SIGNATURE-----
Debian Bug Importer (debzilla) wrote : | #17 |
Message-Id: <email address hidden>
Date: Mon, 27 Sep 2004 05:02:10 -0400
From: Siggi Langauf <email address hidden>
To: <email address hidden>
Subject: Bug#270884: fixed in xine-lib 1-rc6a-1
Source: xine-lib
Source-Version: 1-rc6a-1
We believe that the bug you reported is fixed in the latest version of
xine-lib, which is due to be installed in the Debian FTP archive:
libxine-
to pool/main/
libxine1_
to pool/main/
xine-lib_
to pool/main/
xine-lib_
to pool/main/
xine-lib_
to pool/main/
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to <email address hidden>,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Siggi Langauf <email address hidden> (supplier of updated xine-lib package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing <email address hidden>)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Mon, 27 Sep 2004 00:22:28 +0200
Source: xine-lib
Binary: libxine-dev libxine1
Architecture: source powerpc
Version: 1-rc6a-1
Distribution: unstable
Urgency: high
Maintainer: Siggi Langauf <email address hidden>
Changed-By: Siggi Langauf <email address hidden>
Description:
libxine-dev - the xine video player library, development packages
libxine1 - the xine video/media player library, binary files
Closes: 263418 265061 270884
Changes:
xine-lib (1-rc6a-1) unstable; urgency=high
.
* new upstream release (closes: #263418)
* fixes buffer overflow with vcd:// MRLs (closes: #265061)
* merged Frank and Steve's NMU patch (closes: 270884)
Files:
d65f9b29384869
32b231beb9b219
37b6aacccfc1ee
99116fc63356b8
b10629f2fd176e
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFBV8QDGlP
KvwlgqZ43q/
=fwxg
-----END PGP SIGNATURE-----
Changed in xine-lib: | |
status: | Unknown → Fix Released |
# Automatically generated email from bts, devscripts version 2.8.4
# curses reportbug for using wrong severities for FTBFS bugs
severity 270884 serious