[Bug 2080244] Re: Rebuilding results in unusable OpenSBI binary
Heinrich Schuchardt
2080244 at bugs.launchpad.net
Tue Sep 10 13:52:05 UTC 2024
** Bug watch added: Debian Bug tracker #1081291
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1081291
** Also affects: opensbi (Debian) via
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1081291
Importance: Unknown
Status: Unknown
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to opensbi in Ubuntu.
https://bugs.launchpad.net/bugs/2080244
Title:
Rebuilding results in unusable OpenSBI binary
Status in opensbi package in Ubuntu:
New
Status in opensbi package in Debian:
Unknown
Bug description:
debian/rules only strips the .note section but not .note.package.
We need a change like:
diff --git a/debian/rules b/debian/rules
index d9562be..2a5a7a5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -19,7 +19,7 @@ override_dh_auto_build:
PLATFORM=generic ; \
for elffile in build/platform/generic/firmware/fw_*.elf ; do \
riscv64-linux-gnu-strip --remove-section=.comment \
- --remove-section=.note \
+ --remove-section=.note* \
$${elffile} ; \
done
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/opensbi/+bug/2080244/+subscriptions
More information about the foundations-bugs
mailing list