Details
-
Bug
-
Resolution: Invalid
-
P1: Critical
-
None
-
6.1
-
None
-
Ubuntu 18.04 LTS 32 bit
clang 9.0.0
Description
- Configure qtbase on a 32-bit machine.
I used:~/dev/src/qtbase/configure -platform linux-clang-libc++ -no-opengl -sanitize address -opensource -confirm-license -developer-build
- Try building this.
I used:cmake --build .
The build will fail:
[ 3%] Linking CXX executable ../../../bin/moc ../bootstrap/libBootstrap.a(qdatetime.cpp.o): In function `_Z12qMulOverflowIxENSt9enable_ifIXoosr3stdE13is_unsigned_vIT_Esr3stdE11is_signed_vIS1_EEbE4typeES1_S1_PS1_': /home/qtrob/dev/clang-9.0.0/qtbase/include/QtCore/../../../../src/qtbase/src/corelib/global/qnumeric.h:122: undefined reference to `__mulodi4' clang: error: linker command failed with exit code 1 (use -v to see invocation) src/tools/moc/CMakeFiles/moc.dir/build.make:193: recipe for target 'bin/moc' failed make[2]: *** [bin/moc] Error 1 CMakeFiles/Makefile2:19376: recipe for target 'src/tools/moc/CMakeFiles/moc.dir/all' failed make[1]: *** [src/tools/moc/CMakeFiles/moc.dir/all] Error 2 Makefile:159: recipe for target 'all' failed make: *** [all] Error 2
I attached the full logs.
On a 64-bit machine, this works fine.