[Bug 1961324] [NEW] disable LTO for the new Qt6 stack synced from debian
Rik Mills
1961324 at bugs.launchpad.net
Thu Feb 17 17:14:46 UTC 2022
Public bug reported:
qt6-base from debian FTBFS with LTO enabled.
/tmp/ccS5HXFr.s: Assembler messages:
/tmp/ccS5HXFr.s: Error: invalid attempt to declare external version name as default in symbol `qt_version_tag@@Qt_6.2'
make[1]: *** [/tmp/ccPgEgcA.mk:2: /tmp/ccsdSmyc.ltrans0.ltrans.o] Error 1
make[1]: *** Waiting for unfinished jobs....
lto-wrapper: fatal error: make returned 2 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
The rest of the Qt6 stack on some test builds has some fails and some
symbols going missing, which mostly go away when when LTO is turned off.
These are broadly similar issues to those seen for Qt5 in the debian LTO
enabled test rebuild. It should also be noted that the Qt5 stack is
already in the lto-disabled-list to avoid these errors.
A few remaining symbols changes (optionals for ppc64el) will need to be
upstreamed to debian, and then synced.
List of Qt6 packages:
qt6-3d
qt6-5compat
qt6-base
qt6-charts
qt6-connectivity
qt6-datavis3d
qt6-declarative
qt6-imageformats
qt6-lottie
qt6-multimedia
qt6-networkauth
qt6-positioning
qt6-quick3d
qt6-quicktimeline
qt6-remoteobjects
qt6-scxml
qt6-sensors
qt6-serialbus
qt6-serialport
qt6-shadertools
qt6-svg
qt6-tools
qt6-translations
qt6-virtualkeyboard
qt6-wayland
qt6-webchannel
qt6-webengine
qt6-websockets
qt6-webview
** Affects: lto-disabled-list (Ubuntu)
Importance: Undecided
Status: New
** Description changed:
qt6-base from debian FTBFS with LTO enabled.
/tmp/ccS5HXFr.s: Assembler messages:
/tmp/ccS5HXFr.s: Error: invalid attempt to declare external version name as default in symbol `qt_version_tag@@Qt_6.2'
make[1]: *** [/tmp/ccPgEgcA.mk:2: /tmp/ccsdSmyc.ltrans0.ltrans.o] Error 1
make[1]: *** Waiting for unfinished jobs....
lto-wrapper: fatal error: make returned 2 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
The rest of the Qt6 stack on some test builds has some fails and some
symbols going missing, which mostly go away when when LTO is turned off.
- These are broadly similar issues to seen for Qt5 in the debian LTO
+ These are broadly similar issues to those seen for Qt5 in the debian LTO
enabled test rebuild. It should also be noted that the Qt5 stack is
already in the lto-disabled-list to avoid these errors.
A few remaining symbols changes (optionals for ppc64el) will need to be
upstreamed to debian, and then synced.
List of Qt6 packages:
qt6-3d
qt6-5compat
qt6-base
qt6-charts
qt6-connectivity
qt6-datavis3d
qt6-declarative
qt6-imageformats
qt6-lottie
qt6-multimedia
qt6-networkauth
qt6-positioning
qt6-quick3d
qt6-quicktimeline
qt6-remoteobjects
qt6-scxml
qt6-sensors
qt6-serialbus
qt6-serialport
qt6-shadertools
qt6-svg
qt6-tools
qt6-translations
qt6-virtualkeyboard
qt6-wayland
qt6-webchannel
qt6-webengine
qt6-websockets
qt6-webview
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to lto-disabled-list in Ubuntu.
https://bugs.launchpad.net/bugs/1961324
Title:
disable LTO for the new Qt6 stack synced from debian
Status in lto-disabled-list package in Ubuntu:
New
Bug description:
qt6-base from debian FTBFS with LTO enabled.
/tmp/ccS5HXFr.s: Assembler messages:
/tmp/ccS5HXFr.s: Error: invalid attempt to declare external version name as default in symbol `qt_version_tag@@Qt_6.2'
make[1]: *** [/tmp/ccPgEgcA.mk:2: /tmp/ccsdSmyc.ltrans0.ltrans.o] Error 1
make[1]: *** Waiting for unfinished jobs....
lto-wrapper: fatal error: make returned 2 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
The rest of the Qt6 stack on some test builds has some fails and some
symbols going missing, which mostly go away when when LTO is turned
off. These are broadly similar issues to those seen for Qt5 in the
debian LTO enabled test rebuild. It should also be noted that the Qt5
stack is already in the lto-disabled-list to avoid these errors.
A few remaining symbols changes (optionals for ppc64el) will need to
be upstreamed to debian, and then synced.
List of Qt6 packages:
qt6-3d
qt6-5compat
qt6-base
qt6-charts
qt6-connectivity
qt6-datavis3d
qt6-declarative
qt6-imageformats
qt6-lottie
qt6-multimedia
qt6-networkauth
qt6-positioning
qt6-quick3d
qt6-quicktimeline
qt6-remoteobjects
qt6-scxml
qt6-sensors
qt6-serialbus
qt6-serialport
qt6-shadertools
qt6-svg
qt6-tools
qt6-translations
qt6-virtualkeyboard
qt6-wayland
qt6-webchannel
qt6-webengine
qt6-websockets
qt6-webview
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lto-disabled-list/+bug/1961324/+subscriptions
More information about the foundations-bugs
mailing list