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

Bug 933414

Summary: sci-libs/XNNPACK-2024.02.29 fails to compile: sse2.c:3431:33: error: type of xnn_table_exp2minus_k_over_64 does not match original declaration [-Werror=lto-type-mismatch]
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Tupone Alfredo <tupone>
Status: RESOLVED FIXED    
Severity: normal CC: eschwartz
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/google/XNNPACK/issues/6806
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 618550    
Attachments: build.log.xz

Description Agostino Sarubbo gentoo-dev 2024-06-02 10:20:50 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sci-libs/XNNPACK-2024.02.29 fails to compile.
Discovered on: amd64 (internal ref: lto_tinderbox)
System: LTO-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#LTO)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-06-02 10:20:52 UTC
Created attachment 894941 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Agostino Sarubbo gentoo-dev 2024-06-02 10:20:53 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


FAILED: libXNNPACK.so 
/var/tmp/portage/sci-libs/XNNPACK-2024.02.29/work/XNNPACK-fcbf55af6cf28a4627bcd1f703ab7ad843f0f3a2/src/amalgam/gen/sse2.c:3431:33: error: type of ‘xnn_table_exp2minus_k_over_64’ does not match original declaration [-Werror=lto-type-mismatch]
Comment 3 Larry the Git Cow gentoo-dev 2024-09-05 04:08:32 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20e06faab917e7b435082408e36a743aa8ec38b3

commit 20e06faab917e7b435082408e36a743aa8ec38b3
Author:     Eli Schwartz <eschwartz@gentoo.org>
AuthorDate: 2024-09-05 03:08:20 +0000
Commit:     Eli Schwartz <eschwartz@gentoo.org>
CommitDate: 2024-09-05 04:07:45 +0000

    sci-libs/XNNPACK: mark as LTO-unsafe
    
    Closes: https://bugs.gentoo.org/933414
    Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>

 sci-libs/XNNPACK/XNNPACK-2024.02.29.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)