Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 859244 - games-strategy/0ad-0.0.25b_alpha-r1 fails to compile (lto): lib.rs:89: undefined reference to RustMozCrash
Summary: games-strategy/0ad-0.0.25b_alpha-r1 fails to compile (lto): lib.rs:89: undefi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: lto
  Show dependency tree
 
Reported: 2022-07-19 07:36 UTC by Agostino Sarubbo
Modified: 2023-11-22 15:01 UTC (History)
0 users

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


Attachments
build.log.xz (build.log.xz,63.31 KB, application/x-xz)
2022-07-19 07:36 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-19 07:36:18 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: games-strategy/0ad-0.0.25b_alpha-r1 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-19 07:36:21 UTC
Created attachment 792260 [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-19 07:36:23 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


/var/tmp/portage/games-strategy/0ad-0.0.25b_alpha-r1/work/0ad-0.0.25b-alpha/libraries/source/spidermonkey/mozjs-78.6.0/mozglue/static/rust/lib.rs:89: undefined reference to `RustMozCrash'
91 |                 ::std::error::Error::description(self)
99 |                 Error::IoError(ref e) => e.description(),
FCollada/FUtils/FUError.cpp: In static member function ‘static void FUError::SetCustomErrorString(const char*)’:
warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
collect2: error: ld returned 1 exit status
Comment 3 Larry the Git Cow gentoo-dev 2023-11-22 15:01:17 UTC
The bug has been closed via the following commit(s):

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

commit b91f4b53b4c47b807bb46e0c7455dc1d861e86eb
Author:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
AuthorDate: 2023-11-22 14:49:11 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2023-11-22 15:00:54 +0000

    games-strategy/0ad: filter lto flag
    
    Closes: https://bugs.gentoo.org/859244
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 games-strategy/0ad/0ad-0.0.26_alpha-r1.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)