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-boun...@qt-project.org> On Behalf Of Alexander Rössler
Sent: Friday, March 1, 2019 10:52 AM
To: interest@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@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to