Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 703824 - dev-qt/qtgui-5.14.0-r1: multiple definition of `__bss_start' and more
Summary: dev-qt/qtgui-5.14.0-r1: multiple definition of `__bss_start' and more
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 2 votes (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-26 10:33 UTC by Michał Górny
Modified: 2020-04-04 12:56 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,10.42 KB, text/plain)
2019-12-26 10:33 UTC, Michał Górny
Details
dev-qt:qtgui-5.14.0-r1:20191226-092332.log.xz (dev-qt:qtgui-5.14.0-r1:20191226-092332.log.xz,25.92 KB, application/x-xz)
2019-12-26 10:34 UTC, Michał Górny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-12-26 10:33:02 UTC
rm -f libqxcb.so
x86_64-pc-linux-gnu-g++-9.2.0 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,--no-undefined -Wl,--enable-new-dtags -shared -o libqxcb.so .obj/qxcbmain.o  /var/tmp/portage/dev-qt/qtgui-5.14.0-r1/work/qtbase-everywhere-src-5.14.0/lib/libQt5XcbQpa.so /var/tmp/portage/dev-qt/qtgui-5.14.0-r1/work/qtbase-everywhere-src-5.14.0/lib/libQt5ServiceSupport.a /var/tmp/portage/dev-qt/qtgui-5.14.0-r1/work/qtbase-everywhere-src-5.14.0/lib/libQt5ThemeSupport.a /var/tmp/portage/dev-qt/qtgui-5.14.0-r1/work/qtbase-everywhere-src-5.14.0/lib/libQt5FontDatabaseSupport.a -lfontconfig -lfreetype -lz /var/tmp/portage/dev-qt/qtgui-5.14.0-r1/work/qtbase-everywhere-src-5.14.0/lib/libQt5XkbCommonSupport.a /var/tmp/portage/dev-qt/qtgui-5.14.0-r1/work/qtbase-everywhere-src-5.14.0/lib/libQt5LinuxAccessibilitySupport.a /var/tmp/portage/dev-qt/qtgui-5.14.0-r1/work/qtbase-everywhere-src-5.14.0/lib/libQt5AccessibilitySupport.a /var/tmp/portage/dev-qt/qtgui-5.14.0-r1/work/qtbase-everywhere-src-5.14.0/lib/libQt5Gui.so /var/tmp/portage/dev-qt/qtgui-5.14.0-r1/work/qtbase-everywhere-src-5.14.0/lib/libQt5EdidSupport.a /usr/lib64/libQt5DBus.so /usr/lib64/libQt5Core.so -lGL -lpthread -lX11-xcb -lxcb-xinput -lxcb-icccm -lxcb-image -lxcb-shm -lxcb-keysyms -lxcb-randr -lxcb-render-util -lxcb-render -lxcb-shape -lxcb-sync -lxcb-xfixes -lxcb-xinerama -lxcb-xkb -lxcb -lXext -lX11 -lm -lSM -lICE -lxkbcommon-x11 -lxkbcommon -ldl    
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libQt5Core.so:(*IND*+0x0): multiple definition of `__bss_start'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libQt5Core.so:(*IND*+0x0): multiple definition of `__bss_start'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libQt5Core.so:(*IND*+0x0): multiple definition of `_edata'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libQt5Core.so:(*IND*+0x0): multiple definition of `_edata'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libQt5Core.so:(*IND*+0x0): multiple definition of `_end'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libQt5Core.so:(*IND*+0x0): multiple definition of `_end'
collect2: error: ld returned 1 exit status
distcc[2490] ERROR: compile (null) on localhost failed
make[2]: *** [Makefile.xcb-plugin:181: ../../../../plugins/platforms/libqxcb.so] Error 1
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-12-26 10:33:55 UTC
Created attachment 600624 [details]
emerge-info.txt
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-12-26 10:34:38 UTC
Created attachment 600626 [details]
dev-qt:qtgui-5.14.0-r1:20191226-092332.log.xz
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-01-03 08:50:04 UTC
@toolchain, any clue what could be happening here?
Comment 4 Sergei Trofimovich (RETIRED) gentoo-dev 2020-01-03 23:26:20 UTC
Sounds similar to https://sourceware.org/PR21074 where /usr/lib64/libQt5Core.so in dev-qt/qtcore package was linked with buggy gold linker from binutils-2.28 era.

Probably not a fault of dev-qt/qtgui. I did not manage to reproduce it locally.
Comment 5 Paul Osmialowski 2020-04-04 12:54:55 UTC
@Sergei you're right about the gold linker. After some time of using gold linker, I had to rebuild binutils with "-default-gold" USE flag to make BFD linker default in order to be able to build 5.4 kernel (currently Linux Kernel developers officially condemn gold linker and kernel Makefiles refuse to proceed with gold linker detected). I've immediately hit this issue on the following Gentoo update. Following your suggestion, I had rebuilt QtCore and then I was finally able to upgrade QtGui.
Comment 6 Paul Osmialowski 2020-04-04 12:56:18 UTC
Now I wonder how much of my userspace is affected by aftermatch of linker switching.