Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 860417 - media-radio/wsjtx-2.5.4 fails to compile (lto): <artificial>:(.text+0x50e): undefined reference to log
Summary: media-radio/wsjtx-2.5.4 fails to compile (lto): <artificial>:(.text+0x50e): u...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Thomas Beierlein
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: lto
  Show dependency tree
 
Reported: 2022-07-24 07:46 UTC by Agostino Sarubbo
Modified: 2022-08-22 15:12 UTC (History)
1 user (show)

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


Attachments
build.log.xz (build.log.xz,38.23 KB, application/x-xz)
2022-07-24 07:46 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-07-24 07:46:52 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-radio/wsjtx-2.5.4 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-24 07:46:54 UTC
Created attachment 793685 [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 2022-07-24 07:46:56 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: <artificial>:(.text+0x562): undefined reference to `log'
/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: <artificial>:(.text+0x59c): undefined reference to `sqrt'
/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: <artificial>:(.text+0x5ac): undefined reference to `sqrt'
/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: <artificial>:(.text.startup+0x53e): undefined reference to `pow'
<artificial>:(.text+0x50e): undefined reference to `log'
<artificial>:(.text.startup+0x3b7): undefined reference to `sincos'
FAILED: wsprsim 
collect2: error: ld returned 1 exit status
Comment 3 Larry the Git Cow gentoo-dev 2022-08-22 15:12:07 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05ef0ef7de8f3ba0f94c3409f83fc6673bf1e98e

commit 05ef0ef7de8f3ba0f94c3409f83fc6673bf1e98e
Author:     Thomas Beierlein <tomjbe@gentoo.org>
AuthorDate: 2022-08-22 15:11:07 +0000
Commit:     Thomas Beierlein <tomjbe@gentoo.org>
CommitDate: 2022-08-22 15:11:45 +0000

    media-radio/wsjtx: Disable -flto
    
    Closes: https://bugs.gentoo.org/860417
    Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>

 media-radio/wsjtx/wsjtx-2.5.4.ebuild | 3 +++
 1 file changed, 3 insertions(+)