Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 562712 - net-libs/nodejs-4.1.1 fails to build on armv5
Summary: net-libs/nodejs-4.1.1 fails to build on armv5
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: ARM Linux
: Normal normal (vote)
Assignee: Proxy Maintainers
URL:
Whiteboard:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2015-10-10 08:36 UTC by Markus Meier
Modified: 2016-01-14 23:36 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
net-libs:nodejs-4.1.1:20151009-230407.log (net-libs:nodejs-4.1.1:20151009-230407.log,6.62 KB, text/plain)
2015-10-10 08:36 UTC, Markus Meier
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Meier gentoo-dev 2015-10-10 08:36:34 UTC
Created attachment 414242 [details]
net-libs:nodejs-4.1.1:20151009-230407.log

net-libs/nodejs-0.10.33 built just fine, 4.1.1 doesn't build any more. I guess the problem is related to the -DCAN_USE_ARMV7_INSTRUCTIONS flag for compilation, this should only be passed for armv7 architecture, but not the rest.

 * Package:    net-libs/nodejs-4.1.1
 * Repository: gentoo
 * Maintainer: bugs@bergstroem.nu patrick@gentoo.org,proxy-maint@gentoo.org
 * USE:        arm elibc_glibc kernel_linux npm python_targets_python2_7 ssl userland_GNU

>>> Compiling source in /var/tmp/portage/net-libs/nodejs-4.1.1/work/node-v4.1.1 ...
make -j2 -C out mksnapshot 
make: Entering directory '/var/tmp/portage/net-libs/nodejs-4.1.1/work/node-v4.1.1/out'
  armv5tel-softfloat-linux-gnueabi-g++ '-DV8_TARGET_ARCH_ARM' '-DCAN_USE_ARMV7_INSTRUCTIONS' '-DENABLE_DISASSEMBLER' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' -I../deps/v8  -pthread -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -mfpu=vfpv2 -marm -O3 -ffunction-sections -fdata-sections -fno-omit-frame-pointer -fdata-sections -ffunction-sections -O3 -fno-rtti -fno-exceptions -std=gnu++0x -MMD -MF /var/tmp/portage/net-libs/nodejs-4.1.1/work/node-v4.1.1/out/Release/.deps//var/tmp/portage/net-libs/nodejs-4.1.1/work/node-v4.1.1/out/Release/obj.target/v8_base/deps/v8/src/allocation.o.d.raw -O2 -march=armv5te -pipe -c -o /var/tmp/portage/net-libs/nodejs-4.1.1/work/node-v4.1.1/out/Release/obj.target/v8_base/deps/v8/src/allocation.o ../deps/v8/src/allocation.cc
  armv5tel-softfloat-linux-gnueabi-g++ '-DV8_TARGET_ARCH_ARM' '-DCAN_USE_ARMV7_INSTRUCTIONS' '-DENABLE_DISASSEMBLER' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' -I../deps/v8  -pthread -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -mfpu=vfpv2 -marm -O3 -ffunction-sections -fdata-sections -fno-omit-frame-pointer -fdata-sections -ffunction-sections -O3 -fno-rtti -fno-exceptions -std=gnu++0x -MMD -MF /var/tmp/portage/net-libs/nodejs-4.1.1/work/node-v4.1.1/out/Release/.deps//var/tmp/portage/net-libs/nodejs-4.1.1/work/node-v4.1.1/out/Release/obj.target/v8_base/deps/v8/src/accessors.o.d.raw -O2 -march=armv5te -pipe -c -o /var/tmp/portage/net-libs/nodejs-4.1.1/work/node-v4.1.1/out/Release/obj.target/v8_base/deps/v8/src/accessors.o ../deps/v8/src/accessors.cc
armv5tel-softfloat-linux-gnueabi-g++: error: unrecognized argument in option ‘-mfpu=vfpv2’
armv5tel-softfloat-linux-gnueabi-g++: note: valid arguments to ‘-mfpu=’ are: crypto-neon-fp-armv8 fp-armv8 fpv4-sp-d16 neon neon-fp-armv8 neon-fp16 neon-vfpv4 vfp vfp3 vfpv3 vfpv3-d16 vfpv3-d16-fp16 vfpv3-fp16 vfpv3xd vfpv3xd-fp16 vfpv4 vfpv4-d16
armv5tel-softfloat-linux-gnueabi-g++: error: unrecognized argument in option ‘-mfpu=vfpv2’
armv5tel-softfloat-linux-gnueabi-g++: note: valid arguments to ‘-mfpu=’ are: crypto-neon-fp-armv8 fp-armv8 fpv4-sp-d16 neon neon-fp-armv8 neon-fp16 neon-vfpv4 vfp vfp3 vfpv3 vfpv3-d16 vfpv3-d16-fp16 vfpv3-fp16 vfpv3xd vfpv3xd-fp16 vfpv4 vfpv4-d16
deps/v8/tools/gyp/v8_base.target.mk:398: recipe for target '/var/tmp/portage/net-libs/nodejs-4.1.1/work/node-v4.1.1/out/Release/obj.target/v8_base/deps/v8/src/allocation.o' failed
make: *** [/var/tmp/portage/net-libs/nodejs-4.1.1/work/node-v4.1.1/out/Release/obj.target/v8_base/deps/v8/src/allocation.o] Error 1
make: *** Waiting for unfinished jobs....
deps/v8/tools/gyp/v8_base.target.mk:398: recipe for target '/var/tmp/portage/net-libs/nodejs-4.1.1/work/node-v4.1.1/out/Release/obj.target/v8_base/deps/v8/src/accessors.o' failed
make: *** [/var/tmp/portage/net-libs/nodejs-4.1.1/work/node-v4.1.1/out/Release/obj.target/v8_base/deps/v8/src/accessors.o] Error 1
make: Leaving directory '/var/tmp/portage/net-libs/nodejs-4.1.1/work/node-v4.1.1/out'
 * ERROR: net-libs/nodejs-4.1.1::gentoo failed (compile phase):
 *   emake failed

Portage 2.2.22 (python 2.7.10-final-0, default/linux/arm/13.0/armv5te/desktop, gcc-4.9.3, glibc-2.21-r1, 3.9.2 armv5tel)
=================================================================
System uname: Linux-3.9.2-armv5tel-with-gentoo-2.2
KiB Mem:      513632 total,     14432 free
KiB Swap:    2104508 total,   2059740 free
Timestamp of repository gentoo: Sat, 03 Oct 2015 10:30:01 +0000
sh bash 4.3_p42
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
ccache version 3.2.3 [disabled]
app-shells/bash:          4.3_p42::gentoo
dev-lang/perl:            5.22.0::gentoo
dev-lang/python:          2.7.10::gentoo, 3.3.5-r2::gentoo, 3.4.3::gentoo
dev-util/ccache:          3.2.3::gentoo
dev-util/cmake:           3.3.2::gentoo
dev-util/pkgconfig:       0.29::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.9::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.4_p6-r2::gentoo, 1.8.5-r5::gentoo, 1.9.6-r4::gentoo, 1.10.3-r1::gentoo, 1.11.6-r1::gentoo, 1.12.6::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.7.4::gentoo, 4.8.5::gentoo, 4.9.3::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.2::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://192.168.1.100/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="arm ~arm"
ACCEPT_LICENSE="* -@EULA"
CBUILD="armv5tel-softfloat-linux-gnueabi"
CFLAGS="-O2 -march=armv5te -pipe"
CHOST="armv5tel-softfloat-linux-gnueabi"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/spool/munin-async/.ssh"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/apache2-php5.5/ext-active/ /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=armv5te -pipe"
DISTDIR="/mnt/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n --jobs=2 --keep-going --backtrack=3"
FCFLAGS="-O2 -pipe -march=armv5te"
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict test test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe -march=armv5te"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa apache2 arm berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif glamor gpm graphite gtk iconv jpeg lcms libnotify mad mng modules mp3 mp4 mpeg ncurses nls nptl ogg opengl pam pango pcre pdf png policykit ppds qt3support qt4 readline sdl seccomp semantic-desktop session spell ssl startup-notification svg tcpd test threads tiff truetype udev udisks unicode upower usb vorbis wxwidgets xcb xml xv xvid zlib" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4 php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3 python3_4" RUBY_TARGETS="ruby19 ruby20 ruby21 ruby22" USERLAND="GNU" VIDEO_CARDS="exynos fbdev omap omapfb dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
USE_PYTHON="2.7 3.3 3.4"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Johan Bergström 2016-01-14 23:36:21 UTC
ARMv5 was dropped from V8 around 3.20 (we're closing in on V8 4.8 at the moment). Unfortunately won't be fixed (unless you gain support in V8).