Re: Only clang/llvm 3.6 or newer is supported error - Aries build on mac

2016-10-14 Thread Punam Dahiya
Thanks Alexandre , trying fallback option of B2G build for aries on linuxVM
(Virtualbox and Ubuntu 16.04) fails with error:
make[6]: *** [Unified_cpp_webrtc_modules0.o] Error 1
make[5]: ***
[media/webrtc/trunk/webrtc/modules/modules_video_capture_module_internal_impl/target]
Error 2

http://pastebin.com/jRw1C5P2

complaining over failing to execute command
/usr/bin/ccache
/home/pdahiya/.mozbuild/android-ndk-r11b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++
-std=gnu++11 -o Unified_cpp_webrtc_modules0.o -c
-I/home/pdahiya/source/B2G/objdir-gecko/dist/system_wrappers -include
/home/pdahiya/source/B2G/gecko/config/gcc_hidden.h -DNDEBUG …


Any inputs on what could be causing this failure?

Thanks
Punam
___
dev-fxos mailing list
dev-fxos@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-fxos


Re: Only clang/llvm 3.6 or newer is supported error - Aries build on mac

2016-10-13 Thread Alexandre Lissy
On 13/10/2016 08:17, Punam Dahiya wrote:
> When running|||./build.sh -j1| to build for aries on Mac 10.11 fails
> with error:
> ERROR: Only clang/llvm 3.6 or newer is supported

Building those devices on OSX has never been completed:
https://bugzilla.mozilla.org/show_bug.cgi?id=1194655

I confess I had no time to complete everything :)

> 
> The main error is during the host compiler check for *clang++* with
> *-std=gnu+11*
> where its returning not supported.
> 
> /usr/local/bin/ccache /usr/bin/clang++ -std=gnu++11 -E
> /var/folders/23/7zydwv9x7td824c4jh9c_8rcgn/T/conftest.Gzc4jp.cpp
> 
> printing the e.message in
> "B2G/gecko/build/moz.configure/checks.configure" shows the message "Only
> clang/llvm 3.6 or newer is supported".
> 
> attaching the output
> 
> http://pastebin.com/bcpS7sPn
> 
> any ideas?
> 
> Before reaching the above error,
> 1. I had to install NDK tool chain (as suggested in thread
> https://groups.google.com/forum/#!topic/mozilla.dev.fxos/TQySTkVuOpA) and
> 2. had to copy this patch here
> https://github.com/jld/gp-keon-kernel/commit/eea28ab16ab90ed5713f19989126682864c1f8ec.patch
> 
> for missing elf.h fix - http://pastebin.com/x4GMQbxT
> 
> Thanks
> Punam
> 
> 
> ___
> dev-fxos mailing list
> dev-fxos@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-fxos
> 

___
dev-fxos mailing list
dev-fxos@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-fxos