Skip to contentSkip to conversation

New: package/syslinux: MBR's don't fit because of binutils new .note.gnu.property section

Buildroot bugzilla at busybox.net 1 participant 2 messages Apr 5, 2019 – Apr 7, 2019

lore
Share & tools
lore
#0 lore raw

https://bugs.busybox.net/show_bug.cgi?id=11756

Bug ID: 11756
Summary: package/syslinux: MBR's don't fit because of binutils
new .note.gnu.property section
Product: buildroot
Version: unspecified
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: christian at paral.in
CC: buildroot at uclibc.org
Target Milestone: ---

Corresponding bug reports:

- https://bugs.archlinux.org/task/60405
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=906414

Build failure:

workspaces/qemu/host/bin/x86_64-buildroot-linux-gnu-ld -T workspaces/qemu/build/syslinux-6.03/mbr/i386/mbr.ld -e _start -o mbr.elf mbr.o objcopy -O binary mbr.elf mbr.bin
perl workspaces/qemu/build/syslinux-6.03/mbr/checksize.pl mbr.bin mbr.bin: too big (452 > 440)
make[7]: *** [workspaces/qemu/build/syslinux-6.03/mbr/Makefile:42: mbr.bin] Error 1

Description:

objcopy -O binary mbr.elf mbr.bin
perl /build/syslinux/src/syslinux/mbr/checksize.pl mbr.bin mbr.bin: too big (452 > 440)

Fixed in Archlinux32 by stripping the .note.gnu.property in the linker scripts of the MBRs.

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.
#1 lore raw

[Buildroot] [Bug 11756] package/syslinux: MBR's don't fit because of binutils new .note.gnu.property section

https://bugs.busybox.net/show_bug.cgi?id=11756

Peter Korsgaard <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Peter Korsgaard <[email protected]> --- Fixed in git, thanks:
https://git.buildroot.org/buildroot/commit/?id=0ca17cdc925124d1b309788518e9d4834b9b2557

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.