qt-x11-free build error on arm-linux
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qt-x11-free (Debian) |
Fix Released
|
Unknown
|
|||
qt-x11-free (Ubuntu) |
Invalid
|
High
|
Unassigned |
Bug Description
Automatically imported from Debian bug report #270202 http://
Debian Bug Importer (debzilla) wrote : | #1 |
Debian Bug Importer (debzilla) wrote : | #2 |
Message-ID: <email address hidden>
Date: Mon, 6 Sep 2004 08:01:59 +0200
From: Matthias Klose <email address hidden>
To: <email address hidden>
Subject: qt-x11-free build error on arm-linux
Package: qt-x11-free
Version: 3:3.3.3-4
Severity: serious
[please don't reassign yet, let's evaluate it first; this is the
package that most people would expect to find a report]
when building on arm-linux, uic enters an infinite loop building
pixmapfunction.h. It's not the first uic invocation in the build.
(gdb) run
Starting program: /home/matthias/
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 31697)]
Program received signal SIGINT, Interrupt.
[Switching to Thread 16384 (LWP 31697)]
0x40506024 in mult () from lib/libqt-mt.so.3
the process uses all CPU time, strace doesn't show any
output. suspecting a toolchain issue, the following combinations of
versions and flags, all reproducing the same results, were tried:
- current gcc-3.3(sid), binutils-2.15-2, current glibc (-16),
qt with -O2
- current gcc-3.3(sid), binutils-2.15-2, current glibc (-16),
qt with -O0
- current gcc-3.3(sid), binutils-
qt with -O2
- current gcc-3.3(sid), binutils-
qt with -O2
- current gcc-3.3(sid), binutils-2.15-2, current glibc (-16),
qt with -O0
- current gcc-3.4(sid), binutils-2.15-2, current glibc (-16),
qt with -O2
- current gcc-3.3(sid), binutils-2.15-2, current glibc (-16) rebuilt
with current gcc-3.3(sid), binutils-2.15-2
qt with -O2
Currently trying to build with current sarge tools.
Matthias
James Troup (elmo) wrote : | #3 |
arm is not a release arch for warty
In Debian Bug tracker #270202, Paul Brook (paul-codesourcery) wrote : | #4 |
I don't think this is a toolchain issue.
arm-linux uses a somewhat strange floating point format. This is IEEE, however
with a funny byte order. Specifically bytes use native ordering (ie. same as
int), but words are always big-endian.
ie. byte order for a "double" is as follows:
armeb: 76543210
armel: 45670123
src/tools/
because we get the word order wrong, and end up trying to calculate a very
large exponent by successive multiplications.
Paul
Debian Bug Importer (debzilla) wrote : | #5 |
Message-Id: <email address hidden>
Date: Sun, 12 Sep 2004 15:57:09 +0100
From: Paul Brook <email address hidden>
To: <email address hidden>
Subject: qt-x11-free build error on arm-linux
I don't think this is a toolchain issue.
arm-linux uses a somewhat strange floating point format. This is IEEE, however
with a funny byte order. Specifically bytes use native ordering (ie. same as
int), but words are always big-endian.
ie. byte order for a "double" is as follows:
armeb: 76543210
armel: 45670123
src/tools/
because we get the word order wrong, and end up trying to calculate a very
large exponent by successive multiplications.
Paul
In Debian Bug tracker #270202, Jan Niehusmann (jan-debian) wrote : Re: Bug#270202: qt-x11-free build error on arm-linux | #6 |
On Sun, Sep 12, 2004 at 03:57:09PM +0100, Paul Brook wrote:
> src/tools/
> because we get the word order wrong, and end up trying to calculate a very
> large exponent by successive multiplications.
I noticed the following lines in the at 3.3.2 changelog:
| Added macro QT_QLOCALE_
| floating point implementations (notably some versions of ARM
| Linux). These systems are not autodetected; use
| "-DQT_QLOCALE_
This macro, QT_QLOCALE_
Could this help building qt on arm, or is this a different issue?
Jan
Debian Bug Importer (debzilla) wrote : | #7 |
Message-ID: <email address hidden>
Date: Tue, 14 Sep 2004 13:17:19 +0200
From: Jan Niehusmann <email address hidden>
To: Paul Brook <email address hidden>, <email address hidden>
Subject: Re: Bug#270202: qt-x11-free build error on arm-linux
On Sun, Sep 12, 2004 at 03:57:09PM +0100, Paul Brook wrote:
> src/tools/
> because we get the word order wrong, and end up trying to calculate a very
> large exponent by successive multiplications.
I noticed the following lines in the at 3.3.2 changelog:
| Added macro QT_QLOCALE_
| floating point implementations (notably some versions of ARM
| Linux). These systems are not autodetected; use
| "-DQT_QLOCALE_
This macro, QT_QLOCALE_
Could this help building qt on arm, or is this a different issue?
Jan
In Debian Bug tracker #270202, Steve Langasek (vorlon) wrote : | #8 |
tags 270202 patch
thanks
The attached patch implements the proposed fix for arm; verified to
still build on i386, it does look like it has the desired effect on the
qlocale.cpp source.
If someone can test this on arm, that'd be peachy. If not, given the
apparently straightforward nature of the fix, it may be best to go ahead
with an upload.
BTW, there are some other references to DEB_BUILD_GNU_* in the rules
that should be DEB_HOST_GNU_*...
--
Steve Langasek
postmodern programmer
Debian Bug Importer (debzilla) wrote : | #9 |
Message-ID: <email address hidden>
Date: Thu, 16 Sep 2004 21:11:11 -0700
From: Steve Langasek <email address hidden>
To: <email address hidden>
Subject: Re: qt-x11-free build error on arm-linux
--Ms5iOKSBOB9YS8zC
Content-Type: multipart/mixed; boundary=
Content-
--fLj60tP2PZ34xyqD
Content-Type: text/plain; charset=us-ascii
Content-
Content-
tags 270202 patch
thanks
The attached patch implements the proposed fix for arm; verified to
still build on i386, it does look like it has the desired effect on the
qlocale.cpp source.
If someone can test this on arm, that'd be peachy. If not, given the
apparently straightforward nature of the fix, it may be best to go ahead
with an upload.
BTW, there are some other references to DEB_BUILD_GNU_* in the rules
that should be DEB_HOST_GNU_*...
--=20
Steve Langasek
postmodern programmer
--fLj60tP2PZ34xyqD
Content-Type: text/plain; charset=us-ascii
Content-
Content-
diff -u qt-x11-
og
--- qt-x11-
+++ qt-x11-
@@ -1,3 +1,11 @@
+qt-x11-free (3:3.3.3-4.1) unstable; urgency=3Dlow
+
+ * Non-maintainer upload.
+ * Set -DQT_QLOCALE_
+ floating-point assumption in qlocale.cpp. Closes: #270202.
+
+ -- Steve Langasek <email address hidden> Thu, 16 Sep 2004 16:36:43 -0700
+
qt-x11-free (3:3.3.3-4) unstable; urgency=3Dhigh
=20
* ML: Applied patch from Marcus Meissner to fix broken XPM DoS not yet=
=20
diff -u qt-x11-
--- qt-x11-
+++ qt-x11-
@@ -41,6 +41,10 @@
-stl -xinerama -xrandr -system-nas-sound -cups -xft -xcursor -sm \
-no-exceptions -platform linux-g++ -fast
=20
+ifeq ($(DEB_
+ CONFIGURE_OPTS +=3D -DQT_QLOCALE_
+endif
+
ifneq ($(DEB_
CONFIGURE_OPTS +=3D -no-sql-ibase
endif
--fLj60tP2PZ34x
--Ms5iOKSBOB9YS8zC
Content-Type: application/
Content-
Content-
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFBSmPbKN6
mAjmfOezOPvLKgq
=oUgs
-----END PGP SIGNATURE-----
--Ms5iOKSBOB9YS
In Debian Bug tracker #270202, Riku Voipio (riku-voipio) wrote : [qt-x11-free] build error on arm-linux [updated patch] | #10 |
Hi,
Compiling with QT_QLOCALE_
include. With this patch it seems to compile. I'm running a clean
compile currently to verify.
Debian Bug Importer (debzilla) wrote : | #11 |
Message-ID: <email address hidden>
Date: Sat, 18 Sep 2004 14:29:51 +0300
From: Riku Voipio <email address hidden>
To: <email address hidden>
Cc: <email address hidden>
Subject: [qt-x11-free] build error on arm-linux [updated patch]
--aM3YZ0Iwxop3KEKx
Content-Type: text/plain; charset=us-ascii
Content-
Hi,
Compiling with QT_QLOCALE_
include. With this patch it seems to compile. I'm running a clean
compile currently to verify.
--aM3YZ0Iwxop3KEKx
Content-Type: text/plain; charset=us-ascii
Content-
Content-
diff -urN qt-x11-
hangelog
--- qt-x11-
000
+++ qt-x11-
@@ -1,3 +1,12 @@
+qt-x11-free (3:3.3.3-4.1) unstable; urgency=3Dlow
+
+ * Non-maintainer upload.
+ * Set -DQT_QLOCALE_
+ floating-point assumption in qlocale.cpp. Closes: #270202.
+ * Riku Voipio: Added patch: 20_qlocale_
+
+ -- Steve Langasek <email address hidden> Thu, 16 Sep 2004 16:36:43 -0700
+
qt-x11-free (3:3.3.3-4) unstable; urgency=3Dhigh
=20
* ML: Applied patch from Marcus Meissner to fix broken XPM DoS not yet=
=20
diff -urN qt-x11-
h qt-x11-
--- qt-x11-
-01-01 00:00:00.000000000 +0000
+++ qt-x11-
18 11:13:59.000000000 +0000
@@ -0,0 +1,39 @@
+#! /bin/sh -e
+## 20_qlocale_
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+if [ $# -lt 1 ]; then
+ echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
+ exit 1
+fi
+
+[ -f debian/
+patch_
+
+case "$1" in
+ -patch) patch -p1 ${patch_opts} < $0;;
+ -unpatch) patch -R -p1 ${patch_opts} < $0;;
+ *)
+ echo "`basename $0`: script expects -patch|-unpatch as argument" >=
&2
+ exit 1;;
+esac
+
+exit 0
+
+@DPATCH@
+diff -urNad /tmp/qt/
3.3/src/
+--- /tmp/qt/
0000000 +0000
++++ qt-x11-
+0000
+@@ -46,8 +46,10 @@
+=20
+ #ifdef QT_QLOCALE_
+ # include <qmutex.h>
++# include "qmutexpool_p.h"
+ #endif
+=20
++
+ #if defined (Q_OS_WIN)
+ # include <windows.h>
+ # undef NAN // we want to use our fallback on Windows
diff -urN qt-x11-
--- qt-x11-
+++ qt-x11-
In Debian Bug tracker #270202, Matthias Klose (doko) wrote : Fixed in NMU of qt-x11-free 3:3.3.3-4.1 | #12 |
tag 270202 + 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: Sat, 18 Sep 2004 17:01:16 +0200
Source: qt-x11-free
Binary: libqt3-i18n libqt3c102-mt-mysql libqt3c102-mt-odbc qt3-apps-dev libqt3c102-ibase libqt3c102-odbc qt3-assistant libqt3c102-mt libqt3c102-mt-psql qt3-examples qt3-doc libqt3-headers libqt3c102-
Architecture: source i386 all
Version: 3:3.3.3-4.1
Distribution: unstable
Urgency: high
Maintainer: Martin Loschwitz <email address hidden>
Changed-By: Matthias Klose <email address hidden>
Description:
libqt3-
libqt3-dev - Qt development files
libqt3-headers - Qt3 header files
libqt3-i18n - i18n files for Qt3 library
libqt3-mt-dev - Qt development files (Threaded)
libqt3c102 - Qt GUI Library, Version 3
libqt3c102-ibase - InterBase/FireBird database driver for Qt3
libqt3c102-mt - Qt GUI Library (Threaded runtime version), Version 3
libqt3c102-
libqt3c102-
libqt3c102-mt-odbc - ODBC database driver for Qt3 (Threaded)
libqt3c102-mt-psql - PostgreSQL database driver for Qt3 (Threaded)
libqt3c102-
libqt3c102-mysql - MySQL database driver for Qt3
libqt3c102-odbc - ODBC database driver for Qt3
libqt3c102-psql - PostgreSQL database driver for Qt3
libqt3c102-sqlite - SQLite database driver for Qt3
qt3-apps-dev - Qt3 Developer applications development files
qt3-assistant - The Qt3 assistant application
qt3-designer - Qt3 Designer
qt3-dev-tools - Qt3 development tools
qt3-dev-
qt3-dev-
qt3-doc - Qt3 API documentation
qt3-examples - Examples for Qt3
qt3-linguist - The Qt3 Linguist
qt3-qtconfig - The Qt3 Configuration Application
Closes: 270202
Changes:
qt-x11-free (3:3.3.3-4.1) unstable; urgency=high
.
* NMU, maintainer doesn't show any reaction.
* On arm-linux, configure using -DQT_QLOCALE_
known issue, mentioned in the 3.3.2 release notes, but nowhere in
the 3.3.3 sources. Great! Thanks to Paul Brook and Jan Niehusmann for
the investigations. Closes: #270202.
* Riku Voipio: Added patch: 20_qlocale_
* debian/
Files:
d2ddc1a1d9d541
db2bc74f0cf98a
e7763dfcb35e97
70e8a763bab179
70c968760cce17
Debian Bug Importer (debzilla) wrote : | #13 |
Message-Id: <email address hidden>
Date: Sat, 18 Sep 2004 13:17:51 -0400
From: Matthias Klose <email address hidden>
To: <email address hidden>
Cc: Matthias Klose <email address hidden>, Martin Loschwitz <email address hidden>
Subject: Fixed in NMU of qt-x11-free 3:3.3.3-4.1
tag 270202 + 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: Sat, 18 Sep 2004 17:01:16 +0200
Source: qt-x11-free
Binary: libqt3-i18n libqt3c102-mt-mysql libqt3c102-mt-odbc qt3-apps-dev libqt3c102-ibase libqt3c102-odbc qt3-assistant libqt3c102-mt libqt3c102-mt-psql qt3-examples qt3-doc libqt3-headers libqt3c102-
Architecture: source i386 all
Version: 3:3.3.3-4.1
Distribution: unstable
Urgency: high
Maintainer: Martin Loschwitz <email address hidden>
Changed-By: Matthias Klose <email address hidden>
Description:
libqt3-
libqt3-dev - Qt development files
libqt3-headers - Qt3 header files
libqt3-i18n - i18n files for Qt3 library
libqt3-mt-dev - Qt development files (Threaded)
libqt3c102 - Qt GUI Library, Version 3
libqt3c102-ibase - InterBase/FireBird database driver for Qt3
libqt3c102-mt - Qt GUI Library (Threaded runtime version), Version 3
libqt3c102-
libqt3c102-
libqt3c102-mt-odbc - ODBC database driver for Qt3 (Threaded)
libqt3c102-mt-psql - PostgreSQL database driver for Qt3 (Threaded)
libqt3c102-
libqt3c102-mysql - MySQL database driver for Qt3
libqt3c102-odbc - ODBC database driver for Qt3
libqt3c102-psql - PostgreSQL database driver for Qt3
libqt3c102-sqlite - SQLite database driver for Qt3
qt3-apps-dev - Qt3 Developer applications development files
qt3-assistant - The Qt3 assistant application
qt3-designer - Qt3 Designer
qt3-dev-tools - Qt3 development tools
qt3-dev-
qt3-dev-
qt3-doc - Qt3 API documentation
qt3-examples - Examples for Qt3
qt3-linguist - The Qt3 Linguist
qt3-qtconfig - The Qt3 Configuration Application
Closes: 270202
Changes:
qt-x11-free (3:3.3.3-4.1) unstable; urgency=high
.
* NMU, maintainer doesn't show any reaction.
* On arm-linux, configure using -DQT_QLOCALE_
known issue, mentioned in the 3.3.2 release notes, but nowhere in
the 3.3.3 sources. Great! Thanks to Paul Brook and Jan Niehusmann for
the investigations. Closes: #270202.
* Riku Voipio: Added patch: 20_qlocale_
* debian/
Files:
d2ddc1a1d9d541
db2bc74f0cf98a
In Debian Bug tracker #270202, Stuart Winter (m-lists) wrote : Re: Bug#270202: qt-x11-free build error on arm-linux | #14 |
[..]
> Starting program: /home/matthias/
tools/designer/
> [Thread debugging using libthread_db enabled]
> [New Thread 16384 (LWP 31697)]
>
> Program received signal SIGINT, Interrupt.
> [Switching to Thread 16384 (LWP 31697)]
> 0x40506024 in mult () from lib/libqt-mt.so.3
>
> the process uses all CPU time, strace doesn't show any
> output. suspecting a toolchain issue, the following combinations of
[..]
I'm not using Debian ARM, so I'm not too sure if this reply will be of
much help; however, I had the exact same problem building qt-3.3.3 for my
Slackware ARM port.
To fix it I patched in:
debian/
from qt-x11-
and added -DQT_QLOCALE_
because this is what debian/rules does in this particular diff version
(and it's also mentioned in the diff's changelog).
I built qt with:
gcc-3.3.4
binutils-
glibc-2.3.2 (with Debian's diff - sorry, can't remember which one
specifically but it was *probably* diff-16)
If it's any help then I can let you know exactly what toolchain versions
I'm currently using (including any Debian diffs I use (I only apply
full Debian diffs to glibc and gcc)) and I will rebuild qt-3.3.3 and let
you know the results.
If it's of any use or interest then the build log for a completed build of
qt can be found here:
ftp://ftp.
The main build script is here:
ftp://ftp.
--
Stuart Winter
www.interlude.
Debian Bug Importer (debzilla) wrote : | #15 |
Message-ID: <email address hidden>
Date: Thu, 7 Oct 2004 11:02:48 +0100 (BST)
From: Stuart Winter <email address hidden>
To: Matthias Klose <email address hidden>, <email address hidden>
cc: <email address hidden>
Subject: Re: Bug#270202: qt-x11-free build error on arm-linux
[..]
> Starting program: /home/matthias/
tools/designer/
> [Thread debugging using libthread_db enabled]
> [New Thread 16384 (LWP 31697)]
>
> Program received signal SIGINT, Interrupt.
> [Switching to Thread 16384 (LWP 31697)]
> 0x40506024 in mult () from lib/libqt-mt.so.3
>
> the process uses all CPU time, strace doesn't show any
> output. suspecting a toolchain issue, the following combinations of
[..]
I'm not using Debian ARM, so I'm not too sure if this reply will be of
much help; however, I had the exact same problem building qt-3.3.3 for my
Slackware ARM port.
To fix it I patched in:
debian/
from qt-x11-
and added -DQT_QLOCALE_
because this is what debian/rules does in this particular diff version
(and it's also mentioned in the diff's changelog).
I built qt with:
gcc-3.3.4
binutils-
glibc-2.3.2 (with Debian's diff - sorry, can't remember which one
specifically but it was *probably* diff-16)
If it's any help then I can let you know exactly what toolchain versions
I'm currently using (including any Debian diffs I use (I only apply
full Debian diffs to glibc and gcc)) and I will rebuild qt-3.3.3 and let
you know the results.
If it's of any use or interest then the build log for a completed build of
qt can be found here:
ftp://ftp.
The main build script is here:
ftp://ftp.
--
Stuart Winter
www.interlude.
In Debian Bug tracker #270202, Martin Gerhard Loschwitz (martin-loschwitz) wrote : Bug#270202: fixed in qt-x11-free 3:3.3.3-5 | #16 |
Source: qt-x11-free
Source-Version: 3:3.3.3-5
We believe that the bug you reported is fixed in the latest version of
qt-x11-free, which is due to be installed in the Debian FTP archive:
libqt3-
to pool/main/
libqt3-
to pool/main/
libqt3-
to pool/main/
libqt3-
to pool/main/
libqt3-
to pool/main/
libqt3c102-
to pool/main/
libqt3c102-
to pool/main/
libqt3c102-
to pool/main/
libqt3c102-
to pool/main/
libqt3c102-
to pool/main/
libqt3c102-
to pool/main/
libqt3c102-
to pool/main/
libqt3c102-
to pool/main/
libqt3c102-
to pool/main/
libqt3c102-
to pool/main/
libqt3c102-
to pool/main/
libqt3c102_
to pool/main/
qt-x11-
to pool/main/
qt-x11-
to pool/main/
qt3-apps-
to pool/main/
qt3-assistant_
to pool/main/
qt3-designer_
to pool/main/
qt3-dev-
to pool/main/
qt3-dev-
to pool/main/
qt3-dev-
to pool/main/
qt3-doc_
to pool/main/
qt3-examples_
to pool/main/
qt3-linguist_
to pool/main/
qt3-qtconfig_
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 distributio...
Debian Bug Importer (debzilla) wrote : | #17 |
Message-Id: <email address hidden>
Date: Sun, 31 Oct 2004 08:32:14 -0500
From: Martin Loschwitz <email address hidden>
To: <email address hidden>
Subject: Bug#270202: fixed in qt-x11-free 3:3.3.3-5
Source: qt-x11-free
Source-Version: 3:3.3.3-5
We believe that the bug you reported is fixed in the latest version of
qt-x11-free, which is due to be installed in the Debian FTP archive:
libqt3-
to pool/main/
libqt3-
to pool/main/
libqt3-
to pool/main/
libqt3-
to pool/main/
libqt3-
to pool/main/
libqt3c102-
to pool/main/
libqt3c102-
to pool/main/
libqt3c102-
to pool/main/
libqt3c102-
to pool/main/
libqt3c102-
to pool/main/
libqt3c102-
to pool/main/
libqt3c102-
to pool/main/
libqt3c102-
to pool/main/
libqt3c102-
to pool/main/
libqt3c102-
to pool/main/
libqt3c102-
to pool/main/
libqt3c102_
to pool/main/
qt-x11-
to pool/main/
qt-x11-
to pool/main/
qt3-apps-
to pool/main/
qt3-assistant_
to pool/main/
qt3-designer_
to pool/main/
qt3-dev-
to pool/main/
qt3-dev-
to pool/main/
qt3-dev-
to pool/main/
qt3-doc_
to pool/main/
qt3-examples_
to pool/main/
qt3-linguist_
to pool/main/
qt3-qtconfig_
to pool/main/
A summary of the changes between this version and the previous one is
attached....
Changed in qt-x11-free: | |
status: | Unknown → Fix Released |
Automatically imported from Debian bug report #270202 http:// bugs.debian. org/270202