On 2/25/20 1:32 PM, Mark Hatle wrote:
On 2/25/20 12:36 PM, Adrian Bunk wrote:
On Tue, Feb 25, 2020 at 12:02:14PM -0600, Mark Hatle wrote:
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
...
Please send a complete build log, this looks like a parallel build
failure where some .c is compiled before some header it uses is
fully generated (or something similar).
I'll reply with a private email to where you can get a copy of the build
directory.
--- 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"
...
I assume PARALLEL_MAKE = "" would also work instead?
I tried this and it didn't appear to make a difference. I only see the problem
when building for mingw32.
Did we ever figure out what was causing this? It does appear to be some
sort of race condition at the moment, and I'm surprised we haven't seen
it on the autobuilder (we have pretty good test coverage for meta-mingw
there).
I've never seen any issues for any other SDK target.
--Mark
cu
Adrian
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#48673): https://lists.yoctoproject.org/g/yocto/message/48673
Mute This Topic: https://lists.yoctoproject.org/mt/71538286/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-