Date: Sun, 01 Jan 2017 15:37:56 -0500 From: Stari Karp <starikarp@yandex.com> To: Jan Beich <jbeich@freebsd.org>, hrs@FreeBSD.org Cc: ports@freebsd.org Subject: Re: libwraster Message-ID: <1483303076.12233.2.camel@yandex.com> In-Reply-To: <20170101195127.6C0CB3FBF@freefall.freebsd.org> References: <20170101195127.6C0CB3FBF@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 2017-01-01 at 19:51 +0000, Jan Beich wrote: > Hiroki Sato <hrs@FreeBSD.org> writes: > > > > > I did not able to reproduce it even if ImageMagick was built with > > the > > OpenMP option. I guess your environment has another issue which > > pulls -lomp into the build process. > Clang >= 3.7 no longer ignores -fopenmp which now requires libomp.so > from devel/openmp (for base compiler) or devel/llvm* built with > OPENMP=on. > > For example: > 1. Use FreeBSD >= 11.0 > 2. Install graphics/ImageMagick with OPENMP=on > 3. Deinstall devel/openmp (just in case) > 4. Build the port with default compiler > > The obvious fix is teach ImageMagick to not pollute namespace as > nothing > in its public API uses #pragma omp or omp_ symbols. I did as you wrote above I have the same error which I posted first time. And default clang is: clang -v FreeBSD clang version 3.8.0 (tags/RELEASE_380/final 262564) (based on LLVM 3.8.0) Target: x86_64-unknown-freebsd11.0 Thread model: posix InstalledDir: /usr/bin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1483303076.12233.2.camel>