[Bug 2031416] [NEW] libsystemd.a missing symbols on armhf
Nick Rosbrook
2031416 at bugs.launchpad.net
Tue Aug 15 15:02:40 UTC 2023
Public bug reported:
There are two symptoms to observe here. First is that build-with-static-
libsystemd fails on armhf[1]:
2733s autopkgtest [10:52:05]: test build-with-static-libsystemd: [-----------------------
2735s /usr/bin/ld: /tmp/ccRhNQ82.o: in function `main':
2735s uuid-gen.c:(.text+0x20): undefined reference to `sd_id128_randomize'
2735s /usr/bin/ld: uuid-gen.c:(.text+0x5c): undefined reference to `sd_id128_to_string'
2735s collect2: error: ld returned 1 exit status
2735s autopkgtest [10:52:07]: test build-with-static-libsystemd: -----------------------]
Second is this dh_strip warning from the armhf build log[2]:
dh_strip: warning: lto-no-text-in-archive: debian/libsystemd-
dev/usr/lib/arm-linux-gnueabihf/libsystemd.a
This is caused by building with -flto=auto, but without -ffat-lto-
objects[3], which appears to be enabled for all arches except armhf.
[1] https://autopkgtest.ubuntu.com/results/autopkgtest-mantic/mantic/armhf/s/systemd/20230815_105221_65d03@/log.gz
[2] https://launchpadlibrarian.net/681945377/buildlog_ubuntu-mantic-armhf.systemd_253.5-1ubuntu2_BUILDING.txt.gz
[3] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=977596
** Affects: systemd (Ubuntu)
Importance: High
Assignee: Nick Rosbrook (enr0n)
Status: Triaged
** Tags: update-excuse
** Changed in: systemd (Ubuntu)
Status: New => Triaged
** Changed in: systemd (Ubuntu)
Assignee: (unassigned) => Nick Rosbrook (enr0n)
** Changed in: systemd (Ubuntu)
Importance: Undecided => High
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/2031416
Title:
libsystemd.a missing symbols on armhf
Status in systemd package in Ubuntu:
Triaged
Bug description:
There are two symptoms to observe here. First is that build-with-
static-libsystemd fails on armhf[1]:
2733s autopkgtest [10:52:05]: test build-with-static-libsystemd: [-----------------------
2735s /usr/bin/ld: /tmp/ccRhNQ82.o: in function `main':
2735s uuid-gen.c:(.text+0x20): undefined reference to `sd_id128_randomize'
2735s /usr/bin/ld: uuid-gen.c:(.text+0x5c): undefined reference to `sd_id128_to_string'
2735s collect2: error: ld returned 1 exit status
2735s autopkgtest [10:52:07]: test build-with-static-libsystemd: -----------------------]
Second is this dh_strip warning from the armhf build log[2]:
dh_strip: warning: lto-no-text-in-archive: debian/libsystemd-
dev/usr/lib/arm-linux-gnueabihf/libsystemd.a
This is caused by building with -flto=auto, but without -ffat-lto-
objects[3], which appears to be enabled for all arches except armhf.
[1] https://autopkgtest.ubuntu.com/results/autopkgtest-mantic/mantic/armhf/s/systemd/20230815_105221_65d03@/log.gz
[2] https://launchpadlibrarian.net/681945377/buildlog_ubuntu-mantic-armhf.systemd_253.5-1ubuntu2_BUILDING.txt.gz
[3] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=977596
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/2031416/+subscriptions
More information about the foundations-bugs
mailing list