Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jan 2016 21:46:44 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 206422] www/node: Fails to compile - Check failed: cpu.has_sse2().
Message-ID:  <bug-206422-13-KzxZiUbM3E@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-206422-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-206422-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206422

--- Comment #9 from Alberto Mensi <webmst@libero.it> ---
(In reply to Alberto Mensi from comment #7)

I've just added CFLAGS+=3D-mno-sse2 to /etc/make.conf and resumed node4
compilation; it has gone on for some time, then stopped again with the
following error, plainly reported sse2 not supported:

=3D=3D=3D>  Building for node4-4.2.4
gmake[2]: Entering directory '/usr/ports/www/node4/work/node-v4.2.4'
gmake -C out BUILDTYPE=3DRelease V=3D1
gmake[3]: Entering directory '/usr/ports/www/node4/work/node-v4.2.4/out'
  c++ '-DV8_TARGET_ARCH_IA32' '-DENABLE_DISASSEMBLER'
'-DV8_IMMINENT_DEPRECATION_WARNINGS'
'-DICU_UTIL_DATA_IMPL=3DICU_UTIL_DATA_STATIC' -I../deps/v8  -pthread -Wall
-Wextra -Wno-unused-parameter -m32 -msse2 -mfpmath=3Dsse -mmmx
-fno-strict-aliasing -I/usr/local/include -m32 -O3 -ffunction-sections
-fdata-sections -fno-omit-frame-pointer -fdata-sections -ffunction-sections=
 -O3
-fno-rtti -fno-exceptions -std=3Dgnu++0x -MMD -MF
/usr/ports/www/node4/work/node-v4.2.4/out/Release/.deps//usr/ports/www/node=
4/work/node-v4.2.4/out/Release/obj.target/v8_base/deps/v8/src/accessors.o.d=
.raw
-O2 -pipe -mno-sse2 -Wno-unused-private-field -Wno-nested-anon-types
-Wno-unused-function -Wno-unused-const-variable -fstack-protector
-fno-strict-aliasing  -c -o
/usr/ports/www/node4/work/node-v4.2.4/out/Release/obj.target/v8_base/deps/v=
8/src/accessors.o
../deps/v8/src/accessors.cc
error: the 'sse' unit is not supported with this instruction set
deps/v8/tools/gyp/v8_base.target.mk:401: recipe for target
'/usr/ports/www/node4/work/node-v4.2.4/out/Release/obj.target/v8_base/deps/=
v8/src/accessors.o'
failed
gmake[3]: ***
[/usr/ports/www/node4/work/node-v4.2.4/out/Release/obj.target/v8_base/deps/=
v8/src/accessors.o]
Error 1
gmake[3]: Leaving directory '/usr/ports/www/node4/work/node-v4.2.4/out'
Makefile:45: recipe for target 'node' failed
gmake[2]: *** [node] Error 2
gmake[2]: Leaving directory '/usr/ports/www/node4/work/node-v4.2.4'
=3D=3D=3D> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure =
to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/www/node4
*** Error code 1

Stop.
make: stopped in /usr/ports/www/node4

Again, this is the output of the resumed compilation of node5, aborting in =
the
same way and in the same module of node4, for the same cause:

=3D=3D=3D>  Building for node-5.4.1
gmake[2]: Entering directory '/usr/ports/www/node/work/node-v5.4.1'
gmake -C out BUILDTYPE=3DRelease V=3D1
gmake[3]: Entering directory '/usr/ports/www/node/work/node-v5.4.1/out'
  c++ '-DV8_TARGET_ARCH_IA32' '-DENABLE_DISASSEMBLER'
'-DV8_IMMINENT_DEPRECATION_WARNINGS'
'-DICU_UTIL_DATA_IMPL=3DICU_UTIL_DATA_STATIC' -I../deps/v8  -pthread -Wall
-Wextra -Wno-unused-parameter -m32 -msse2 -mfpmath=3Dsse -mmmx
-fno-strict-aliasing -I/usr/local/include -m32 -O3 -ffunction-sections
-fdata-sections -fno-omit-frame-pointer -fdata-sections -ffunction-sections=
 -O3
-fno-rtti -fno-exceptions -std=3Dgnu++0x -MMD -MF
/usr/ports/www/node/work/node-v5.4.1/out/Release/.deps//usr/ports/www/node/=
work/node-v5.4.1/out/Release/obj.target/v8_base/deps/v8/src/accessors.o.d.r=
aw
 -O2 -pipe -mno-sse2 -Wno-unused-private-field -Wno-nested-anon-types
-Wno-unused-function -Wno-unused-const-variable -fstack-protector
-fno-strict-aliasing  -c -o
/usr/ports/www/node/work/node-v5.4.1/out/Release/obj.target/v8_base/deps/v8=
/src/accessors.o
../deps/v8/src/accessors.cc
error: the 'sse' unit is not supported with this instruction set
deps/v8/tools/gyp/v8_base.target.mk:417: recipe for target
'/usr/ports/www/node/work/node-v5.4.1/out/Release/obj.target/v8_base/deps/v=
8/src/accessors.o'
failed
gmake[3]: ***
[/usr/ports/www/node/work/node-v5.4.1/out/Release/obj.target/v8_base/deps/v=
8/src/accessors.o]
Error 1
gmake[3]: Leaving directory '/usr/ports/www/node/work/node-v5.4.1/out'
Makefile:45: recipe for target 'node' failed
gmake[2]: *** [node] Error 2
gmake[2]: Leaving directory '/usr/ports/www/node/work/node-v5.4.1'
=3D=3D=3D> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure =
to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/www/node
*** Error code 1

Stop.
make: stopped in /usr/ports/www/node

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-206422-13-KzxZiUbM3E>