Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.15.9
-
None
-
-
ccdfc6e501 (qt/qtwebengine/5.15.10) 2a5d2bdfa1 (qt/qtwebengine/5.15) 2a5d2bdfa1 (qt/tqtc-qtwebengine/5.15) ccdfc6e501 (qt/tqtc-qtwebengine/5.15.10) 09a4ad989c (qt/qtwebengine/dev) 9949d93357 (qt/qtwebengine/6.3) e4e8d9a43c (qt/qtwebengine/6.2)
Description
Description
When compiling the WebEngine, the linking of 'gn' is problematic (see logs below). If I run myself ranlib *.a over the files, the linkage is then successful.
Question: In which ninja build file I write than ranlib? or what to do to avoid that situation?
h3. Details
- Cross-compiling for ARM architecture
- Compilation made on Ubuntu 18.04, with gcc 9.3.0 (c++11)
- Target system is Linux on ARMv7
Logs
Logs about the configuration: configtest.txt
[187/187] LINK gn FAILED: gn /usr/bin/g++ -O3 -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,-strip-all -Wl,--as-needed -static-libstdc++ -pthread -o gn -Wl,--start-group tools/gn/gn_main.o base.a gn_lib.a -Wl,--end-group -ldl base.a: error adding symbols: Archive has no index; run ranlib to add one collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. Project ERROR: GN build error! Makefile:98: recipe for target 'sub-gn-pro-make_first' failed make[3]: *** [sub-gn-pro-make_first] Error 3 make[3]: Leaving directory '/root/.conan/data/qt/5.15.9/ajcote/testing/build/2067b3f195cf6679f70b77b2487fc5f31f6cc207/qtwebengine/src/buildtools' Makefile:53: recipe for target 'sub-buildtools-make_first' failed make[2]: *** [sub-buildtools-make_first] Error 2 make[2]: Leaving directory '/root/.conan/data/qt/5.15.9/ajcote/testing/build/2067b3f195cf6679f70b77b2487fc5f31f6cc207/qtwebengine/src' Makefile:48: recipe for target 'sub-src-make_first' failed make[1]: *** [sub-src-make_first] Error 2 make[1]: Leaving directory '/root/.conan/data/qt/5.15.9/ajcote/testing/build/2067b3f195cf6679f70b77b2487fc5f31f6cc207/qtwebengine' Makefile:532: recipe for target 'module-qtwebengine-make_first' failed make: *** [module-qtwebengine-make_first] Error 2
Attachments
For Gerrit Dashboard: QTBUG-103578 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
411914,7 | Pass archiver to gn build | 5.15.10 | qt/qtwebengine | Status: MERGED | +2 | 0 |
411939,3 | Pass archiver to gn build | dev | qt/qtwebengine | Status: MERGED | +2 | 0 |
412782,3 | Pass archiver to gn build | 5.15 | qt/qtwebengine | Status: MERGED | +2 | 0 |
415306,2 | Pass archiver to gn build | 6.3 | qt/qtwebengine | Status: MERGED | +2 | 0 |
415307,2 | Pass archiver to gn build | 6.2 | qt/qtwebengine | Status: MERGED | +2 | 0 |
415481,2 | Pass archiver to gn build | 6.4 | qt/qtwebengine | Status: MERGED | +2 | 0 |