Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

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

29 views
Skip to first unread message

Punam Dahiya

unread,
Oct 13, 2016, 2:17:58 AM10/13/16
to dev-fxos
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

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_8rc0000gn/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
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

Alexandre Lissy

unread,
Oct 13, 2016, 4:19:49 AM10/13/16
to dev-...@lists.mozilla.org
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_8rc0000gn/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
> <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-...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-fxos
>

Punam Dahiya

unread,
Oct 14, 2016, 6:01:25 PM10/14/16
to Alexandre Lissy, dev-fxos
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
0 new messages