[Pkg-javascript-devel] Bug#689656: nodejs: Patches for GNU/sunos

Igor Pashev pashev.igor at gmail.com
Thu Oct 4 19:42:27 UTC 2012


Package: nodejs
Version: 0.6.19~dfsg1-5
Severity: normal

Dear Maintainer,

I'm porting Debian on illumos kernel and using GNU toolchain (GCC, binutils,
etc.)

Node.js' build system sucks so much that cannot detect features of the compiler
and the linker.  Instead it tests the platform.

It assumes, that on "sunos" linker always exports all dynamic symbols. It is
true for sunos linker, but not for GNU ld - the latter need --export-dynamic,
or -rdynamic option to GCC.

Another issue is that Node.js' build system passes -threads options to the
compiler. GCC does not support it.

I believe Debian on any kernel will use GNU tools, thus these patches can be
adopted by Node.js package.



-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages nodejs depends on:
ii  libc-ares2      1.9.1-3
ii  libc6           2.13-35
ii  libev4          1:4.11-1
ii  libgcc1         1:4.7.1-7
ii  libssl1.0.0     1.0.1c-4
ii  libstdc++6      4.7.1-7
ii  libv8-3.8.9.20  3.8.9.20-1
ii  zlib1g          1:1.2.7.dfsg-13

nodejs recommends no packages.

nodejs suggests no packages.

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dyson-do-not-pass-threads-to-compiler.patch
Type: text/x-diff
Size: 707 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-javascript-devel/attachments/20121004/af71189f/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dyson-allow-rdynamic.patch
Type: text/x-diff
Size: 640 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-javascript-devel/attachments/20121004/af71189f/attachment-0001.patch>


More information about the Pkg-javascript-devel mailing list