Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Build Failure 0.7.6 on Centos #2937

Closed
pipobscure opened this issue Mar 14, 2012 · 4 comments
Closed

Build Failure 0.7.6 on Centos #2937

pipobscure opened this issue Mar 14, 2012 · 4 comments
Labels

Comments

@pipobscure
Copy link

When building on

uname -a

Linux partner 2.6.32-131.17.1.el6.x86_64 #1 SMP Thu Oct 6 19:24:09 BST 2011 x86_64 x86_64 x86_64 GNU/Linux

I get this error (for a vanilla ./configure)

LINK(target) /root/node-v0.7.6/out/Release/mksnapshot: Finished
ACTION v8_snapshot_run_mksnapshot /root/node-v0.7.6/out/Release/obj.target/v8_snapshot/geni/snapshot.cc
pure virtual method called
terminate called without an active exception
/bin/sh: line 1: 6166 Aborted "/root/node-v0.7.6/out/Release/mksnapshot" --log-snapshot-positions --logfile "/root/node-v0.7.6/out/Release/obj.target/v8_snapshot/geni/snapshot.log" "/root/node-v0.7.6/out/Release/obj.target/v8_snapshot/geni/snapshot.cc"
make[1]: *** [/root/node-v0.7.6/out/Release/obj.target/v8_snapshot/geni/snapshot.cc] Error 134
make[1]: Leaving directory `/root/node-v0.7.6/out'
make: *** [node] Error 2

This is resolved when doing
./configure --without-snapshot && make

except that afterwards this happens on make install

make install

make -C out BUILDTYPE=Release
make[1]: Entering directory /root/node-v0.7.6/out' make[1]: Nothing to be done forall'.
make[1]: Leaving directory `/root/node-v0.7.6/out'
ln -fs out/Release/node node
out/Release/node tools/installer.js ./config.gypi install
pure virtual method called
terminate called without an active exception
make: *** [install] Aborted

This is not an issue on OS-X or with 0.7.5 on the same machine.

@bnoordhuis
Copy link
Member

Duplicate of #2912, let's continue in that issue. I haven't been able to reproduce it myself. Can you post the output of g++ -v?

@listellodavide
Copy link

I have the same problem of phidelta node.js build failed with "pure virtual method called" error!

[bluehost]# g++ -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)

Thanks.

@bnoordhuis
Copy link
Member

@listellodavide It's a gcc bug, either up- or downgrade your compiler or apply the patch from #2912.

@listellodavide
Copy link

Thanks @bnoordhuis for you followup but I have solved downgrading the source code from v0.7.5 to v0.5.17 by following this steps:
wget http://nodejs.org/dist/node-latest.tar.gz
tar zxvf node-latest.tar.gz
cd node-v0.6.17
./configure
make && make install
Thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants