On Thu, May 17, 2012 at 3:19 AM, billywhizz <apjohn...@gmail.com> wrote:
> i get the following error from gcc when i try to build v0.7.8. it goes away
> if i specify the --without-snapshot flag but then when i try to run node it
> gives the same error when starting up:
>
>   ACTION v8_snapshot_run_mksnapshot
> /media/storage/AJohnston/Code/node/git/node-v0.7.8/joyent-node-0fc9163/out/Release/obj.target/v8_snapshot/geni/snapshot.cc
> pure virtual method called
> terminate called without an active exception
> /bin/sh: line 1: 13139 Aborted
> "/media/storage/AJohnston/Code/node/git/node-v0.7.8/joyent-node-0fc9163/out/Release/mksnapshot"
> --log-snapshot-positions --logfile
> "/media/storage/AJohnston/Code/node/git/node-v0.7.8/joyent-node-0fc9163/out/Release/obj.target/v8_snapshot/geni/snapshot.log"
> "/media/storage/AJohnston/Code/node/git/node-v0.7.8/joyent-node-0fc9163/out/Release/obj.target/v8_snapshot/geni/snapshot.cc"
>
> this is on fedora12/x86_64
>
> do i need a newer gcc in order to build 0.7.*?

Quite probably. I suspect that you're running into this issue:
https://github.com/joyent/node/issues/2912

The tl;dr is that it's a -fno-strict-aliasing regression in gcc 4.4.x
(and maybe 4.5.x) on x86_64.

Reply via email to