-
Notifications
You must be signed in to change notification settings - Fork 7.3k
0.8.0 compilation fails in CentOS 6.2 #3544
Comments
With what version of g++ ( If you're compiling from the tarball, set This bug has been fixed (well, worked around - it's a compiler bug) in the v0.8 and master git branches. |
Had same issue on fedora 14. |
Hi, The g++ version that comes with CentOS 6.2 is 4.4.6:
Anyway, I have tested the setting Thanks! Best regards, Fermín |
@fgalan What does the backtrace in gdb look like? |
@bnoordhuis Not sure what you mean... I'm getting the error at compilation time, so I don't understand how a runtime debugger (as gdb is) could help in this case. Maybe I'm missing something :) |
@fgalan You get it when V8 is trying to build a VM snapshot. You can debug that but try this:
|
Had same issue on Centos 6.2 . The backtrace in gdb
|
@bnoordhuis Thank you for the clarification. I guess that referst to the number of cores in my system (in particular 4 cores). This is the trace you mention (I've also included the output of the run statement, just in case it can be useful):
Thank you again! |
Thanks for the backtraces, guys. I'm not sure why the Can you try either a clean build or the current HEAD of the v0.8 git branch? |
@bnoordhuis apparently, the same problem:
I've also tried to change the Finally, this is the gbd trace using the ./configure --without-snapshots, etc.:
Annex: git double check that I've compiled the right branch:
@guapigege could you check if it the same in your system, please? |
@fgalan Sanity check, does it work when you apply this patch? diff --git a/common.gypi b/common.gypi
index ca0cf9f..6b3433b 100644
--- a/common.gypi
+++ b/common.gypi
@@ -42,7 +42,7 @@
},
},
'Release': {
- 'cflags': [ '-O3', '-fdata-sections', '-ffunction-sections' ],
+ 'cflags': [ '-O3', '-fno-strict-aliasing', '-fdata-sections', '-ffunction-sections' ],
'conditions': [
['target_arch=="x64"', {
'msvs_configuration_platform': 'x64', Also, does a debug build work? |
@bnoordhuis I have included the
Anyway, this fix seems to work in the git HEAD for v0.8, but not in the .tgz of the 0.8.0 release. What should we do to apply the fix in the 0.8.0 .tgz, please? |
Update to my previous report: Alhtough 'make' works after the
This is the new gdb trace:
It seems the same trace than in previous tests. Now I will try the |
Same problem with debug relasea:
|
I would try and run the actual debug build if I were you. :-) |
By the way, let's continue in #3538 - it's the same issue. |
Hi,
I've tryed to compile Node 0.8.0 in CentOS 6.2, but I get the following error in the 'make' step:
I'm using ./configure without any option. This is the otuput of ./configure:
This problem seems to be similar to #3538, but, given that CentOS version is different, I've filled a different bug report.
Any help to solve it is really welcome!
Thanks!
Best regards,
Fermín
The text was updated successfully, but these errors were encountered: