Your message dated Mon, 21 Mar 2011 07:03:32 +0000
with message-id <[email protected]>
and subject line Bug#567726: fixed in stlport5.2 5.2.1-5.1
has caused the Debian Bug report #567726,
regarding stlport5.2: Please support Renesas SH4(sh)
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
567726: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=567726
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: stlport5.2
Version: 5.2.1-5
Severity: important
Tags: patch
User: [email protected]
Usertags: sh4
X-Debbugs-CC: [email protected]
Hi,
I am now trying to run Debian on Renesas SH(sh4) CPU.
http://buildd.debian-ports.org/status/architecture.php?suite=unstable&a=sh4
stlport5.2 FTBFS on SH4.
Because stlport5.2 does not support Renesas SH.
http://buildd.debian-ports.org/fetch.php?pkg=stlport5.2&arch=sh4&ver=5.2.1-5&stamp=1264806388&file=log&as=raw
-----
from ../../stlport/memory:29,
from ../../src/dll_main.cpp:41:
../../stlport/stl/_cstdlib.h:95: error: 'std::llabs' has not been declared
../../stlport/stl/_cstdlib.h:96: error: 'std::lldiv_t' has not been declared
../../stlport/stl/_cstdlib.h:97: error: 'std::lldiv' has not been declared
In file included from ../../stlport/stl/_alloc.h:35,
from ../../stlport/memory:29,
from ../../src/dll_main.cpp:41:
../../stlport/stl/_cstdlib.h: In function 'long long int abs(long long int)':
../../stlport/stl/_cstdlib.h:151: error: 'llabs' is not a member of 'std'
../../stlport/stl/_cstdlib.h: In function 'lldiv_t div(long long int, long long
int)':
../../stlport/stl/_cstdlib.h:152: error: 'lldiv' is not a member of 'std'
In file included from ../../src/dll_main.cpp:73:
../../stlport/stl/_stdexcept_base.c: In constructor
'stlp_std::__Named_exception::__Named_exception(const stlp_std::string&)':
../../stlport/stl/_stdexcept_base.c:28: warning: dereferencing type-punned
pointer will break strict-aliasing rules
../../stlport/stl/_stdexcept_base.c: In copy constructor
'stlp_std::__Named_exception::__Named_exception(const
stlp_std::__Named_exception&)':
../../stlport/stl/_stdexcept_base.c:51: warning: dereferencing type-punned
pointer will break strict-aliasing rules
../../stlport/stl/_stdexcept_base.c: In member function
'stlp_std::__Named_exception& stlp_std::__Named_exception::operator=(const
stlp_std::__Named_exception&)':
../../stlport/stl/_stdexcept_base.c:67: warning: dereferencing type-punned
pointer will break strict-aliasing rules
../../stlport/stl/_stdexcept_base.c:77: warning: dereferencing type-punned
pointer will break strict-aliasing rules
make[1]: *** [obj/gcc/so/dll_main.o] Error 1
make: *** [debian/stamp-makefile-build] Error 2
-----
A patch(debian/patches/arm-build-7820fe.diff) same as arm is necessary for sh.
I added sh to this.
Could you apply this patch?
Best regards,
Nobuhiro
--
Nobuhiro Iwamatsu
GPG ID: 3170EBE9 / 40AD1FA6
From: Petr Ovtchenkov <[email protected]>
Date: Thu, 25 Jun 2009 08:06:11 +0000 (+0400)
Subject: Fix build for ARM GNU/Linux
X-Git-Url: http://stlport.git.sourceforge.net/git/gitweb.cgi?p=stlport;a=commitdiff_plain;h=7820fe8e502b062f82d8bb630ad07aa20f6d2d4c
Fix build for ARM GNU/Linux
llabs, lldiv_t, lldiv not defined in native gcc's std namespace;
use ones from C space (i.e. from global namespace) instead.
Build done for Sourcery G++ Lite 2009q1-176 for ARM GNU/Linux;
unit test build success, run not checked.
---
Index: stlport5.2-5.2.1/stlport/stl/_cstdlib.h
===================================================================
--- stlport5.2-5.2.1.orig/stlport/stl/_cstdlib.h 2008-12-10 10:56:51.000000000 +0100
+++ stlport5.2-5.2.1/stlport/stl/_cstdlib.h 2009-06-28 15:22:50.000000000 +0200
@@ -91,7 +91,7 @@
using _STLP_VENDOR_CSTD::labs;
using _STLP_VENDOR_CSTD::ldiv;
# if defined (_STLP_LONG_LONG) && !defined (_STLP_NO_VENDOR_STDLIB_L)
-# if !defined(__sun)
+# if !defined(__sun) && !defined(__arm__) && !defined(__sh__)
using _STLP_VENDOR_CSTD::llabs;
using _STLP_VENDOR_CSTD::lldiv_t;
using _STLP_VENDOR_CSTD::lldiv;
@@ -147,7 +147,7 @@
#if defined (_STLP_LONG_LONG)
# if !defined (_STLP_NO_VENDOR_STDLIB_L)
-# if !defined (__sun)
+# if !defined (__sun) && !defined(__arm__) && !defined(__mips__) && !defined(__mipsel__) && !defined(__sh__)
inline _STLP_LONG_LONG abs(_STLP_LONG_LONG __x) { return _STLP_VENDOR_CSTD::llabs(__x); }
inline lldiv_t div(_STLP_LONG_LONG __x, _STLP_LONG_LONG __y) { return _STLP_VENDOR_CSTD::lldiv(__x, __y); }
# else
--- End Message ---
--- Begin Message ---
Source: stlport5.2
Source-Version: 5.2.1-5.1
We believe that the bug you reported is fixed in the latest version of
stlport5.2, which is due to be installed in the Debian FTP archive:
libstlport5.2-dbg_5.2.1-5.1_amd64.deb
to main/s/stlport5.2/libstlport5.2-dbg_5.2.1-5.1_amd64.deb
libstlport5.2-dev_5.2.1-5.1_amd64.deb
to main/s/stlport5.2/libstlport5.2-dev_5.2.1-5.1_amd64.deb
libstlport5.2_5.2.1-5.1_amd64.deb
to main/s/stlport5.2/libstlport5.2_5.2.1-5.1_amd64.deb
stlport5.2_5.2.1-5.1.diff.gz
to main/s/stlport5.2/stlport5.2_5.2.1-5.1.diff.gz
stlport5.2_5.2.1-5.1.dsc
to main/s/stlport5.2/stlport5.2_5.2.1-5.1.dsc
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 protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Nobuhiro Iwamatsu <[email protected]> (supplier of updated stlport5.2 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 protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Mon, 14 Feb 2011 10:20:53 +0900
Source: stlport5.2
Binary: libstlport5.2-dev libstlport5.2 libstlport5.2-dbg
Architecture: source amd64
Version: 5.2.1-5.1
Distribution: unstable
Urgency: low
Maintainer: Torsten Werner <[email protected]>
Changed-By: Nobuhiro Iwamatsu <[email protected]>
Description:
libstlport5.2 - STLport C++ class library
libstlport5.2-dbg - STLport C++ class library debug symbols
libstlport5.2-dev - STLport C++ class library
Closes: 567726
Changes:
stlport5.2 (5.2.1-5.1) unstable; urgency=low
.
* Non-maintainer upload.
* Update patches/arm-build-7820fe.diff. (Closes: #567726)
- Add support Renesas SH4.
Checksums-Sha1:
499b31789ab6ffe75a801d6e6d3ba3332ffdd318 1919 stlport5.2_5.2.1-5.1.dsc
132eb985b387e1e720c88b1bcfaa1fe13cd99cd6 16835 stlport5.2_5.2.1-5.1.diff.gz
5572f14afcd9c2eef184f1c6e78227c435ab9c33 848572
libstlport5.2-dev_5.2.1-5.1_amd64.deb
921b13f1098065fdea996e3fcd46a7914b1890cd 207484
libstlport5.2_5.2.1-5.1_amd64.deb
e2fc0a799e8c17afb29a4b0c9af12d2273f48e02 1024076
libstlport5.2-dbg_5.2.1-5.1_amd64.deb
Checksums-Sha256:
411e8fa02c4a6486fcff977f9502280d75ff07fdaa2f2584ef5366f52c9487fd 1919
stlport5.2_5.2.1-5.1.dsc
5d176a8cba77ddb2f001c160ff57dd466d6eec9b3eb6463147dd3977ff8e9c8b 16835
stlport5.2_5.2.1-5.1.diff.gz
c8dede134749c9b14251a9bbf2d64595aa871791850d1ae5ff68e00c781ab302 848572
libstlport5.2-dev_5.2.1-5.1_amd64.deb
8d5a69aef489e0efa8ddd1c273e727bec959f6f233aacd72bed6112a65794480 207484
libstlport5.2_5.2.1-5.1_amd64.deb
44ac2ea9c7618d03ae6043585b3502fd0a09aa1d677e63cc8dc81151677c478f 1024076
libstlport5.2-dbg_5.2.1-5.1_amd64.deb
Files:
3a3f57b246286cd87d1581c8e66b4299 1919 devel optional stlport5.2_5.2.1-5.1.dsc
75af2f652c9a953bbb71730191bdc6b3 16835 devel optional
stlport5.2_5.2.1-5.1.diff.gz
e82c2bab708978e77d7adcb7206b6449 848572 libdevel optional
libstlport5.2-dev_5.2.1-5.1_amd64.deb
7bef01b497ae922fcb6c9e761b7ab961 207484 libs optional
libstlport5.2_5.2.1-5.1_amd64.deb
23c2e59db784586fdad5156c623cf1c1 1024076 debug extra
libstlport5.2-dbg_5.2.1-5.1_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQIcBAEBCAAGBQJNeahUAAoJEDIkf7tArR+mDigP/1dHszCl1+061n/Bog5V16c6
TS1ybY7HJiZVVAKJ0oFqOA4Pua0pPzYmxbKR7f1kcQ+ka1G6j5SH4YMjpL9gHGT8
hs8W0MJ6w3iQdDI+/2lyIiEEuJKH2YexbZykKA/lrqL2RCwgqigOHviPIBRUKtH3
NkVcyq4ARUf6Pmb16JKFmOJpd+oXOXS2PcJBJP1GaMoRdOoj7/6arcG4Dv9yh+dW
JE91A1RiwMPdTo1eS2GiXl6gxnfkbasnLtUgqFkDHfp/4X+04W8hzKxL0EmpYtv6
Q0sdlQD399N+9UVbQJLX2no3UPmHADpuzpVAthtdEqIf4tlqRRGNCnkOOXYMb3mA
iQt0bsqQk2gfFC+C7oO1H+3jSJjTxEG9mtF2Nn04UMu/tO/X5TKNk/0D7TL1CkD8
yLnMtLW4pXGVB1BD+YF/xaOL1YhI1WM6UT3KYWNpGGTwVBE7T/HpjB4yjeCF5D6J
haAZ59HAInhWv4pAgKskOy10eczl79b4x1zxWoiWD5i0kI73VAdQN7Ikb4G1ds4R
vIYlXokWJo2OUzOKaD0qNIGe5PsM7hz9PYXVS+Ctox0yMlw/ho8xp6lvoKEbY9df
XJeGV5D9m73a0+//fxTOrKRtJ8sZBkmtBkHrxGPEYcLs1eLIn5slfqjH+7Pt5R7X
abYR/rX4M7+drfyFeJId
=fAyx
-----END PGP SIGNATURE-----
--- End Message ---