* [PATCH 0/3] Use -shared compilation instead of -Wl,-r
@ 2025-04-08 15:08 Vladimir Serbinenko
2025-04-24 13:41 ` Mate Kukri
0 siblings, 1 reply; 4+ messages in thread
From: Vladimir Serbinenko @ 2025-04-08 15:08 UTC (permalink / raw)
To: grub-devel
-Wl,-r is a partial linking and this file is only intended as intermediate
result for linker, not really intended for any other use. To make them
usable we end up doing all the linker job twice over: in mkimage and
in runtime. -shared on the other hand is meant to be loaded and relocated
and hence it's simpler to use.
Tested on
i386-pc, x86_64-efi, powerpc-ieee1275, arm-efi, riscv64-efi,
arm64-efi, sparc64-ieee1275, mipsel-loongson, mips-malta and
loongarch64-efi using qemu
Tested on ia64-efi using ski
Tested on emu
Couldn't test on riscv32 as I couldn't find riscv32-efi for qemu, or any
board for this matter.
_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 0/3] Use -shared compilation instead of -Wl,-r
@ 2025-04-08 15:16 Vladimir Serbinenko
0 siblings, 0 replies; 4+ messages in thread
From: Vladimir Serbinenko @ 2025-04-08 15:16 UTC (permalink / raw)
To: grub-devel
-Wl,-r is a partial linking and this file is only intended as intermediate
result for linker, not really intended for any other use. To make them
usable we end up doing all the linker job twice over: in mkimage and
in runtime. -shared on the other hand is meant to be loaded and relocated
and hence it's simpler to use.
Tested on
i386-pc, x86_64-efi, powerpc-ieee1275, arm-efi, riscv64-efi,
arm64-efi, sparc64-ieee1275, mipsel-loongson, mips-malta and
loongarch64-efi using qemu
Tested on ia64-efi using ski
Tested on emu
Couldn't test on riscv32 as I couldn't find riscv32-efi for qemu, or any
board for this matter.
_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 0/3] Use -shared compilation instead of -Wl,-r
2025-04-08 15:08 [PATCH 0/3] Use -shared compilation instead of -Wl,-r Vladimir Serbinenko
@ 2025-04-24 13:41 ` Mate Kukri
2025-05-03 13:40 ` Vladimir 'phcoder' Serbinenko
0 siblings, 1 reply; 4+ messages in thread
From: Mate Kukri @ 2025-04-24 13:41 UTC (permalink / raw)
To: The development of GNU GRUB
ia32-efi build breaks with these patches, grub-mkimage seems to be
missing relocation type 8
On Tue, Apr 8, 2025 at 4:16 PM Vladimir Serbinenko <phcoder@gmail.com> wrote:
>
> -Wl,-r is a partial linking and this file is only intended as intermediate
> result for linker, not really intended for any other use. To make them
> usable we end up doing all the linker job twice over: in mkimage and
> in runtime. -shared on the other hand is meant to be loaded and relocated
> and hence it's simpler to use.
>
> Tested on
> i386-pc, x86_64-efi, powerpc-ieee1275, arm-efi, riscv64-efi,
> arm64-efi, sparc64-ieee1275, mipsel-loongson, mips-malta and
> loongarch64-efi using qemu
>
> Tested on ia64-efi using ski
> Tested on emu
>
> Couldn't test on riscv32 as I couldn't find riscv32-efi for qemu, or any
> board for this matter.
>
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel
_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 0/3] Use -shared compilation instead of -Wl,-r
2025-04-24 13:41 ` Mate Kukri
@ 2025-05-03 13:40 ` Vladimir 'phcoder' Serbinenko
0 siblings, 0 replies; 4+ messages in thread
From: Vladimir 'phcoder' Serbinenko @ 2025-05-03 13:40 UTC (permalink / raw)
To: The development of GNU GRUB
[-- Attachment #1.1: Type: text/plain, Size: 1383 bytes --]
Thanks. Fixed in the new version
Regards
Vladimir 'phcoder' Serbinenko
Le jeu. 24 avr. 2025, 18:43, Mate Kukri <mate.kukri@canonical.com> a écrit :
> ia32-efi build breaks with these patches, grub-mkimage seems to be
> missing relocation type 8
>
> On Tue, Apr 8, 2025 at 4:16 PM Vladimir Serbinenko <phcoder@gmail.com>
> wrote:
> >
> > -Wl,-r is a partial linking and this file is only intended as
> intermediate
> > result for linker, not really intended for any other use. To make them
> > usable we end up doing all the linker job twice over: in mkimage and
> > in runtime. -shared on the other hand is meant to be loaded and relocated
> > and hence it's simpler to use.
> >
> > Tested on
> > i386-pc, x86_64-efi, powerpc-ieee1275, arm-efi, riscv64-efi,
> > arm64-efi, sparc64-ieee1275, mipsel-loongson, mips-malta and
> > loongarch64-efi using qemu
> >
> > Tested on ia64-efi using ski
> > Tested on emu
> >
> > Couldn't test on riscv32 as I couldn't find riscv32-efi for qemu, or any
> > board for this matter.
> >
> >
> > _______________________________________________
> > Grub-devel mailing list
> > Grub-devel@gnu.org
> > https://lists.gnu.org/mailman/listinfo/grub-devel
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel
>
[-- Attachment #1.2: Type: text/html, Size: 2326 bytes --]
[-- Attachment #2: Type: text/plain, Size: 141 bytes --]
_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-05-03 13:40 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-08 15:08 [PATCH 0/3] Use -shared compilation instead of -Wl,-r Vladimir Serbinenko
2025-04-24 13:41 ` Mate Kukri
2025-05-03 13:40 ` Vladimir 'phcoder' Serbinenko
-- strict thread matches above, loose matches on Subject: below --
2025-04-08 15:16 Vladimir Serbinenko
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.