public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* Problem with building flash-images with grub-2.14
@ 2026-01-20 12:46 Adolf Belka
  2026-01-20 16:58 ` Michael Tremer
  0 siblings, 1 reply; 5+ messages in thread
From: Adolf Belka @ 2026-01-20 12:46 UTC (permalink / raw)
  To: IPFire: Development-List

Hi All,

Grub-2.14 has been released and I have built it. The build was able to be run successfully.

The build also successfully ran the cdrom stage but it then failed in the flash-images section of the build.

I reverted grub back to the previous version and flash-images was able to be built without any issues.

Here is the end of the log showing the error that caused flash-images to fail.

Any help or suggestions on how to fix this would be greatly appreciated. If more of the flash-images build log is required then I can put it into the IPFire pastebin (it is around 3000 lines).

ERROR: ld.so: object '/tools_x86_64/lib/libpakfire_preload.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/tools_x86_64/lib/libpakfire_preload.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
Root filesystem isn't btrfs, skipping...
ERROR: ld.so: object '/tools_x86_64/lib/libpakfire_preload.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/tools_x86_64/lib/libpakfire_preload.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/tools_x86_64/lib/libpakfire_preload.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/tools_x86_64/lib/libpakfire_preload.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
done
# Boot the first kernel by default
chroot /tmp/harddisk grub-set-default 0
ERROR: ld.so: object '/tools_x86_64/lib/libpakfire_preload.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/tools_x86_64/lib/libpakfire_preload.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/tools_x86_64/lib/libpakfire_preload.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/tools_x86_64/lib/libpakfire_preload.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/tools_x86_64/lib/libpakfire_preload.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/tools_x86_64/lib/libpakfire_preload.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/tools_x86_64/lib/libpakfire_preload.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
# Insert the UUID because grub-mkconfig often fails to
# detect that correctly
sed -i /tmp/harddisk/boot/grub/grub.cfg \
	-e "s/root=[A-Za-z0-9\/=-]*/root=UUID=$(blkid -o value -s UUID /dev/mapper/loop0p3)/g"
# Install GRUB
grub-install --force --recheck --no-floppy --target=i386-pc \
	--root-directory=/tmp/harddisk /dev/loop0
Installing for i386-pc platform.
grub-install: error: `/usr/lib/grub/i386-pc/kernel.img' is miscompiled: its start address is 0x9074 instead of 0x9000: ld.gold bug?.
make: *** [flash-images:157: /usr/src/log/flash-image] Error 1

Regards,

Adolf.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-01-21 11:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-01-20 12:46 Problem with building flash-images with grub-2.14 Adolf Belka
2026-01-20 16:58 ` Michael Tremer
2026-01-20 20:56   ` Adolf Belka
2026-01-21 10:59     ` Michael Tremer
2026-01-21 11:40       ` Adolf Belka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox