On Tue, 2023-11-21 at 16:31 -1000, Steve Sakoman wrote: > From: Wenlin Kang <[email protected]> > > Steps to reproduce > 1) add layer meta-mingw > 2) add line in local.conf > SDKMACHINE = "x86_64-mingw32" > 3) bitbake nativesdk-libxcrypt > > Fixed: > 1. .symver error > | {standard input}: Assembler messages: > | {standard input}:4: Error: unknown pseudo-op: `.symver' > > 2. pedantic error > | ../git/lib/crypt.c:316:24: error: ISO C does not allow extra ';' outside > of a function [-Werror=pedantic] > | 316 | SYMVER_crypt_gensalt_rn; > | | > > 3. conversion error > | ../git/lib/util-get-random-bytes.c: In function '_crypt_get_random_bytes': > | ../git/lib/util-get-random-bytes.c:140:42: error: conversion from > 'size_t' {aka 'long long unsigned int'} to 'unsigned int' may change value > [-Werror=conversion] > | 140 | ssize_t nread = read (fd, buf, buflen); > > Signed-off-by: Wenlin Kang <[email protected]> > Signed-off-by: Steve Sakoman <[email protected]> > --- > .../0001-Fix-for-compilation-on-Windows.patch | 37 +++++++++++++++ > ...dom-bytes.c-fixed-conversion-error-w.patch | 47 +++++++++++++++++++ > meta/recipes-core/libxcrypt/libxcrypt.inc | 4 ++ > 3 files changed, 88 insertions(+) > create mode 100644 > meta/recipes-core/libxcrypt/files/0001-Fix-for-compilation-on-Windows.patch > create mode 100644 > meta/recipes-core/libxcrypt/files/0001-lib-util-get-random-bytes.c-fixed-conversion-error-w.patch
This isn't in master, not is it going to be. Cheers, Richard
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#191143): https://lists.openembedded.org/g/openembedded-core/message/191143 Mute This Topic: https://lists.openembedded.org/mt/102742417/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
