On Tue, Jun 26, 2012 at 12:48 AM, rhasson <[email protected]> wrote: > I downloaded the latest v.0.8 tar file and tried to compile it on my Fedora > 14 and I got this error: > > LINK(target) /home/users/roy/node-v0.8.0/out/Release/mksnapshot > LINK(target) /home/users/roy/node-v0.8.0/out/Release/mksnapshot: Finished > ACTION v8_snapshot_run_mksnapshot > /home/users/roy/node-v0.8.0/out/Release/obj.target/v8_snapshot/geni/snapshot.cc > /bin/sh: line 1: 27974 Segmentation fault > "/home/users/roy/node-v0.8.0/out/Release/mksnapshot" > --log-snapshot-positions --logfile > "/home/users/roy/node-v0.8.0/out/Release/obj.target/v8_snapshot/geni/snapshot.log" > "/home/users/roy/node-v0.8.0/out/Release/obj.target/v8_snapshot/geni/snapshot.cc" > make[1]: *** > [/home/users/roy/node-v0.8.0/out/Release/obj.target/v8_snapshot/geni/snapshot.cc] > Error 139 > make[1]: Leaving directory `/home/users/roy/node-v0.8.0/out' > make: *** [node] Error 2 > > Any ideas what could be causing this error?
It could be a number of things. - Can you post the output of `uname -a` and `g++ -v`? It might be a compiler bug, see e.g. [1]. - Does the debug build work? `make -C out BUILDTYPE=Debug` - Does `./configure --without-snapshot` produce a working binary? - What happens when you set v8_no_strict_aliasing% to 1 in deps/v8/build/common.gypi? [1] https://github.com/joyent/node/issues/2912 -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
