Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 925535 - media-gfx/darktable-4.6.1: fails to build with sys-devel/gcc-14 (ld.lld: error: relocation refers to a symbol in a discarded section: fast_surface_blur.ifunc)
Summary: media-gfx/darktable-4.6.1: fails to build with sys-devel/gcc-14 (ld.lld: erro...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on: 921023
Blocks: gcc-14
  Show dependency tree
 
Reported: 2024-02-26 07:58 UTC by Agostino Sarubbo
Modified: 2024-03-03 23:00 UTC (History)
2 users (show)

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


Attachments
build.log.xz (build.log.xz,34.19 KB, application/x-xz)
2024-02-26 07:58 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 2024-02-26 07:58:37 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-gfx/darktable-4.6.1 fails to compile.
Discovered on: amd64 (internal ref: clang-lld_tinderbox)
System: CLANG-LLD (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CLANG-LLD)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-02-26 07:58:39 UTC
Created attachment 886019 [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-02-26 07:58:39 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


--   Package 'iso-codes', required by 'virtual:world', not found
-- Could NOT find Imath (missing: Imath_DIR)
-- Could NOT find libheif (missing: libheif_DIR)
-- Could NOT find libheif (missing: libheif_LIBRARY libheif_INCLUDE_DIR) (Required is at least version "1.13.0")
FAILED: bin/libdarktable.so 
ld.lld: error: relocation refers to a symbol in a discarded section: fast_surface_blur.ifunc
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-02-27 00:32:41 UTC
This is a GCC 14 bug (and not darktable's fault, AFAIK).
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-03-03 23:00:23 UTC
commit a23548bc8af4f4ca160560bc1e081fd2df13602d (HEAD -> master, origin/master, origin/HEAD)
Author: Sam James <sam@gentoo.org>
Date:   Sun Mar 3 22:58:34 2024 +0000

    sys-devel/gcc: add 14.0.1_pre20240303

    Bug: https://gcc.gnu.org/PR112868
    Bug: https://gcc.gnu.org/PR113652 (sort of)
    Signed-off-by: Sam James <sam@gentoo.org>