Damus
note1darec...
divVerent profile picture
@Haelwenn /элвэн/ :triskell: The point of the test:


dnl Some versions of `objcopy -O binary' vary their output depending
dnl on the link address.
So this is less of an autotools issue (except for the dumb dnl spam), and more of an artifact of a broken linker from 2002.

Sadly I can't find history of this check (which would likely tell which objcopy version is broken) - this check is there since the initial import.

Looking at the other build scripts, when building for PC/MBR (i386-pc), it does use a similar invocation in the actual build. A build for x86-64-efi may work anyway, so you can just workaround by making the addresses in acinclude.m4 bigger (the test only relies on them being different, not small).
1
Haelwenn /элвэн/ :triskell: · 36w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpqn8nf49j5ppw6w3h2jvckz7fd607mqnxdfg4mvejdcrskcujd5fqqpvd732 To be very clear, the issue I have with autotools here isn't the test, written by grub devs and needed regardless of the buildsystem. The issue is autotools allowing to outright lie abo...