[Interest] WAS is failing to compile under Ubuntu

Jean-Michaël Celerier jeanmichael.celerier at gmail.com
Fri Mar 1 14:23:43 CET 2019


Can confirm that I could build WASM successfully on linux with yesterday's
5.13 qtbase (and same emscripten version than OP), however I encountered
this while running : https://bugreports.qt.io/browse/QTBUG-74131?filter=-2

Best,
-------
Jean-Michaël Celerier
http://www.jcelerier.name


On Fri, Mar 1, 2019 at 11:24 AM Maurice Kalinowski <Maurice.Kalinowski at qt.io>
wrote:

> Hi,
>
>
>
> I experienced the same last week. If you choose a current 5.13 branch of
> qtbase, it should work.
>
> Also the latest qt5.git integration contains a build fix for this.
>
>
>
> Hence, I’d recommend to switch to 5.13 and use latest emscripten SDK.
>
>
>
> Maurice
>
>
>
>
>
> *From:* Interest <interest-bounces at qt-project.org> *On Behalf Of *Alexander
> Rössler
> *Sent:* Friday, March 1, 2019 10:52 AM
> *To:* interest at qt-project.org
> *Subject:* [Interest] WAS is failing to compile under Ubuntu
>
>
>
> Hello, Qt devs,
>
>
>
>  A couple of devs, including me, tried to build and install Qt for WA
> under a recent Ubuntu.
>
> See: https://forum.qt.io/topic/100061/ubuntu-compile-qt-failed
>
>
>
> We all followed the instructions from the blog post:
> https://blog.qt.io/blog/2018/11/19/getting-started-qt-webassembly/
>
>
>
> However, for some reason the build fails at:
>
> *qsimd_p.h:196:14: **fatal error: **'x86intrin.h' file not found*
> #    include <x86intrin.h>
> *            ^~~~~~~~~~~~~*
>
>
>
> My em++ looks as follows:
>
>
>
> $ em++ -v
> emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld)
> 1.38.28
> clang version 6.0.1  (emscripten 1.38.28 : 1.38.28)
> Target: x86_64-unknown-linux-gnu
> Thread model: posix
> InstalledDir:
> /home/alexander/bin/emsdk/clang/tag-e1.38.28/build_tag-e1.38.28_64/bin
> Found candidate GCC installation: /usr/lib/gcc/i686-linux-gnu/8
> Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/6
> Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/6.5.0
> Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/7
> Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/7.3.0
> Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/8
> Selected GCC installation: /usr/lib/gcc/x86_64-linux-gnu/7.3.0
> Candidate multilib: .;@m64
> Selected multilib: .;@m64
> shared:INFO: (Emscripten: Running sanity checks)
>
>
>
> How can we debug the problem? I've also tried to do following export
> CPLUS_INCLUDE_PATH=~/bin/emsdk/clang/tag-e1.38.28/build_tag-e1.38.28_64/lib/clang/6.0.1/include/
> which results in the build failing due to missing symbols.
>
>
>
> Thank you for your response
>
> Alex
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> https://lists.qt-project.org/listinfo/interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20190301/df3aff16/attachment.html>


More information about the Interest mailing list