Your message dated Tue, 29 Sep 2015 07:50:38 +0000 with message-id <[email protected]> and subject line Bug#800410: fixed in nodejs 4.1.1~dfsg-2 has caused the Debian Bug report #800410, regarding nodejs: about some mips* 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.) -- 800410: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=800410 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: nodejs Version: 4.1.0~dfsg-3 Some fix of mips64el support: 1. configure: add mips64el to valid_arch list 2. fix host_arch_cc, for mips64el, otherwise, it will be treat as mipsel 3. mips64el, should use fp64 not fpxx or fp32 Fix of mipsel: currently, mipsel uses fpxx and no-odd-fregs, so __detect_fp64_mode will get FTBFS. So don't use the asm code instead of just use configure macros. -- YunQiang Sudiff --git a/debian/patches/1007_detect_mipsel.patch b/debian/patches/1007_detect_mipsel.patch index e82b4cf..3850165 100644 --- a/debian/patches/1007_detect_mipsel.patch +++ b/debian/patches/1007_detect_mipsel.patch @@ -2,8 +2,10 @@ Description: upstream configure must detect mipsel Author: Jérémy Lal <[email protected]> Forwarded: https://github.com/nodejs/node/pull/2971 Last-Update: 2015-09-20 ---- nodejs.orig/configure -+++ nodejs/configure +Index: nodejs-4.1.0~dfsg/configure +=================================================================== +--- nodejs-4.1.0~dfsg.orig/configure ++++ nodejs-4.1.0~dfsg/configure @@ -575,6 +575,7 @@ def host_arch_cc(): '__aarch64__' : 'arm64', '__arm__' : 'arm', @@ -12,3 +14,35 @@ Last-Update: 2015-09-20 '__mips__' : 'mips', '__PPC64__' : 'ppc64', '__PPC__' : 'ppc', +Index: nodejs-4.1.0~dfsg/deps/v8/src/base/cpu.cc +=================================================================== +--- nodejs-4.1.0~dfsg.orig/deps/v8/src/base/cpu.cc ++++ nodejs-4.1.0~dfsg/deps/v8/src/base/cpu.cc +@@ -137,22 +137,11 @@ static uint32_t ReadELFHWCaps() { + + #if V8_HOST_ARCH_MIPS + int __detect_fp64_mode(void) { +- double result = 0; +- // Bit representation of (double)1 is 0x3FF0000000000000. +- __asm__ volatile( +- ".set push\n\t" +- ".set noreorder\n\t" +- ".set oddspreg\n\t" +- "lui $t0, 0x3FF0\n\t" +- "ldc1 $f0, %0\n\t" +- "mtc1 $t0, $f1\n\t" +- "sdc1 $f0, %0\n\t" +- ".set pop\n\t" +- : "+m"(result) +- : +- : "t0", "$f0", "$f1", "memory"); +- +- return !(result == 1); ++#ifdef FPU_MODE_FP64 ++ return 1; ++#else ++ return 0; ++#endif + } + + diff --git a/debian/patches/2016_mips64el.patch b/debian/patches/2016_mips64el.patch new file mode 100644 index 0000000..f0131b1 --- /dev/null +++ b/debian/patches/2016_mips64el.patch @@ -0,0 +1,41 @@ +Index: nodejs-4.1.0~dfsg/configure +=================================================================== +--- nodejs-4.1.0~dfsg.orig/configure ++++ nodejs-4.1.0~dfsg/configure +@@ -27,7 +27,7 @@ parser = optparse.OptionParser() + + valid_os = ('win', 'mac', 'solaris', 'freebsd', 'openbsd', 'linux', + 'android', 'aix') +-valid_arch = ('arm', 'arm64', 'ia32', 'mips', 'mipsel', 'ppc', 'ppc64', 'x32', ++valid_arch = ('arm', 'arm64', 'ia32', 'mips', 'mipsel', 'mips64el','ppc', 'ppc64', 'x32', + 'x64', 'x86') + valid_arm_float_abi = ('soft', 'softfp', 'hard') + valid_arm_fpu = ('vfp', 'vfpv2', 'vfpv3', 'neon') +@@ -581,14 +581,16 @@ def host_arch_cc(): + '__PPC__' : 'ppc', + '__x86_64__' : 'x64', + } +- ++ ++ if k.get('_MIPS_SIM') == '_ABI64' and k.get('__MIPSEL__') == '1': ++ return 'mips64el' ++ + rtn = 'ia32' # default + + for i in matchup: + if i in k and k[i] != '0': + rtn = matchup[i] + break +- + return rtn + + +@@ -664,7 +666,7 @@ def configure_node(o): + + if target_arch == 'arm': + configure_arm(o) +- elif target_arch in ('mips', 'mipsel'): ++ elif target_arch in ('mips', 'mipsel', 'mips64el'): + configure_mips(o) + + if flavor in ('solaris', 'mac', 'linux', 'freebsd'): diff --git a/debian/patches/series b/debian/patches/series index 53291d5..b5488c0 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -9,3 +9,4 @@ shared_can_build_without_gyp.patch 1006_arm_fpu.patch 2015_gypnoparallel.patch 1007_detect_mipsel.patch +2016_mips64el.patch diff --git a/debian/rules b/debian/rules index 4083d64..f01c19d 100755 --- a/debian/rules +++ b/debian/rules @@ -71,7 +71,7 @@ endif # mips32r1 or greater, detected at runtime # fpu 32 or 64 detected at runtime ifeq (mips64el, $(DEB_HOST_ARCH)) -DEB_CONFIGURE_EXTRA_FLAGS += --with-mips-arch-variant=rx --with-mips-fpu-mode=fpxx +DEB_CONFIGURE_EXTRA_FLAGS += --with-mips-arch-variant=rx --with-mips-fpu-mode=fp64 endif ifeq (armel, $(DEB_HOST_ARCH))
--- End Message ---
--- Begin Message ---Source: nodejs Source-Version: 4.1.1~dfsg-2 We believe that the bug you reported is fixed in the latest version of nodejs, which is due to be installed in the Debian FTP archive. 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. Jérémy Lal <[email protected]> (supplier of updated nodejs 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: SHA512 Format: 1.8 Date: Tue, 29 Sep 2015 02:32:16 +0200 Source: nodejs Binary: nodejs-dev nodejs nodejs-dbg nodejs-legacy Architecture: source amd64 all Version: 4.1.1~dfsg-2 Distribution: unstable Urgency: medium Maintainer: Debian Javascript Maintainers <[email protected]> Changed-By: Jérémy Lal <[email protected]> Description: nodejs - evented I/O for V8 javascript nodejs-dbg - evented I/O for V8 javascript (debug) nodejs-dev - evented I/O for V8 javascript (development files) nodejs-legacy - evented I/O for V8 javascript (legacy symlink) Closes: 800410 Changes: nodejs (4.1.1~dfsg-2) unstable; urgency=medium . * mips fixes, thanks to YunQiang Su (Closes: #800410): + patch v8 to fix mips, mipsel fpu mode setting + patch nodejs to support mips64el target_host setting + update configuration in debian/rules Checksums-Sha1: e48893ed664b62bff34450a097209637e5a282b1 2336 nodejs_4.1.1~dfsg-2.dsc d15c895d2b31e1ec1b0bc82627007649c2f43fda 54624 nodejs_4.1.1~dfsg-2.debian.tar.xz c8bb9c5b3dfd4725db95c56c7252376db8adecd6 48829792 nodejs-dbg_4.1.1~dfsg-2_amd64.deb ba344f76ca9298f52f091e90c8bbc4cadd88d0ce 428802 nodejs-dev_4.1.1~dfsg-2_amd64.deb 839fde8d4671c8137578993348a33c9c8e5994c3 183916 nodejs-legacy_4.1.1~dfsg-2_all.deb 4a26a111371eee83337dd3b55adf5557511b6abf 3192730 nodejs_4.1.1~dfsg-2_amd64.deb Checksums-Sha256: 6f5cabbd3eca852b2e705a3b90ea4a29e85feee769cac42eb56794e70004ba2f 2336 nodejs_4.1.1~dfsg-2.dsc f73a3b6189c03985f239500572975639212be0503ee258a89ead2f43435b7fc0 54624 nodejs_4.1.1~dfsg-2.debian.tar.xz 772b98c8aa9b19001000d34fbf3529995c1b7dacf5759ee0855c9c863cdec2a5 48829792 nodejs-dbg_4.1.1~dfsg-2_amd64.deb db730b2c24459ee4edf0ee6a3570b27bb3d91cf9cbb0d59242587a2bf3e83218 428802 nodejs-dev_4.1.1~dfsg-2_amd64.deb 19c3fe34e4042fcd60372a2cbe237cba7202d82de4af77d73a39f65c8e5dd7c7 183916 nodejs-legacy_4.1.1~dfsg-2_all.deb 7962d52f275c13e4e191a6a9c1a82d6f348569bacf70efc9aa151c5a03e5375e 3192730 nodejs_4.1.1~dfsg-2_amd64.deb Files: 9780594b27de2f2572800f7510340627 2336 web - nodejs_4.1.1~dfsg-2.dsc e34eeb2c8f6a184503ef641efc417090 54624 web - nodejs_4.1.1~dfsg-2.debian.tar.xz d2922934de334e9912ac1b6707e52306 48829792 debug extra nodejs-dbg_4.1.1~dfsg-2_amd64.deb 97442a8851fa4842b7c2559df5c44b83 428802 devel extra nodejs-dev_4.1.1~dfsg-2_amd64.deb fc52adec768274ca1e2d7b3555d9343d 183916 web extra nodejs-legacy_4.1.1~dfsg-2_all.deb a5a89fa3ae484f639df0acff99878d26 3192730 web optional nodejs_4.1.1~dfsg-2_amd64.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJWCj9fAAoJEGYRwF7dOfN0OO0P/0RygBk8zdUnt1KnJD6G5jOP 9ZIAH5pb+TlQ7q51A4eMK1mplW5NYSqCeI91vRFubpYN3dIKKwqpnsBua0CG8QLE A3YN7rilIxW5xO9EqmJK1kySewdNbmu3VRsz7fy12Q9WSGLc8LjYd4s2uX4DorvX soHn+GiXIjMDO1ZxfN4dAqNSmbnXOjri+2x7imta6eLYlJpH2DCOx10UO+ukns8s vi3NulOIEDOaLCFawGUvuZO6x6Tr9X7UVZo2cZILnJSgDqm/iC8u53lfIAiFH7K0 PjmA6Oqx67fcBp6S5CjL5/v7/PRmRFA3aQxK8D8B78i7W+D4j56Bn88UY1v3ts7R BoIpYpkquaa463/VFJhFex3f7Fb0lV3Bxwg6j1ISWQvsRLRRWUCBYWhwbkopA+ZQ C0Clz0nlkmTuxJcCNPjqoXqtHxAUrzKq+RCzf1btxTlL+N4r2bKYJnESh3X4ioxO /OIfUHR4M4iNInjBa0Zn+o7qa2Bd2bgpLD/7FkFdxSHz5swOS9A40ia59o8THUqR jSThlItvLgwldYrA8EROjYi/kF5Jn81uQ2wKmmTTrsZuFt49+97jBp5MBrw/jnQ0 C6vv5MkAAU1iV3W2Ii2+Xfav/jOSPqzylCyWdaeTPQySRrfEFnsXtGZy2pMpNZyv +HqZTNEwD7Hr9Tm0aYP5 =jfxP -----END PGP SIGNATURE-----
--- End Message ---
_______________________________________________ Pkg-javascript-devel mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel
