Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 928956 - dev-libs/libsodium-1.0.19-r2: emerging on rpi4 llvm musl fails with neon error
Summary: dev-libs/libsodium-1.0.19-r2: emerging on rpi4 llvm musl fails with neon error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: ARM64 Linux
: Normal normal
Assignee: Sam James
URL:
Whiteboard:
Keywords:
Depends on: 930867
Blocks:
  Show dependency tree
 
Reported: 2024-04-08 21:01 UTC by 2857
Modified: 2024-04-29 05:48 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info '=dev-libs/libsodium-1.0.19-r2::gentoo' (file_928956.txt,6.18 KB, text/plain)
2024-04-08 21:02 UTC, 2857
Details
build.log (file_928956.txt,609.01 KB, text/plain)
2024-04-08 21:07 UTC, 2857
Details

Note You need to log in before you can comment on or make changes to this bug.
Description 2857 2024-04-08 21:01:35 UTC
RPI 4, llvm musl 23.0 profile

In file included from /var/tmp/portage/dev-libs/libsodium-1.0.19-r2/work/libsodium-stable/src/libsodium/crypto_aead/aes256gcm/armcrypto/aead_aes256gcm_armcrypto.c:35:
/usr/lib/llvm/17/bin/../../../../lib/clang/17/include/arm_neon.h:62828:32: error: always_inline function 'vget_high_p64' requires target feature 'crypto', but would be inlined into function 'vmull_high_p64' that is compiled without support for 'crypto'
 62828 |   __ret = vmull_p64((poly64_t)(vget_high_p64(__p0)), (poly64_t)(vget_high_p64(__p1)));
       |                                ^
/usr/lib/llvm/17/bin/../../../../lib/clang/17/include/arm_neon.h:62828:65: error: always_inline function 'vget_high_p64' requires target feature 'crypto', but would be inlined into function 'vmull_high_p64' that is compiled without support for 'crypto'
 62828 |   __ret = vmull_p64((poly64_t)(vget_high_p64(__p0)), (poly64_t)(vget_high_p64(__p1)));
       |                                                                 ^
2 errors generated.
Comment 1 2857 2024-04-08 21:02:43 UTC
Created attachment 889960 [details]
emerge --info '=dev-libs/libsodium-1.0.19-r2::gentoo'
Comment 2 2857 2024-04-08 21:07:38 UTC
Created attachment 889963 [details]
build.log
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-04-29 05:48:27 UTC
I think this is fixed by 1.0.19_p20240117 -> bug 930867.