Date: Sat, 30 Nov 2019 00:17:48 +0100 From: Jan Beich <jbeich@FreeBSD.org> To: Piotr Kubaj <pkubaj@FreeBSD.org> Cc: Yuri Victorovich <yuri@FreeBSD.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r518679 - in head/devel/dmlc-core: . files Message-ID: <pnha-p90j-wny@FreeBSD.org> In-Reply-To: <201911292224.xATMOj7x083447@repo.freebsd.org> (Piotr Kubaj's message of "Fri, 29 Nov 2019 22:24:45 %2B0000 (UTC)") References: <201911292224.xATMOj7x083447@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Piotr Kubaj <pkubaj@FreeBSD.org> writes: > Author: pkubaj > Date: Fri Nov 29 22:24:45 2019 > New Revision: 518679 > URL: https://svnweb.freebsd.org/changeset/ports/518679 > > Log: > devel/dmlc-core: fix build on GCC architectures > > Use USES=compiler:openmp instead of hard dependency on ports LLVM. Use new GCC when using base GCC. - USES=compiler:openmp currently forces GCC. See also bug 210337. - GCC uses libstdc++ which cannot be used together with libc++ due to a conflict between libsupc++ and libcxxrt [1] $ echo 'int main() {}' >a.c $ cc a.c -L/usr/local/lib -ldmlc -ltvm $ ./a.out Segmentation fault $ ldd a.out | fgrep c++ libstdc++.so.6 => /usr/local/lib/gcc9/libstdc++.so.6 (0x801b97000) libc++.so.1 => /usr/lib/libc++.so.1 (0x8023f5000) [1] https://wiki.freebsd.org/NewC++Stack#Mixing_Libraries_using_Libc.2B-.2B-_and_Libstdc.2B-.2B- https://svnweb.freebsd.org/changeset/base/233749
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?pnha-p90j-wny>