Re: [PATCH] Fix build error in binutils 2.36

2021-08-05 Thread Daniel Kiper
On Mon, Aug 02, 2021 at 05:41:15PM +0800, Michael Chang via Grub-devel wrote: > The xen build fails on binutils 2.36 with the following error. > > /usr/lib64/gcc/x86_64-suse-linux/10/../../../../x86_64-suse-linux/bin/ld: > section .note.gnu.property VMA [00400158,00400187] > overlap

Re: [PATCH v3 2/4] ieee1275: claim more memory

2021-08-05 Thread Daniel Kiper
On Wed, Aug 04, 2021 at 08:40:01AM -0400, Stefan Berger wrote: > > On 8/4/21 7:19 AM, Daniel Kiper wrote: > > CC-ing Patrick. > > > > On Fri, Jul 30, 2021 at 11:45:38AM -0400, Stefan Berger wrote: > > > From: Daniel Axtens > > > > > > On powerpc-ieee1275, we are running out of memory trying to ver

Re: [PATCH] emu: fix executable stack marking

2021-08-05 Thread Daniel Kiper
On Mon, Aug 02, 2021 at 05:40:57PM +0800, Michael Chang via Grub-devel wrote: > The gcc by default assumes executable stack is required if the source > object file doesn't have .note.GNU-stack section in place. If any of the > source objects doesn't incorporate the GNU-stack note, the resulting > p

Re: [PATCH v3 1/4] ieee1275: Move #defines into common ieee1275.h header

2021-08-05 Thread Stefan Berger
On 7/30/21 11:45 AM, Stefan Berger wrote: From: Stefan Berger Move some #defines from ieee1275.c into the common ieee1275.h header file. Adjust the case used in IHANDLE_INVALID to use proper ihandle_t. Signed-off-by: Stefan Berger --- grub-core/kern/ieee1275/ieee1275.c | 29 ---

Re: [PATCH 3/4] luks2: set up dummy sector size during scan

2021-08-05 Thread Michael Chang via Grub-devel
Hi, Enclosed herewith please find the revised patch from openSUSE that could also fix this very same problem. According to Fabian, the author of this patch, the reason for having this patch is that he found some problem in the posted one. I have added him to the CC list so that he could provide m

[PATCH 1/2] bootstrap: Require patch

2021-08-05 Thread Petr Vorel
bootstrap.conf uses patch, let's require it. Better than multiple messages: ./bootstrap.conf: line 84: patch: command not found Signed-off-by: Petr Vorel --- bootstrap.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/bootstrap.conf b/bootstrap.conf index 6b043fc35..0dd893c5c 100644 ---

[PATCH 2/2] autogen.sh: Detect python

2021-08-05 Thread Petr Vorel
It help to avoid error on distros which has only python3 binary: ./autogen.sh: line 20: python: command not found Using bash builtin 'command -v' to avoid requiring which as extra dependency (usable on containers). Keep the possibility to define PYTHON. Signed-off-by: Petr Vorel --- autogen.sh