Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 924154

Summary: dev-libs/libsodium-1.0.19-r2 has implicit function declarations in configure logs
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Sam James <sam>
Status: RESOLVED FIXED    
Severity: normal CC: eschwartz
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: fixed in 1.0.19_p20240117
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 906027    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2024-02-09 11:39:13 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-libs/libsodium-1.0.19-r2 has implicit function declarations in configure logs.
Discovered on: x86 (internal ref: tinderbox_x86)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#QA0072
Comment 1 Agostino Sarubbo gentoo-dev 2024-02-09 11:39:16 UTC
Created attachment 884603 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-02-09 11:39:18 UTC
Found the following implicit function declarations in configure logs:

config.log:1443 - _rdrand64_step
Comment 3 Eli Schwartz gentoo-dev 2024-10-20 16:45:21 UTC
commit 2d40ce3072c987da8bcee68f17755c27beaa8a3c
Author:     Sam James <sam@gentoo.org>
AuthorDate: Thu Feb 15 16:00:53 2024
Commit:     Sam James <sam@gentoo.org>
CommitDate: Thu Feb 15 16:01:27 2024

    dev-libs/libsodium: add 1.0.19_p20240117
    
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/libsodium/Manifest                                                                   |  2 ++
 dev-libs/libsodium/files/{libsodium-1.0.10-cpuflags.patch => libsodium-1.0.19-cpuflags.patch} | 10 +++++-----
 dev-libs/libsodium/{libsodium-1.0.19-r2.ebuild => libsodium-1.0.19_p20240117.ebuild}          |  6 +++++-
 3 files changed, 12 insertions(+), 6 deletions(-)
 copy dev-libs/libsodium/files/{libsodium-1.0.10-cpuflags.patch => libsodium-1.0.19-cpuflags.patch} (77%)
 copy dev-libs/libsodium/{libsodium-1.0.19-r2.ebuild => libsodium-1.0.19_p20240117.ebuild} (94%)


+QA_CONFIG_IMPL_DECL_SKIP=(
+	_rdrand64_step # depends on target, bug #924154
+)
+


Indeed, it fails on gcc 13 for 32-bit ABI via:

<artificial>:(.text.startup+0x22): undefined reference to `_rdrand64_step'