All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Mark Hatle" <mark.hatle@kernel.crashing.org>
To: yocto@lists.yoctoproject.org
Cc: jpewhacker@gmail.com
Subject: [[meta-mingw][PATCH] libgcrypt: disable amd64 optimization
Date: Tue, 25 Feb 2020 12:02:14 -0600	[thread overview]
Message-ID: <20200225180214.114643-1-mark.hatle@kernel.crashing.org> (raw)

amd64 optimization when using with mingw32 sometimes results in:

| ../../libgcrypt-1.8.4/cipher/rijndael-tables.h:103:24: error: expected
']' before '.' token
|  103 | #define encT enc_tables.T

and then all usages of encT fail as well.

Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
---
 recipes-support/libgcrypt/libgcrypt_%.bbappend | 1 +
 1 file changed, 1 insertion(+)

diff --git a/recipes-support/libgcrypt/libgcrypt_%.bbappend b/recipes-support/libgcrypt/libgcrypt_%.bbappend
index 50dca09..92242d0 100644
--- a/recipes-support/libgcrypt/libgcrypt_%.bbappend
+++ b/recipes-support/libgcrypt/libgcrypt_%.bbappend
@@ -1,3 +1,4 @@
+EXTRA_OECONF_append_mingw32 = " --disable-amd64-as-feature-detection"
 
 # libcap does not support mingw32
 PACKAGECONFIG_remove_mingw32 = "capabilities"
-- 
2.17.1


             reply	other threads:[~2020-02-25 18:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-25 18:02 Mark Hatle [this message]
2020-02-25 18:36 ` [yocto] [[meta-mingw][PATCH] libgcrypt: disable amd64 optimization Adrian Bunk
2020-02-25 19:32   ` Mark Hatle
2020-03-03 15:19     ` Joshua Watt
2020-12-17  0:50       ` Mark Hatle
2020-12-17 16:17         ` Khem Raj
2020-12-17 16:45           ` Mark Hatle

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=20200225180214.114643-1-mark.hatle@kernel.crashing.org \
    --to=mark.hatle@kernel.crashing.org \
    --cc=jpewhacker@gmail.com \
    --cc=yocto@lists.yoctoproject.org \
    /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.