[Bug 2080244] [NEW] Rebuilding results in unusable OpenSBI binary
Heinrich Schuchardt
2080244 at bugs.launchpad.net
Tue Sep 10 13:34:50 UTC 2024
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
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
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