[Bug 259904] graphics/libraw: needs to link with libomp when built with OPTION OPENMP
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 17 Nov 2021 22:02:15 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259904
Bug ID: 259904
Summary: graphics/libraw: needs to link with libomp when built
with OPTION OPENMP
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Keywords: easy, patch, patch-ready
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: jhale@FreeBSD.org
Reporter: cmt@freebsd.org
Assignee: jhale@FreeBSD.org
Flags: maintainer-feedback?(jhale@FreeBSD.org)
Created attachment 229561
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=229561&action=edit
link against libomp on OPENMP=on
after07fb2d5e9d00 and 54cc4cc6eaed14e3d495ca3a3b6f86f3f429b991 , shotwell fails
on libraw if libraw is built with OPENMP=on:
ld-elf.so.1: /usr/local/lib/libraw.so.20: Undefined symbol "__kmpc_fork_call"
(this can be observed on any operation on RAW files - viewing preprocessed
files or importing JPEGs seems to be ok in any case).
This can be fixed by adding -lomp to libraw's LDFLAGS (OPENMP_LDFLAGS), as per
the attached patch. "works for me and poudriere" (that bumps libraw's
PORTREVISION). (yes, adding -lomp to shotwell does not help).
--
You are receiving this mail because:
You are the assignee for the bug.