from https://lists.busybox.net/pipermail/busybox/2024-September/090899.html The ENABLE_SHA1_HWACCEL Kconfig symbol is meant to be archicture agnostic, so can be enabled regardless of whether your build architecture provides hardware acceleration or not. At the moment only x86 implements this, so every piece of optimised code should be guarded by both ENABLE_SHA1_HWACCEL and (__x86_64__ || __i386__). This is missing at one place, so compiling for arm64 breaks when ENABLE_SHA1_HWACCEL is enabled: ================================ libbb/hash_md5_sha.c: In function ‘sha1_end’: libbb/hash_md5_sha.c:1316:28: error: ‘sha1_process_block64_shaNI’ undeclared (first use in this function); did you mean ‘sha1_process_block64’? 1316 | || ctx->process_block == sha1_process_block64_shaNI | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | sha1_process_block64 libbb/hash_md5_sha.c:1316:28: note: each undeclared identifier is reported only once for each function it appears in make[1]: *** [scripts/Makefile.build:197: libbb/hash_md5_sha.o] Error 1 make: *** [Makefile:744: libbb] Error 2 ================================ Add the missing guards around the call to sha1_process_block64_shaNI to fix the build on other architectures with ENABLE_SHA1_HWACCEL enabled. Change-Id: I40bba388422625f4230abf15a5de23e1fdc654fc Signed-off-by: Andre Przywara --- libbb/hash_md5_sha.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libbb/hash_md5_sha.c b/libbb/hash_md5_sha.c index 57a801459..75a61c32c 100644 --- a/libbb/hash_md5_sha.c +++ b/libbb/hash_md5_sha.c @@ -1313,7 +1313,9 @@ unsigned FAST_FUNC sha1_end(sha1_ctx_t *ctx, void *resbuf) hash_size = 8; if (ctx->process_block == sha1_process_block64 #if ENABLE_SHA1_HWACCEL +# if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__)) || ctx->process_block == sha1_process_block64_shaNI +# endif #endif ) { hash_size = 5; -- 2.25.1g/?id=787dee7a6b30fa3e20b317eea790c3113d8c9479'>root/po/packages/fr.po
AgeCommit message (Expand)Author
2024-04-01nls: Update translations....* po/guix/ar.po: New file. * po/guix/LINGUAS: Add 'ar'. * po/doc/guix-cookbook.pt_BR.po: New file. * po/doc/local.mk: Add 'pt_BR' cookbook. * doc/local.mk: Add 'pt_BR' cookbook. * doc/htmlxref.cnf: Update URLs for cookbook. * doc/build.scm (%cookbook-languages): Add 'ko', 'pt_BR'. * doc/guix-cookbook.texi (Top): Mention 'ko', 'pt_BR' cookbook. Change-Id: Id1846ca100263b3fc1fa2ed52654c670270ee809 Florian Pelz
2024-02-01nls: Update translations....Change-Id: I42b5d41bdd5cd1b096c977e132b7a85992223402 Florian Pelz
2023-05-31nls: Update translations....* doc/guix-cookbook.texi (Top): Mention Slovak. Florian Pelz
2023-03-07nls: Update translations.Julien Lepiller
2022-12-04nls: Update translations....po/packages/vi.po: New file. po/packages/LINGUAS: Add it. Julien Lepiller
2022-11-04nls: Update translations....* po/guix/lt.po: New file. * po/guix/LINGUAS: Add lt. Julien Lepiller
2022-10-06nls: Update translations.Julien Lepiller
2022-09-04nls: Update translations.Julien Lepiller
2022-08-10nls: Update translations....po/guix/bn.po: New file. po/guix/LINGUAS: Add it. Julien Lepiller
2022-07-09nls: Update translations....po/guix/tr.po: New file. po/guix/LINGUAS: Add it. Julien Lepiller