Date: Sun, 03 Jan 2021 10:07:09 +0000 From: bugzilla-noreply@freebsd.org To: gnome@FreeBSD.org Subject: [Bug 252379] Mk/Uses/compiler.mk: remove USE_GCC=yes for compiler:openmp due to libomp.so is part of base since 11.3/12.1 Message-ID: <bug-252379-6497@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D252379 Bug ID: 252379 Summary: Mk/Uses/compiler.mk: remove USE_GCC=3Dyes for compiler:openmp due to libomp.so is part of base since 11.3/12.1 Product: Ports & Packages Version: Latest Hardware: Any URL: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D2228 58#c4 OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: vvd@unislabs.com CC: cmt@freebsd.org, cyberbotx@cyberbotx.com, danfe@FreeBSD.org, demon@FreeBSD.org, fbsd@any.com.ru, gnome@FreeBSD.org, greg@unrelenting.technology, h2+fbsdports@fsfe.org, jbeich@FreeBSD.org, jhale@FreeBSD.org, jrm@freebsd.org, jwb@freebsd.org, kwm@FreeBSD.org, mail@log69.com, pfg@FreeBSD.org, phd_kimberlite@yahoo.co.jp, portmgr@FreeBSD.org, riggs@FreeBSD.org, rodrigo@FreeBSD.org, sevenjp@gmail.com, stephen@FreeBSD.org, sunpoet@FreeBSD.org, tatsuki_makino@hotmail.com, yuri@freebsd.org CC: tatsuki_makino@hotmail.com Attachment #221237 maintainer-approval?(portmgr@FreeBSD.org) Flags: Flags: maintainer-feedback?(portmgr@FreeBSD.org), exp-run? CC: portmgr@FreeBSD.org Created attachment 221237 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D221237&action= =3Dedit remove USE_GCC=3Dyes for compiler:openmp The source for this PR is build error of multimedia/libopenshot if ImageMag= ick7 option is on and graphics/ImageMagick7 build with OPENMP (USES=3Dcompiler:openmp): ld: error: src/libopenshot.so.0.2.5: undefined reference to Magick::Image::Image(unsigned long, unsigned long, std::__1::basic_string<c= har, std::__1::char_traits<char>, std::__1::allocator<char> > const&, MagickCore::StorageType, void const*) But multimedia/libopenshot build fine if graphics/ImageMagick7 compiled wit= hout OPENMP or with my patch and with OPENMP on. This changes affected 42 ports: archivers/rpm4 - build and run fine (not much tested) archivers/pxz audio/libsoxr biology/cd-hit biology/gcta biology/seqan-apps biology/fasttree biology/hyphy biology/bolt-lmm biology/iqtree biology/ncbi-blast+ biology/stacks biology/star biology/canu biology/pooler cad/calculix-ccx graphics/aaphoto graphics/ImageMagick6 - build and run fine (manual test https://imagemagick.org/script/openmp.php: "convert logo: -resize 200% -ben= ch 40 null:") graphics/colmap graphics/ImageMagick7 - build and run fine (manual test https://imagemagick.org/script/openmp.php: "convert logo: -resize 200% -ben= ch 40 null:") graphics/shotwell graphics/libmypaint - build fine (not much tested, but gimp run and open im= age work fine) graphics/libraw - build fine graphics/mypaint graphics/pfstools graphics/inkscape - build, run open image work fine (not much tested) lang/J math/metis - build fine math/openblas - build fine math/hmat-oss math/ceres-solver math/librsb math/octave-forge-nurbs math/fftw3 - build fine math/tmv math/viennacl math/py-theano multimedia/pHash science/afni security/john sysutils/b2sum sysutils/parafly Added to CC maintainers of all those ports and ask for test those ports, because "compiles !=3D works as intended". Possible is safe to remove compiler:openmp. P.S. There is other PR: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D247753. --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-252379-6497>