Summary: | media-sound/guitarix-0.44.1 fails to compile (lto): task in guitarix failed with exit status 1 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Miroslav Šulc <fordfrog> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alexander, audvare, proxy-maint |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/34597 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 618550 | ||
Attachments: | build.log |
Description
Agostino Sarubbo
2022-07-25 06:53:11 UTC
Created attachment 794153 [details]
build.log
build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: Checking for 'jackd1' : not found collect2: error: ld returned 1 exit status Getting the same compile error, guitarix seems to build with flto on by default (-flto=auto) with fuse-linker-plugin /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../x86_64-pc-linux-gnu/bin/ld: src/gx_head/gui/gx_main.cpp.1.o: plugin needed to handle lto object /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../x86_64-pc-linux-gnu/bin/ld:../src/gx_head/guitarix.lds:1: undefined section `.rt.text' referenced in expression collect2: error: ld returned 1 exit status The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4590f31ae7dabc26a98483768c051ea216f4466e commit 4590f31ae7dabc26a98483768c051ea216f4466e Author: Alexander Tsoy <alexander@tsoy.me> AuthorDate: 2024-01-02 00:17:49 +0000 Commit: Miroslav Šulc <fordfrog@gentoo.org> CommitDate: 2024-01-03 08:43:37 +0000 media-sound/guitarix: fix LTO build Pass --cxxflags to waf configure. This allows waf to do some magic and append -ffat-lto-objects to CXXFLAGS. Also unexport CXXFLAGS and LDFLAGS before waf configure to prevent duplicating flags. Closes: https://bugs.gentoo.org/860861 Signed-off-by: Alexander Tsoy <alexander@tsoy.me> Closes: https://github.com/gentoo/gentoo/pull/34597 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org> media-sound/guitarix/guitarix-0.44.1.ebuild | 5 ++++- media-sound/guitarix/guitarix-9999.ebuild | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) Still getting an LTO-related error for this one. Should I open a new ticket? Output shows a number of these kinds of messages: /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: src/gx_head/engine/ladspaplugin.cpp.1.o: plugin needed to handle lto object And: /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld:../src/gx_head/guitarix.lds:1: undefined section `.rt.text' referenced in expression collect2: error: ld returned 1 exit status (In reply to Andrew Udvare from comment #5) > Still getting an LTO-related error for this one. Should I open a new ticket? Yes, please. This is probably a different issue. I tested with the same *FLAGS as @ago end everything worked fine on my system. |