Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make building error #5347

Closed
ghost opened this issue Feb 21, 2016 · 5 comments
Closed

Make building error #5347

ghost opened this issue Feb 21, 2016 · 5 comments
Labels
build Issues and PRs related to build files or the CI.

Comments

@ghost
Copy link

ghost commented Feb 21, 2016

make -C out BUILDTYPE=Release V=1
make[1]: Entering directory `/home//Downloads/node-v4.3.1/out'
  g++ '-DNODE_ARCH="ia32"' '-DNODE_PLATFORM="linux"' '-DNODE_WANT_INTERNALS=1' '-DV8_DEPRECATION_WARNINGS=1' '-DHAVE_OPENSSL=1' '-D__POSIX__' '-DHTTP_PARSER_STRICT=0' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D_POSIX_C_SOURCE=200112' -I../src -I../tools/msvs/genfiles -I../deps/uv/src/ares -I/home//Downloads/node-v4.3.1/out/Release/obj/gen -I../deps/v8 -I../deps/cares/include -I../deps/v8/include -I../deps/openssl/openssl/include -I../deps/zlib -I../deps/http_parser -I../deps/uv/include  -pthread -Wall -Wextra -Wno-unused-parameter -m32 -O3 -ffunction-sections -fdata-sections -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++0x -MMD -MF /home//Downloads/node-v4.3.1/out/Release/.deps//home//Downloads/node-v4.3.1/out/Release/obj.target/node/src/js_stream.o.d.raw  -c -o /home//Downloads/node-v4.3.1/out/Release/obj.target/node/src/js_stream.o ../src/js_stream.cc
In file included from ../src/js_stream.h:6:0,
                 from ../src/js_stream.cc:1:
../src/stream_base.h:218:11: error: looser throw specifier for ‘virtual node::StreamBase::~StreamBase()’
../src/stream_base.h:134:11: error:   overriding ‘virtual node::StreamResource::~StreamResource() noexcept (true)’
In file included from ../src/js_stream.cc:1:0:
../src/js_stream.h:17:3: error: looser throw specifier for ‘virtual node::JSStream::~JSStream()’
In file included from ../src/js_stream.h:6:0,
                 from ../src/js_stream.cc:1:
../src/stream_base.h:218:11: error:   overriding ‘virtual node::StreamBase::~StreamBase() noexcept (true)’
make[1]: *** [/home//Downloads/node-v4.3.1/out/Release/obj.target/node/src/js_stream.o] Error 1
make[1]: Leaving directory `/home//Downloads/node-v4.3.1/out'
make: *** [node] Error 2
@mscdex mscdex added the build Issues and PRs related to build files or the CI. label Feb 21, 2016
@mscdex
Copy link
Contributor

mscdex commented Feb 21, 2016

What does g++ -v show?

@ghost
Copy link
Author

ghost commented Feb 21, 2016

g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-linux-gnu/4.7/lto-wrapper
Target: i686-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.7.3-1ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs --enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.7 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --with-system-zlib --enable-objc-gc --enable-targets=all --with-cloog --enable-cloog-backend=ppl --disable-cloog-version-check --disable-ppl-version-check --enable-multiarch --disable-werror --with-arch-32=i686 --with-multilib-list=m32,m64,mx32 --with-tune=generic --enable-checking=release --build=i686-linux-gnu --host=i686-linux-gnu --target=i686-linux-gnu
Thread model: posix

gcc version 4.7.3 (Ubuntu/Linaro 4.7.3-1ubuntu1)

uname -a
Linux {INSERT COMPUTER NAME HERE} 3.8.0-19-generic #29-Ubuntu SMP Wed Apr 17 18:19:42 UTC 2013 i686 i686 i686 GNU/Linux

@ghost
Copy link
Author

ghost commented Feb 21, 2016

... i cant edit comments ...

@mscdex
Copy link
Contributor

mscdex commented Feb 21, 2016

As noted in the readme, you need gcc/g++ 4.8 or newer to build node v4+.

@ghost
Copy link
Author

ghost commented Feb 21, 2016

currently downloading gcc source...

@ghost ghost closed this as completed Feb 21, 2016
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Issues and PRs related to build files or the CI.
Projects
None yet
Development

No branches or pull requests

1 participant