[Interest] WAS is failing to compile under Ubuntu

Alexander Rössler machinekoder at gmail.com
Fri Mar 1 10:52:00 CET 2019


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20190301/dd169b66/attachment.html>


More information about the Interest mailing list