Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Nov 2021 22:02:15 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 259904] graphics/libraw: needs to link with libomp when built with OPTION OPENMP
Message-ID:  <bug-259904-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259904

            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=3D229561&action=
=3Dedit
link against libomp on OPENMP=3Don

after07fb2d5e9d00 and 54cc4cc6eaed14e3d495ca3a3b6f86f3f429b991 , shotwell f=
ails
on libraw if libraw is built with OPENMP=3Don:
  ld-elf.so.1: /usr/local/lib/libraw.so.20: Undefined symbol "__kmpc_fork_c=
all"
(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).

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-259904-7788>