This repository has been archived by the owner. It is now read-only.

"make install": terminate called without an active exception #3673

Closed
DeviaVir opened this Issue Jul 9, 2012 · 20 comments

Comments

Projects
None yet
2 participants
@DeviaVir

DeviaVir commented Jul 9, 2012

Configured with "./configure --without-snapshot", otherwise the make would fail.
When running "make install" or "sudo make install":

[root@141-138-141-225 nodejs]# sudo make install
make: Warning: File `config.mk' has modification time 6.5e+03 s in the future
make -C out BUILDTYPE=Release
make[1]: Entering directory `/opt/nodejs/out'
make[1]: Warning: File `/opt/nodejs/out/Release/.deps//opt/nodejs/out/Release/obj.host/node_js2c.stamp.d' has modification time 1.8e+03 s in the future
  CXX(target) /opt/nodejs/out/Release/obj.target/v8_base/deps/v8/src/version.o
  CXX(target) /opt/nodejs/out/Release/obj.target/v8_base/gen/debug-support.o
  AR(target) /opt/nodejs/out/Release/obj.target/deps/v8/tools/gyp/libv8_base.a
  CXX(target) /opt/nodejs/out/Release/obj.target/v8_nosnapshot/gen/libraries.o
  CXX(target) /opt/nodejs/out/Release/obj.target/v8_nosnapshot/gen/experimental-libraries.o
  AR(target) /opt/nodejs/out/Release/obj.target/deps/v8/tools/gyp/libv8_nosnapshot.a
  TOUCH /opt/nodejs/out/Release/obj.target/deps/v8/tools/gyp/v8.stamp
  ACTION _opt_nodejs_node_gyp_node_js2c_host_node_js2c /opt/nodejs/out/Release/obj/gen/node_natives.h
  CXX(target) /opt/nodejs/out/Release/obj.target/node/src/node.o
  CXX(target) /opt/nodejs/out/Release/obj.target/node/src/node_extensions.o
  CXX(target) /opt/nodejs/out/Release/obj.target/node/src/node_javascript.o
  LINK(target) /opt/nodejs/out/Release/node
  LINK(target) /opt/nodejs/out/Release/node: Finished
make[1]: warning:  Clock skew detected.  Your build may be incomplete.
make[1]: Leaving directory `/opt/nodejs/out'
ln -fs out/Release/node node
out/Release/node tools/installer.js install 
pure virtual method called
terminate called without an active exception
make: *** [install] Aborted (core dumped)

GCC:

[root@141-138-141-225 nodejs]# gcc -v
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.4.6 20110731 (Red Hat 4.4.6-3) (GCC) 

Release:

Linux 141-138-141-225.colo.transip.net 2.6.32-220.23.1.el6.centos.plus.x86_64 #1 SMP Tue Jun 19 04:14:37 BST 2012 x86_64 x86_64 x86_64 GNU/Linux
CentOS release 6.2 (Final)

Python:

Python 2.7.3
@DeviaVir

This comment has been minimized.

Show comment
Hide comment
@DeviaVir

DeviaVir Jul 9, 2012

./configure --without-snapshot output:


{ 'target_defaults': { 'cflags': [],
                       'default_configuration': 'Release',
                       'defines': [],
                       'include_dirs': [],
                       'libraries': []},
  'variables': { 'host_arch': 'x64',
                 'node_install_npm': 'true',
                 'node_install_waf': 'true',
                 'node_no_strict_aliasing': 1,
                 'node_prefix': '',
                 'node_shared_openssl': 'false',
                 'node_shared_v8': 'false',
                 'node_shared_zlib': 'false',
                 'node_use_dtrace': 'false',
                 'node_use_etw': 'false',
                 'node_use_openssl': 'true',
                 'target_arch': 'x64',
                 'v8_no_strict_aliasing': 1,
                 'v8_use_snapshot': 'false'}}
creating  ./config.gypi
creating  ./config.mk

make:

[...]
  CXX(target) /opt/nodejs/out/Release/obj.target/node/src/handle_wrap.o
  CXX(target) /opt/nodejs/out/Release/obj.target/node/src/node.o
  CXX(target) /opt/nodejs/out/Release/obj.target/node/src/node_buffer.o
  CXX(target) /opt/nodejs/out/Release/obj.target/node/src/node_constants.o
  CXX(target) /opt/nodejs/out/Release/obj.target/node/src/node_extensions.o
  CXX(target) /opt/nodejs/out/Release/obj.target/node/src/node_file.o
  CXX(target) /opt/nodejs/out/Release/obj.target/node/src/node_http_parser.o
  CXX(target) /opt/nodejs/out/Release/obj.target/node/src/node_javascript.o
  CXX(target) /opt/nodejs/out/Release/obj.target/node/src/node_main.o
  CXX(target) /opt/nodejs/out/Release/obj.target/node/src/node_os.o
  CXX(target) /opt/nodejs/out/Release/obj.target/node/src/node_script.o
  CXX(target) /opt/nodejs/out/Release/obj.target/node/src/node_stat_watcher.o
  CXX(target) /opt/nodejs/out/Release/obj.target/node/src/node_string.o
  CXX(target) /opt/nodejs/out/Release/obj.target/node/src/node_zlib.o
  CXX(target) /opt/nodejs/out/Release/obj.target/node/src/pipe_wrap.o
  CXX(target) /opt/nodejs/out/Release/obj.target/node/src/stream_wrap.o
  CXX(target) /opt/nodejs/out/Release/obj.target/node/src/slab_allocator.o
  CXX(target) /opt/nodejs/out/Release/obj.target/node/src/tcp_wrap.o
  CXX(target) /opt/nodejs/out/Release/obj.target/node/src/timer_wrap.o
  CXX(target) /opt/nodejs/out/Release/obj.target/node/src/tty_wrap.o
  CXX(target) /opt/nodejs/out/Release/obj.target/node/src/process_wrap.o
  CXX(target) /opt/nodejs/out/Release/obj.target/node/src/v8_typed_array.o
  CXX(target) /opt/nodejs/out/Release/obj.target/node/src/udp_wrap.o
  CXX(target) /opt/nodejs/out/Release/obj.target/node/src/node_crypto.o
  CXX(target) /opt/nodejs/out/Release/obj.target/node/src/node_signal_watcher.o
  CXX(target) /opt/nodejs/out/Release/obj.target/node/src/node_io_watcher.o
  LINK(target) /opt/nodejs/out/Release/node
  LINK(target) /opt/nodejs/out/Release/node: Finished

and finally dying at make install:

make[1]: warning:  Clock skew detected.  Your build may be incomplete.
make[1]: Leaving directory `/opt/nodejs/out'
ln -fs out/Release/node node
make -C out BUILDTYPE=Release
make[1]: Entering directory `/opt/nodejs/out'
make[1]: Warning: File `/opt/nodejs/out/Release/.deps//opt/nodejs/out/Release/obj.host/node_js2c.stamp.d' has modification time 1.2e+03 s in the future
make[1]: Nothing to be done for `all'.
make[1]: warning:  Clock skew detected.  Your build may be incomplete.
make[1]: Leaving directory `/opt/nodejs/out'
ln -fs out/Release/node node
out/Release/node tools/installer.js install 
pure virtual method called
terminate called without an active exception
make: *** [install] Aborted (core dumped)

DeviaVir commented Jul 9, 2012

./configure --without-snapshot output:


{ 'target_defaults': { 'cflags': [],
                       'default_configuration': 'Release',
                       'defines': [],
                       'include_dirs': [],
                       'libraries': []},
  'variables': { 'host_arch': 'x64',
                 'node_install_npm': 'true',
                 'node_install_waf': 'true',
                 'node_no_strict_aliasing': 1,
                 'node_prefix': '',
                 'node_shared_openssl': 'false',
                 'node_shared_v8': 'false',
                 'node_shared_zlib': 'false',
                 'node_use_dtrace': 'false',
                 'node_use_etw': 'false',
                 'node_use_openssl': 'true',
                 'target_arch': 'x64',
                 'v8_no_strict_aliasing': 1,
                 'v8_use_snapshot': 'false'}}
creating  ./config.gypi
creating  ./config.mk

make:

[...]
  CXX(target) /opt/nodejs/out/Release/obj.target/node/src/handle_wrap.o
  CXX(target) /opt/nodejs/out/Release/obj.target/node/src/node.o
  CXX(target) /opt/nodejs/out/Release/obj.target/node/src/node_buffer.o
  CXX(target) /opt/nodejs/out/Release/obj.target/node/src/node_constants.o
  CXX(target) /opt/nodejs/out/Release/obj.target/node/src/node_extensions.o
  CXX(target) /opt/nodejs/out/Release/obj.target/node/src/node_file.o
  CXX(target) /opt/nodejs/out/Release/obj.target/node/src/node_http_parser.o
  CXX(target) /opt/nodejs/out/Release/obj.target/node/src/node_javascript.o
  CXX(target) /opt/nodejs/out/Release/obj.target/node/src/node_main.o
  CXX(target) /opt/nodejs/out/Release/obj.target/node/src/node_os.o
  CXX(target) /opt/nodejs/out/Release/obj.target/node/src/node_script.o
  CXX(target) /opt/nodejs/out/Release/obj.target/node/src/node_stat_watcher.o
  CXX(target) /opt/nodejs/out/Release/obj.target/node/src/node_string.o
  CXX(target) /opt/nodejs/out/Release/obj.target/node/src/node_zlib.o
  CXX(target) /opt/nodejs/out/Release/obj.target/node/src/pipe_wrap.o
  CXX(target) /opt/nodejs/out/Release/obj.target/node/src/stream_wrap.o
  CXX(target) /opt/nodejs/out/Release/obj.target/node/src/slab_allocator.o
  CXX(target) /opt/nodejs/out/Release/obj.target/node/src/tcp_wrap.o
  CXX(target) /opt/nodejs/out/Release/obj.target/node/src/timer_wrap.o
  CXX(target) /opt/nodejs/out/Release/obj.target/node/src/tty_wrap.o
  CXX(target) /opt/nodejs/out/Release/obj.target/node/src/process_wrap.o
  CXX(target) /opt/nodejs/out/Release/obj.target/node/src/v8_typed_array.o
  CXX(target) /opt/nodejs/out/Release/obj.target/node/src/udp_wrap.o
  CXX(target) /opt/nodejs/out/Release/obj.target/node/src/node_crypto.o
  CXX(target) /opt/nodejs/out/Release/obj.target/node/src/node_signal_watcher.o
  CXX(target) /opt/nodejs/out/Release/obj.target/node/src/node_io_watcher.o
  LINK(target) /opt/nodejs/out/Release/node
  LINK(target) /opt/nodejs/out/Release/node: Finished

and finally dying at make install:

make[1]: warning:  Clock skew detected.  Your build may be incomplete.
make[1]: Leaving directory `/opt/nodejs/out'
ln -fs out/Release/node node
make -C out BUILDTYPE=Release
make[1]: Entering directory `/opt/nodejs/out'
make[1]: Warning: File `/opt/nodejs/out/Release/.deps//opt/nodejs/out/Release/obj.host/node_js2c.stamp.d' has modification time 1.2e+03 s in the future
make[1]: Nothing to be done for `all'.
make[1]: warning:  Clock skew detected.  Your build may be incomplete.
make[1]: Leaving directory `/opt/nodejs/out'
ln -fs out/Release/node node
out/Release/node tools/installer.js install 
pure virtual method called
terminate called without an active exception
make: *** [install] Aborted (core dumped)
@bnoordhuis

This comment has been minimized.

Show comment
Hide comment
@bnoordhuis

bnoordhuis Jul 9, 2012

Member

It's a compiler bug. Please try the HEAD of the v0.8 branch (or wait until tonight when we release v0.8.2), we work around it now.

Member

bnoordhuis commented Jul 9, 2012

It's a compiler bug. Please try the HEAD of the v0.8 branch (or wait until tonight when we release v0.8.2), we work around it now.

@bnoordhuis bnoordhuis closed this Jul 9, 2012

@DeviaVir

This comment has been minimized.

Show comment
Hide comment
@DeviaVir

DeviaVir Jul 9, 2012

@bnoordhuis after git checkout v0.8 (the above was tried on 0.8.2 and master), this is output from make

[...]
terminate called without an active exception
/bin/sh: line 1: 18463 Aborted                 (core dumped) "/opt/nodejs/out/Release/mksnapshot" --log-snapshot-positions --logfile "/opt/nodejs/out/Release/obj.target/v8_snapshot/geni/snapshot.log" "/opt/nodejs/out/Release/obj.target/v8_snapshot/geni/snapshot.cc"
make[1]: *** [/opt/nodejs/out/Release/obj.target/v8_snapshot/geni/snapshot.cc] Error 134
make[1]: Leaving directory `/opt/nodejs/out'
make: *** [node] Error 2

So that error is still there. Retrying with ./configure --without-snapshot. But that also fails, same stuff:

[root@141-138-141-225 nodejs]# make install
make -C out BUILDTYPE=Release
make[1]: Entering directory `/opt/nodejs/out'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/opt/nodejs/out'
ln -fs out/Release/node node
out/Release/node tools/installer.js install 
pure virtual method called
terminate called without an active exception
make: *** [install] Aborted (core dumped)

I will wait for tonight's release and retry.

DeviaVir commented Jul 9, 2012

@bnoordhuis after git checkout v0.8 (the above was tried on 0.8.2 and master), this is output from make

[...]
terminate called without an active exception
/bin/sh: line 1: 18463 Aborted                 (core dumped) "/opt/nodejs/out/Release/mksnapshot" --log-snapshot-positions --logfile "/opt/nodejs/out/Release/obj.target/v8_snapshot/geni/snapshot.log" "/opt/nodejs/out/Release/obj.target/v8_snapshot/geni/snapshot.cc"
make[1]: *** [/opt/nodejs/out/Release/obj.target/v8_snapshot/geni/snapshot.cc] Error 134
make[1]: Leaving directory `/opt/nodejs/out'
make: *** [node] Error 2

So that error is still there. Retrying with ./configure --without-snapshot. But that also fails, same stuff:

[root@141-138-141-225 nodejs]# make install
make -C out BUILDTYPE=Release
make[1]: Entering directory `/opt/nodejs/out'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/opt/nodejs/out'
ln -fs out/Release/node node
out/Release/node tools/installer.js install 
pure virtual method called
terminate called without an active exception
make: *** [install] Aborted (core dumped)

I will wait for tonight's release and retry.

@bnoordhuis

This comment has been minimized.

Show comment
Hide comment
@bnoordhuis

bnoordhuis Jul 9, 2012

Member

Can you post the output of rm -rf out/ && make V=1? The bug is that gcc < 4.6.0 generates incorrect code when -fstrict-aliasing is enabled but looking at your config.gypi, it seems that's detected and disabled.

Member

bnoordhuis commented Jul 9, 2012

Can you post the output of rm -rf out/ && make V=1? The bug is that gcc < 4.6.0 generates incorrect code when -fstrict-aliasing is enabled but looking at your config.gypi, it seems that's detected and disabled.

@DeviaVir

This comment has been minimized.

Show comment
Hide comment
@DeviaVir

DeviaVir Jul 9, 2012

@bnoordhuis That's a huge output, I've included the end (and part of make install)

  flock /opt/nodejs/out/Release/linker.lock g++ -pthread -m64 -rdynamic  -o /opt/nodejs/out/Release/node -Wl,--start-group /opt/nodejs/out/Release/obj.target/node/src/fs_event_wrap.o /opt/nodejs/out/Release/obj.target/node/src/cares_wrap.o /opt/nodejs/out/Release/obj.target/node/src/handle_wrap.o /opt/nodejs/out/Release/obj.target/node/src/node.o /opt/nodejs/out/Release/obj.target/node/src/node_buffer.o /opt/nodejs/out/Release/obj.target/node/src/node_constants.o /opt/nodejs/out/Release/obj.target/node/src/node_extensions.o /opt/nodejs/out/Release/obj.target/node/src/node_file.o /opt/nodejs/out/Release/obj.target/node/src/node_http_parser.o /opt/nodejs/out/Release/obj.target/node/src/node_javascript.o /opt/nodejs/out/Release/obj.target/node/src/node_main.o /opt/nodejs/out/Release/obj.target/node/src/node_os.o /opt/nodejs/out/Release/obj.target/node/src/node_script.o /opt/nodejs/out/Release/obj.target/node/src/node_stat_watcher.o /opt/nodejs/out/Release/obj.target/node/src/node_string.o /opt/nodejs/out/Release/obj.target/node/src/node_zlib.o /opt/nodejs/out/Release/obj.target/node/src/pipe_wrap.o /opt/nodejs/out/Release/obj.target/node/src/stream_wrap.o /opt/nodejs/out/Release/obj.target/node/src/slab_allocator.o /opt/nodejs/out/Release/obj.target/node/src/tcp_wrap.o /opt/nodejs/out/Release/obj.target/node/src/timer_wrap.o /opt/nodejs/out/Release/obj.target/node/src/tty_wrap.o /opt/nodejs/out/Release/obj.target/node/src/process_wrap.o /opt/nodejs/out/Release/obj.target/node/src/v8_typed_array.o /opt/nodejs/out/Release/obj.target/node/src/udp_wrap.o /opt/nodejs/out/Release/obj.target/node/src/node_crypto.o /opt/nodejs/out/Release/obj.target/node/src/node_signal_watcher.o /opt/nodejs/out/Release/obj.target/node/src/node_io_watcher.o /opt/nodejs/out/Release/obj.target/deps/http_parser/libhttp_parser.a /opt/nodejs/out/Release/obj.target/deps/uv/libuv.a /opt/nodejs/out/Release/obj.target/deps/openssl/libopenssl.a /opt/nodejs/out/Release/obj.target/deps/zlib/libchrome_zlib.a /opt/nodejs/out/Release/obj.target/deps/v8/tools/gyp/libv8_base.a /opt/nodejs/out/Release/obj.target/deps/v8/tools/gyp/libv8_nosnapshot.a -Wl,--end-group -lrt -ldl
  LINK(target) /opt/nodejs/out/Release/node: Finished
  touch /opt/nodejs/out/Release/obj.target/node_dtrace_header.stamp
  touch /opt/nodejs/out/Release/obj.target/node_dtrace_provider.stamp
  touch /opt/nodejs/out/Release/obj.target/node_dtrace_ustack.stamp
  touch /opt/nodejs/out/Release/obj.target/node_etw.stamp
make[1]: Leaving directory `/opt/nodejs/out'
ln -fs out/Release/node node
[root@141-138-141-225 nodejs]# make install
make -C out BUILDTYPE=Release
make[1]: Entering directory `/opt/nodejs/out'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/opt/nodejs/out'
ln -fs out/Release/node node
out/Release/node tools/installer.js install 
pure virtual method called
terminate called without an active exception
make: *** [install] Aborted (core dumped)

DeviaVir commented Jul 9, 2012

@bnoordhuis That's a huge output, I've included the end (and part of make install)

  flock /opt/nodejs/out/Release/linker.lock g++ -pthread -m64 -rdynamic  -o /opt/nodejs/out/Release/node -Wl,--start-group /opt/nodejs/out/Release/obj.target/node/src/fs_event_wrap.o /opt/nodejs/out/Release/obj.target/node/src/cares_wrap.o /opt/nodejs/out/Release/obj.target/node/src/handle_wrap.o /opt/nodejs/out/Release/obj.target/node/src/node.o /opt/nodejs/out/Release/obj.target/node/src/node_buffer.o /opt/nodejs/out/Release/obj.target/node/src/node_constants.o /opt/nodejs/out/Release/obj.target/node/src/node_extensions.o /opt/nodejs/out/Release/obj.target/node/src/node_file.o /opt/nodejs/out/Release/obj.target/node/src/node_http_parser.o /opt/nodejs/out/Release/obj.target/node/src/node_javascript.o /opt/nodejs/out/Release/obj.target/node/src/node_main.o /opt/nodejs/out/Release/obj.target/node/src/node_os.o /opt/nodejs/out/Release/obj.target/node/src/node_script.o /opt/nodejs/out/Release/obj.target/node/src/node_stat_watcher.o /opt/nodejs/out/Release/obj.target/node/src/node_string.o /opt/nodejs/out/Release/obj.target/node/src/node_zlib.o /opt/nodejs/out/Release/obj.target/node/src/pipe_wrap.o /opt/nodejs/out/Release/obj.target/node/src/stream_wrap.o /opt/nodejs/out/Release/obj.target/node/src/slab_allocator.o /opt/nodejs/out/Release/obj.target/node/src/tcp_wrap.o /opt/nodejs/out/Release/obj.target/node/src/timer_wrap.o /opt/nodejs/out/Release/obj.target/node/src/tty_wrap.o /opt/nodejs/out/Release/obj.target/node/src/process_wrap.o /opt/nodejs/out/Release/obj.target/node/src/v8_typed_array.o /opt/nodejs/out/Release/obj.target/node/src/udp_wrap.o /opt/nodejs/out/Release/obj.target/node/src/node_crypto.o /opt/nodejs/out/Release/obj.target/node/src/node_signal_watcher.o /opt/nodejs/out/Release/obj.target/node/src/node_io_watcher.o /opt/nodejs/out/Release/obj.target/deps/http_parser/libhttp_parser.a /opt/nodejs/out/Release/obj.target/deps/uv/libuv.a /opt/nodejs/out/Release/obj.target/deps/openssl/libopenssl.a /opt/nodejs/out/Release/obj.target/deps/zlib/libchrome_zlib.a /opt/nodejs/out/Release/obj.target/deps/v8/tools/gyp/libv8_base.a /opt/nodejs/out/Release/obj.target/deps/v8/tools/gyp/libv8_nosnapshot.a -Wl,--end-group -lrt -ldl
  LINK(target) /opt/nodejs/out/Release/node: Finished
  touch /opt/nodejs/out/Release/obj.target/node_dtrace_header.stamp
  touch /opt/nodejs/out/Release/obj.target/node_dtrace_provider.stamp
  touch /opt/nodejs/out/Release/obj.target/node_dtrace_ustack.stamp
  touch /opt/nodejs/out/Release/obj.target/node_etw.stamp
make[1]: Leaving directory `/opt/nodejs/out'
ln -fs out/Release/node node
[root@141-138-141-225 nodejs]# make install
make -C out BUILDTYPE=Release
make[1]: Entering directory `/opt/nodejs/out'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/opt/nodejs/out'
ln -fs out/Release/node node
out/Release/node tools/installer.js install 
pure virtual method called
terminate called without an active exception
make: *** [install] Aborted (core dumped)
@bnoordhuis

This comment has been minimized.

Show comment
Hide comment
@bnoordhuis

bnoordhuis Jul 9, 2012

Member

That's exactly the part I'm not interested in. :-) I mostly want to know with what flags V8, libuv and node are compiled.

Member

bnoordhuis commented Jul 9, 2012

That's exactly the part I'm not interested in. :-) I mostly want to know with what flags V8, libuv and node are compiled.

@DeviaVir

This comment has been minimized.

Show comment
Hide comment
@DeviaVir

DeviaVir Jul 9, 2012

Okay, got you everything here:

https://gist.github.com/3076900

DeviaVir commented Jul 9, 2012

Okay, got you everything here:

https://gist.github.com/3076900

@bnoordhuis

This comment has been minimized.

Show comment
Hide comment
@bnoordhuis

bnoordhuis Jul 9, 2012

Member

Okay, that looks good. What happens when you build with make CFLAGS+=-fno-builtin-memcpy CXXFLAGS+=-fno-builtin-memcpy V=1?

Member

bnoordhuis commented Jul 9, 2012

Okay, that looks good. What happens when you build with make CFLAGS+=-fno-builtin-memcpy CXXFLAGS+=-fno-builtin-memcpy V=1?

@DeviaVir

This comment has been minimized.

Show comment
Hide comment
@DeviaVir

DeviaVir Jul 9, 2012

@bnoordhuis New output for that make command and make install here:
https://gist.github.com/3076900

DeviaVir commented Jul 9, 2012

@bnoordhuis New output for that make command and make install here:
https://gist.github.com/3076900

@bnoordhuis

This comment has been minimized.

Show comment
Hide comment
@bnoordhuis

bnoordhuis Jul 9, 2012

Member

Thanks. It seems you've run into a new compiler bug. If you give me a ssh login on the affected machine, I can maybe debug it (my pubkey is here). Otherwise, compiling with -O1 or -O0 should fix it - it's almost certainly a bug in gcc's optimizer.

Member

bnoordhuis commented Jul 9, 2012

Thanks. It seems you've run into a new compiler bug. If you give me a ssh login on the affected machine, I can maybe debug it (my pubkey is here). Otherwise, compiling with -O1 or -O0 should fix it - it's almost certainly a bug in gcc's optimizer.

@DeviaVir

This comment has been minimized.

Show comment
Hide comment
@DeviaVir

DeviaVir Jul 9, 2012

@bnoordhuis Sure, ssh root@robinvw1.nl.

cd /opt/nodejs contains the git repo.

Does this mean this nights 0.8.2 won't fix this new bug?

DeviaVir commented Jul 9, 2012

@bnoordhuis Sure, ssh root@robinvw1.nl.

cd /opt/nodejs contains the git repo.

Does this mean this nights 0.8.2 won't fix this new bug?

@bnoordhuis

This comment has been minimized.

Show comment
Hide comment
@bnoordhuis

bnoordhuis Jul 9, 2012

Member

Does this mean this nights 0.8.2 won't fix this new bug?

Probably not unless there's a trivial workaround.

By the way, I have a machine in the same DC as you. We're almost neighbors. :-)

Member

bnoordhuis commented Jul 9, 2012

Does this mean this nights 0.8.2 won't fix this new bug?

Probably not unless there's a trivial workaround.

By the way, I have a machine in the same DC as you. We're almost neighbors. :-)

@DeviaVir

This comment has been minimized.

Show comment
Hide comment
@DeviaVir

DeviaVir Jul 9, 2012

@bnoordhuis Yeah, holland is not a very big place :)
I'd just like 'a' version of Node working (at least with v8), so we can dev again. Should I try your -O1 or -O0 to get it working?

DeviaVir commented Jul 9, 2012

@bnoordhuis Yeah, holland is not a very big place :)
I'd just like 'a' version of Node working (at least with v8), so we can dev again. Should I try your -O1 or -O0 to get it working?

@bnoordhuis

This comment has been minimized.

Show comment
Hide comment
@bnoordhuis

bnoordhuis Jul 9, 2012

Member

Yes. make BUILDTYPE=Debug compiles a -O0 debug build. The binary will be in out/Debug/node.

Member

bnoordhuis commented Jul 9, 2012

Yes. make BUILDTYPE=Debug compiles a -O0 debug build. The binary will be in out/Debug/node.

@DeviaVir

This comment has been minimized.

Show comment
Hide comment
@DeviaVir

DeviaVir Jul 9, 2012

Any way to make install that? So I can use "node" command?

DeviaVir commented Jul 9, 2012

Any way to make install that? So I can use "node" command?

@bnoordhuis

This comment has been minimized.

Show comment
Hide comment
@bnoordhuis

bnoordhuis Jul 9, 2012

Member

The hacky if effective way is to cp out/Debug/node out/Release/node && make install

Member

bnoordhuis commented Jul 9, 2012

The hacky if effective way is to cp out/Debug/node out/Release/node && make install

@DeviaVir

This comment has been minimized.

Show comment
Hide comment
@DeviaVir

DeviaVir Jul 9, 2012

Nice, thanks!

DeviaVir commented Jul 9, 2012

Nice, thanks!

@bnoordhuis

This comment has been minimized.

Show comment
Hide comment
@bnoordhuis

bnoordhuis Jul 10, 2012

Member

I managed to narrow it down to -finline-functions, or rather -finline-functions when combined with -ffunction-sections.

Compiling with -O3 -ffunction-sections -fno-inline-functions works, as does -O3 -finline-functions -fno-function-sections, but woe be him that turns on both flags.

Member

bnoordhuis commented Jul 10, 2012

I managed to narrow it down to -finline-functions, or rather -finline-functions when combined with -ffunction-sections.

Compiling with -O3 -ffunction-sections -fno-inline-functions works, as does -O3 -finline-functions -fno-function-sections, but woe be him that turns on both flags.

@bnoordhuis bnoordhuis reopened this Jul 10, 2012

@ghost ghost assigned bnoordhuis Jul 10, 2012

@bnoordhuis

This comment has been minimized.

Show comment
Hide comment
@bnoordhuis

bnoordhuis Jul 11, 2012

Member

This should be (had better be, grrr) fixed in b40f813. Thanks for letting me borrow your machine!

Member

bnoordhuis commented Jul 11, 2012

This should be (had better be, grrr) fixed in b40f813. Thanks for letting me borrow your machine!

@bnoordhuis bnoordhuis closed this Jul 11, 2012

@DeviaVir

This comment has been minimized.

Show comment
Hide comment
@DeviaVir

DeviaVir Jul 11, 2012

No problem ;-) Will let you know if I run into any other issues. Thanks!

No problem ;-) Will let you know if I run into any other issues. Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.