Public bug reported:
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
** Affects: opensbi (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2080244
Title:
Rebuilding results in unusable OpenSBI binary
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/opensbi/+bug/2080244/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs