Hi,

I got the following build error:

[34/12518] CXX obj.host/v8/src/base/v8_libbase.cpu.o
FAILED: ../../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF 
obj.host/v8/src/base/v8_libbase.cpu.o.d -DV8_DEPRECATION_WARNINGS 
-D_FILE_OFFSET_BITS=64 -DNO_TCMALLOC -DDISABLE_NACL -DENABLE_WEBCL=1 
-DCHROMIUM_BUILD -DCR_CLANG_REVISION=241602-2 -DUSE_LIBJPEG_TURBO=1 
-DENABLE_WEBRTC=1 -DUSE_PROPRIETARY_CODECS -DENABLE_BROWSER_CDMS 
-DENABLE_CONFIGURATION_POLICY -DENABLE_NOTIFICATIONS 
-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE -DDONT_EMBED_BUILD_METADATA 
-DENABLE_AUTOFILL_DIALOG=1 -DCLD_VERSION=1 -DENABLE_PRINTING=1 
-DENABLE_BASIC_PRINTING=1 -DENABLE_SUPERVISED_USERS=1 -DVIDEO_HOLE=1 
-DMOBILE_SAFE_BROWSING -DSAFE_BROWSING_SERVICE -DV8_TARGET_ARCH_ARM 
-DCAN_USE_ARMV7_INSTRUCTIONS -DCAN_USE_VFP3_INSTRUCTIONS -DV8_I18N_SUPPORT 
-DUSE_LIBPCI=1 -DUSE_OPENSSL=1 -DUSE_OPENSSL_CERTS=1 -DUSE_EABI_HARDFLOAT=0 
-DNDEBUG -DNO_UNWIND_TABLES -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 
-I../../v8 -Igen -fstack-protector --param=ssp-buffer-size=4 -pthread 
-fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers 
-fvisibility=hidden -pipe -fPIC -Wno-format -Wheader-hygiene 
-Wno-char-subscripts -Wno-unneeded-internal-declaration 
-Wno-covered-switch-default -Wstring-conversion -Wno-c++11-narrowing 
-Wno-deprecated-register -Wno-inconsistent-missing-override 
-Wno-shift-negative-value -Wno-overloaded-virtual -m32 -fno-ident 
-fdata-sections -ffunction-sections -fomit-frame-pointer -fno-unwind-tables 
-fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -O2 
-fno-exceptions -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden 
-Wno-deprecated -std=gnu++11  -c ../../v8/src/base/cpu.cc -o 
obj.host/v8/src/base/v8_libbase.cpu.o
In file included from ../../v8/src/base/cpu.cc:5:
In file included from ../../v8/src/base/cpu.h:16:
In file included from ../../v8/src/base/macros.h:11:
/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../include/c++/4.9/cstring:41:10: 
fatal error: 'bits/c++config.h' file not found
#include <bits/c++config.h>
         ^
1 error generated.

$ locate c++config.h
/home/joone/git/crosswalk/src/native_client/toolchain/linux_x86/nacl_arm_glibc/arm-nacl/include/c++/4.9.2/arm-nacl/bits/c++config.h
/home/joone/git/crosswalk/src/native_client/toolchain/linux_x86/nacl_x86_glibc/x86_64-nacl/include/c++/4.4.3/x86_64-nacl/32/bits/c++config.h
/home/joone/git/crosswalk/src/native_client/toolchain/linux_x86/nacl_x86_glibc/x86_64-nacl/include/c++/4.4.3/x86_64-nacl/bits/c++config.h
/home/joone/git/crosswalk/src/native_client/toolchain/linux_x86/nacl_x86_newlib/x86_64-nacl/include/c++/4.4.3/x86_64-nacl/32/bits/c++config.h
/home/joone/git/crosswalk/src/native_client/toolchain/linux_x86/nacl_x86_newlib/x86_64-nacl/include/c++/4.4.3/x86_64-nacl/bits/c++config.h
/usr/include/x86_64-linux-gnu/c++/4.9/bits/c++config.h
/usr/lib/gcc/i686-w64-mingw32/4.9-posix/include/c++/i686-w64-mingw32/bits/c++config.h
/usr/lib/gcc/i686-w64-mingw32/4.9-win32/include/c++/i686-w64-mingw32/bits/c++config.h

c++config.h is in /usr/include/x86_64-linux-gnu/c++/4.9/bits, but clang tried 
to find it in /usr/include/c++/4.9/bits.
Building with gcc also has the same problem.

Thanks,
Joone
_______________________________________________
Crosswalk-dev mailing list
Crosswalk-dev@lists.crosswalk-project.org
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev

Reply via email to