[Bug 2138387] [NEW] dh_dwz on librustc_driver fails build on Noble
Max Gilmour
2138387 at bugs.launchpad.net
Wed Jan 14 16:53:24 UTC 2026
Public bug reported:
[ Impact ]
* On Noble, the rustc-1.85 build fails if dwz is run on
librustc_driver:
dh_dwz --no-dwz-multifile -- -L 100000000
dwz: debian/rustc-1.85/usr/lib/rust-1.85/lib/rustlib/x86_64-unknown-linux-gnu/bin/rust-objcopy: .debug_info section not present
dwz: debian/rustc-1.85/usr/lib/rust-1.85/lib/rustlib/x86_64-unknown-linux-gnu/bin/wasm-component-ld: .debug_info section not present
dwz: debian/libstd-rust-1.85/usr/lib/rust-1.85/lib/librustc_driver-547da00ae0ba7b6a.so: elf_update failed
dh_dwz: error: dwz -L 100000000 -- debian/libstd-rust-1.85/usr/lib/rust-1.85/lib/librustc_driver-547da00ae0ba7b6a.so returned exit code 1
[ Test Plan ]
* The following PPA build fails at the dh_dwz step, as detailed above:
- Build: https://launchpad.net/~maxgmr/+archive/ubuntu/rustc-lp2100266-nodwz/+build/32142010
- Buildlog: https://launchpad.net/~maxgmr/+archive/ubuntu/rustc-lp2100266-nodwz/+build/32142010/+files/buildlog_ubuntu-noble-amd64.rustc-1.85_1.85.1+dfsg0ubuntu2~bpo0-0ubuntu0.24.04.1~ppa1_BUILDING.txt.gz
* The following PPA build succeeds. The only difference is the exclusion
of librustc_driver from the dh_dwz step:
- Build: https://launchpad.net/~maxgmr/+archive/ubuntu/rustc-lp2100266/+build/31600361
- Buildlog: https://launchpad.net/~maxgmr/+archive/ubuntu/rustc-lp2100266/+build/31600361/+files/buildlog_ubuntu-noble-amd64.rustc-1.85_1.85.1+dfsg0ubuntu2~bpo0-0ubuntu0.24.04.1~ppa4_BUILDING.txt.gz
[ Where problems could occur ]
* Since fixing this bug only entails disabling debug optimization
for one file, it does not affect runtime behaviour or ABI
correctness.
* Additionally, since multifile optimization is already disabled
for this package, it won't affect any other distributed files.
* However, this change will increase the size of librustc_driver
and debuggers will load this library more slowly and require
more resources.
[ Other Info ]
* N/A
** Affects: rustc-1.85 (Ubuntu)
Importance: Medium
Assignee: Max Gilmour (maxgmr)
Status: In Progress
** Affects: rustc-1.85 (Ubuntu Noble)
Importance: Medium
Assignee: Max Gilmour (maxgmr)
Status: In Progress
** Tags: noble
** Also affects: rustc-1.85 (Ubuntu Noble)
Importance: Undecided
Status: New
** Changed in: rustc-1.85 (Ubuntu Noble)
Status: New => In Progress
** Changed in: rustc-1.85 (Ubuntu Noble)
Importance: Undecided => Medium
** Changed in: rustc-1.85 (Ubuntu Noble)
Assignee: (unassigned) => Max Gilmour (maxgmr)
** Changed in: rustc-1.85 (Ubuntu Noble)
Milestone: None => noble-updates
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to rustc-1.85 in Ubuntu.
https://bugs.launchpad.net/bugs/2138387
Title:
dh_dwz on librustc_driver fails build on Noble
Status in rustc-1.85 package in Ubuntu:
In Progress
Status in rustc-1.85 source package in Noble:
In Progress
Bug description:
[ Impact ]
* On Noble, the rustc-1.85 build fails if dwz is run on
librustc_driver:
dh_dwz --no-dwz-multifile -- -L 100000000
dwz: debian/rustc-1.85/usr/lib/rust-1.85/lib/rustlib/x86_64-unknown-linux-gnu/bin/rust-objcopy: .debug_info section not present
dwz: debian/rustc-1.85/usr/lib/rust-1.85/lib/rustlib/x86_64-unknown-linux-gnu/bin/wasm-component-ld: .debug_info section not present
dwz: debian/libstd-rust-1.85/usr/lib/rust-1.85/lib/librustc_driver-547da00ae0ba7b6a.so: elf_update failed
dh_dwz: error: dwz -L 100000000 -- debian/libstd-rust-1.85/usr/lib/rust-1.85/lib/librustc_driver-547da00ae0ba7b6a.so returned exit code 1
[ Test Plan ]
* The following PPA build fails at the dh_dwz step, as detailed above:
- Build: https://launchpad.net/~maxgmr/+archive/ubuntu/rustc-lp2100266-nodwz/+build/32142010
- Buildlog: https://launchpad.net/~maxgmr/+archive/ubuntu/rustc-lp2100266-nodwz/+build/32142010/+files/buildlog_ubuntu-noble-amd64.rustc-1.85_1.85.1+dfsg0ubuntu2~bpo0-0ubuntu0.24.04.1~ppa1_BUILDING.txt.gz
* The following PPA build succeeds. The only difference is the exclusion
of librustc_driver from the dh_dwz step:
- Build: https://launchpad.net/~maxgmr/+archive/ubuntu/rustc-lp2100266/+build/31600361
- Buildlog: https://launchpad.net/~maxgmr/+archive/ubuntu/rustc-lp2100266/+build/31600361/+files/buildlog_ubuntu-noble-amd64.rustc-1.85_1.85.1+dfsg0ubuntu2~bpo0-0ubuntu0.24.04.1~ppa4_BUILDING.txt.gz
[ Where problems could occur ]
* Since fixing this bug only entails disabling debug optimization
for one file, it does not affect runtime behaviour or ABI
correctness.
* Additionally, since multifile optimization is already disabled
for this package, it won't affect any other distributed files.
* However, this change will increase the size of librustc_driver
and debuggers will load this library more slowly and require
more resources.
[ Other Info ]
* N/A
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rustc-1.85/+bug/2138387/+subscriptions
More information about the foundations-bugs
mailing list