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

Bug 859928

Summary: media-libs/libxmp-4.5.0 fails to compile (lto): ccvBK0ph.s: Error: invalid attempt to declare external version name as default in symbol xmp_set_player@@XMP_4.4
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/libxmp/libxmp/issues/385
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 618550    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2022-07-22 06:50:25 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-libs/libxmp-4.5.0 fails to compile (lto).
Discovered on: amd64 (internal ref: lto_tinderbox)

NOTE:
This machine uses lto with CFLAGS=-flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing
Comment 1 Agostino Sarubbo gentoo-dev 2022-07-22 06:50:27 UTC
Created attachment 793016 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-07-22 06:50:29 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


/var/tmp/portage/media-libs/libxmp-4.5.0/temp/ccvBK0ph.s: Error: invalid attempt to declare external version name as default in symbol `xmp_set_player@@XMP_4.4'
lto-wrapper: fatal error: x86_64-pc-linux-gnu-gcc returned 1 exit status
Comment 3 Larry the Git Cow gentoo-dev 2024-03-18 16:55:56 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7215cac725118dc0afc8fd0489b33404e21ca22a

commit 7215cac725118dc0afc8fd0489b33404e21ca22a
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-03-18 16:54:32 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-03-18 16:54:32 +0000

    media-libs/libxmp: add 4.6.0
    
    Closes: https://bugs.gentoo.org/859928
    Signed-off-by: Sam James <sam@gentoo.org>

 media-libs/libxmp/Manifest            |  1 +
 media-libs/libxmp/libxmp-4.6.0.ebuild | 28 ++++++++++++++++++++++++++++
 media-libs/libxmp/libxmp-9999.ebuild  |  9 +++++----
 3 files changed, 34 insertions(+), 4 deletions(-)