git clone https://github.com/xicilion/fibjs sh build Debug
/tmp/src/fibjs/vender/v8/src/heap/heap.cc: In member function ‘bool v8::internal::Heap::ReserveSpace(v8::internal::Heap:: Reservation*)’: /tmp/src/fibjs/vender/v8/src/heap/heap.cc:940: 错误:expected initializer before ‘:’ token /tmp/src/fibjs/vender/v8/src/heap/heap.cc:6275: 错误:expected primary-expression at end of input /tmp/src/fibjs/vender/v8/src/heap/heap.cc:6275: 错误:expected ‘;’ at end of input /tmp/src/fibjs/vender/v8/src/heap/heap.cc:6275: 错误:expected primary-expression at end of input /tmp/src/fibjs/vender/v8/src/heap/heap.cc:6275: 错误:expected ‘)’ at end of input /tmp/src/fibjs/vender/v8/src/heap/heap.cc:6275: 错误:expected statement at end of input /tmp/src/fibjs/vender/v8/src/heap/heap.cc:6275: 错误:expected ‘}’ at end of input /tmp/src/fibjs/vender/v8/src/heap/heap.cc:6275: 错误:expected ‘}’ at end of input /tmp/src/fibjs/vender/v8/src/heap/heap.cc:6275: 错误:expected ‘}’ at end of input /tmp/src/fibjs/vender/v8/src/heap/heap.cc:6275: 错误:expected ‘}’ at end of input /tmp/src/fibjs/vender/v8/src/heap/heap.cc: At global scope: /tmp/src/fibjs/vender/v8/src/heap/heap.cc:6275: 错误:expected ‘}’ at end of input /tmp/src/fibjs/vender/v8/src/heap/heap.cc:6275: 错误:expected ‘}’ at end of input make[2]: *** [CMakeFiles/v8.dir/src/heap/heap.cc.o] 错误 1 make[1]: *** [CMakeFiles/v8.dir/all] 错误 2 make: *** [all] 错误 2
gcc -v 使用内建 specs。 目标:x86_64-redhat-linux 配置为:…/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 线程模型:posix gcc 版本 4.4.7 20120313 (Red Hat 4.4.7-11) (GCC)