qtwebkit 5.7.1 fails to build on armhf

Bug #1653529 reported by Timo Jyrinki
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gcc-6 (Ubuntu)
Won't Fix
Undecided
Unassigned
qtwebkit-opensource-src (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Build log: https://launchpadlibrarian.net/300952415/buildlog_ubuntu-zesty-armhf.qtwebkit-opensource-src_5.7.1+dfsg-1build1~1_BUILDING.txt.gz

---
g++ -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,--as-needed -Wl,--no-undefined -Wl,--no-undefined -fdebug-types-section -Wl,-O1 -Wl,--enable-new-dtags -Wl,--no-keep-memory -shared -Wl,-soname,libQt5WebKit.so.5 -o libQt5WebKit.so.5.7.1 -lQt5Gui -lQt5Core -lpthread -lQt5Network -lQt5Core -lpthread -lQt5Core -lpthread -lpthread -Wl,-whole-archive -lWebKit1 -Wl,-no-whole-archive -L/<<BUILDDIR>>/qtwebkit-opensource-src-5.7.1+dfsg/Source/WebKit/ -Wl,-whole-archive -lWebKit2 -Wl,-no-whole-archive -L/<<BUILDDIR>>/qtwebkit-opensource-src-5.7.1+dfsg/Source/WebKit2/ -lrt -Wl,-whole-archive -lWebCore -Wl,-no-whole-archive -L/<<BUILDDIR>>/qtwebkit-opensource-src-5.7.1+dfsg/Source/WebCore/ -lz -lXrender -ljpeg -lpng -lwebp -Wl,-whole-archive -lANGLE -Wl,-no-whole-archive -L/<<BUILDDIR>>/qtwebkit-opensource-src-5.7.1+dfsg/Source/ThirdParty/ANGLE/ -Wl,-whole-archive -lleveldb -Wl,-no-whole-archive -L/<<BUILDDIR>>/qtwebkit-opensource-src-5.7.1+dfsg/Source/ThirdParty/leveldb/ -Wl,-whole-archive -lJavaScriptCore -Wl,-no-whole-archive -L/<<BUILDDIR>>/qtwebkit-opensource-src-5.7.1+dfsg/Source/JavaScriptCore/ -Wl,-whole-archive -lWTF -Wl,-no-whole-archive -L/<<BUILDDIR>>/qtwebkit-opensource-src-5.7.1+dfsg/Source/WTF/ -lpthread -lEGL -lXext -lX11 -lm -lX11 -lxslt -lxml2 -lxml2 -lglib-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 -lgstapp-1.0 -lgstbase-1.0 -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 -lgstbase-1.0 -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 -lgstpbutils-1.0 -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 -lgstvideo-1.0 -lgstbase-1.0 -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 -lgstaudio-1.0 -lgstbase-1.0 -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 -lsqlite3 -licui18n -licuuc -licudata -lQt5Quick -lQt5Qml -lQt5Gui -lQt5Network -lQt5Core -lpthread -lQt5Qml -lQt5Network -lQt5Core -lpthread -lQt5Network -lQt5Core -lpthread -lQt5Gui -lQt5Core -lpthread -lQt5Sql -lQt5Core -lpthread -lQt5Core -lpthread -lGLESv2
/usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/libQt5Gui.so:(*IND*+0x0): multiple definition of `__bss_start'
/usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/libQt5Gui.so:(*IND*+0x0): multiple definition of `_edata'
/usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/libQt5Gui.so:(*IND*+0x0): multiple definition of `_end'
/usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/libQt5Network.so:(*IND*+0x0): multiple definition of `_edata'
/usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/libQt5Network.so:(*IND*+0x0): multiple definition of `__bss_start'
/usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/libQt5Network.so:(*IND*+0x0): multiple definition of `_end'
/usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/libQt5Core.so:(*IND*+0x0): multiple definition of `__bss_start'
/usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/libQt5Core.so:(*IND*+0x0): multiple definition of `__bss_start'
/usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/libQt5Core.so:(*IND*+0x0): multiple definition of `_edata'
/usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/libQt5Core.so:(*IND*+0x0): multiple definition of `_edata'
/usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/libQt5Core.so:(*IND*+0x0): multiple definition of `_end'
/usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/libQt5Core.so:(*IND*+0x0): multiple definition of `_end'
collect2: error: ld returned 1 exit status
---

This has built fine on Debian.

https://wiki.ubuntu.com/Touch/QtTesting

Tags: qt5.7
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

(retried once, it persisted)

Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

Same source built in Debian two weeks ago even for armhf, so maybe gcc-6 6.3.0 is related.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gcc-6 (Ubuntu):
status: New → Confirmed
Changed in qtwebkit-opensource-src (Ubuntu):
status: New → Confirmed
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

Continues to be a problem with forced use of gcc 6.2.1-5ubuntu1 and binutils 20161212 ubuntu version:

https://launchpadlibrarian.net/301204319/buildlog_ubuntu-zesty-armhf.qtwebkit-opensource-src_5.7.1+dfsg-1build1~1_BUILDING.txt.gz

The forcing was done with aid of version bumped older versions at https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/2332/+packages

However with Debian variants of roughly those versions of gcc-6 and binutils a build of the identical qtwebkit source succeeded on December 16th: https://buildd.debian.org/status/fetch.php?pkg=qtwebkit-opensource-src&arch=armhf&ver=5.7.1%2Bdfsg-1&stamp=1481858819

Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

Looks like workaroundable by not using gold on armhf either for Qt (already disabled on powerpc and now newly i386 in Debian).

Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

See bug #1654820 too. Ended up disabling gold on 4 of 6 architectures.

Changed in qtwebkit-opensource-src (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

..4 of 7.

Changed in qtwebkit-opensource-src (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Matthias Klose (doko) wrote :

not addressing for gcc-6

Changed in gcc-6 (Ubuntu):
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.