All of lore.kernel.org
 help / color / mirror / Atom feed
From: Avnish Chouhan <avnish@linux.ibm.com>
To: polynomial-c@gmx.de
Cc: grub-devel@gnu.org, Daniel Kiper <daniel.kiper@oracle.com>
Subject: Re: [PATCH] configure.ac: avoid bashisms
Date: Fri, 31 Oct 2025 12:24:48 +0530	[thread overview]
Message-ID: <6c29de1c648ca88ef5ca538c810f86a2@linux.ibm.com> (raw)
In-Reply-To: <mailman.20754.1761826895.1109.grub-devel@gnu.org>

On 2025-10-30 17:51, grub-devel-request@gnu.org wrote:
> Message: 2
> Date: Thu, 30 Oct 2025 07:31:59 +0100
> From: Lars Wendler <polynomial-c@gmx.de>
> To: grub-devel@gnu.org
> Cc: Lars Wendler <polynomial-c@gmx.de>
> Subject: [PATCH] configure.ac: avoid bashisms
> Message-ID: <20251030063159.11177-1-polynomial-c@gmx.de>
> Content-Type: text/plain; charset=UTF-8
> 
> or else configure check doesn't succeed with non-bash shell (e.g. 
> dash):
> 
>   checking whether to enable AMD64 as(1) feature detection...
> /var/tmp/portage/sys-boot/grub-2.14_rc1/work/grub-2.14~rc1/configure:
> 39176: test: xx86_64: unexpected operator
>   no
> 
> and later build fails with
> 
> 
> /var/tmp/portage/sys-boot/grub-2.14_rc1/work/grub-2.14~rc1/grub-core/lib/libgcrypt-grub/src/hwf-x86.c:
> In function ‘detect_x86_gnuc’:
> 
> /var/tmp/portage/sys-boot/grub-2.14_rc1/work/grub-2.14~rc1/grub-core/lib/libgcrypt-grub/src/hwf-x86.c:252:17:
> error: ‘HWF_INTEL_CPU’ undeclared (first use in this function)
>     252 |       result |= HWF_INTEL_CPU;
>         |                 ^~~~~~~~~~~~~
> 
> and other corresponding HWF_INTEL_* definitions because 
> HAVE_CPU_ARCH_X86 was
> erroneously not defined by configure script.
> 
> Signed-off-by: Lars Wendler <polynomial-c@gmx.de>
> ---

Reviewed-by: Avnish Chouhan <avnish@linux.ibm.com>

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

       reply	other threads:[~2025-10-31  6:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.20754.1761826895.1109.grub-devel@gnu.org>
2025-10-31  6:54 ` Avnish Chouhan [this message]
2025-10-29  9:31 [PATCH] configure.ac: avoid bashisms Lars Wendler via Grub-devel
2025-10-30  6:13 ` Gary Lin via Grub-devel
2025-10-30  6:31   ` Lars Wendler via Grub-devel
2025-10-30  8:37     ` Sudhakar Kuppusamy
2025-11-05 19:01     ` Daniel Kiper

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6c29de1c648ca88ef5ca538c810f86a2@linux.ibm.com \
    --to=avnish@linux.ibm.com \
    --cc=daniel.kiper@oracle.com \
    --cc=grub-devel@gnu.org \
    --cc=polynomial-c@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.