Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Nov 2019 03:43:11 +0100
From:      Piotr Kubaj <pkubaj@anongoth.pl>
To:        Jan Beich <jbeich@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:  <20191130024311.GB80838@KGPE-D16>
In-Reply-To: <pnha-p90j-wny@FreeBSD.org>
References:  <201911292224.xATMOj7x083447@repo.freebsd.org> <pnha-p90j-wny@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--KFztAG8eRSV9hGtP
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Should be fixed in r518698.

On 19-11-30 00:17:48, Jan Beich wrote:
> Piotr Kubaj <pkubaj@FreeBSD.org> writes:
>=20
> > 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
> >  =20
> >   Use USES=3Dcompiler:openmp instead of hard dependency on ports LLVM. =
Use new GCC when using base GCC.
>=20
> - USES=3Dcompiler: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]
>=20
> $ 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 =3D> /usr/local/lib/gcc9/libstdc++.so.6 (0x801b970=
00)
>         libc++.so.1 =3D> /usr/lib/libc++.so.1 (0x8023f5000)
>=20
> [1] https://wiki.freebsd.org/NewC++Stack#Mixing_Libraries_using_Libc.2B-.=
2B-_and_Libstdc.2B-.2B-
>     https://svnweb.freebsd.org/changeset/base/233749

--KFztAG8eRSV9hGtP
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEycyIeNkkgohzsoorelmbhSCDnJ0FAl3h1z8ACgkQelmbhSCD
nJ1C7xAAuItWC2/1q89daISUFNuYdWuZFC8qsCFUSLt/vWTvEfWgpyIWBKxIXITj
VThfKOp5nxIC4WEqO8HxcjRMg4lLuIKqknZZ+ohMVpkw4whBoHry1BKcU5ZaRYKw
jGY58zzGvqavBELZL62GSGxDh272O2cwdJQ/unJclNlfs4jSoN7b73nINwz3Mfax
AQzZzt7nZ8YJYY43LzJvhHn3SvA7QUeIsYSj6sRoBat0Ozg+9dzEW8b0ugutKbvX
5v5v+ASnZ2uMFfIILvKL006ztwYdfcNS2ZHhx7dukfSZB8MMjXNvoPHrWJ9IkNlS
DHZjpJRlmrQbLTyxrRyh8g5HOTnkUKv0HJibYkU6xnKUTqWFvZJKiKBbeb+uymB0
uqAU0QKPcyibqxylSS28B9bNFAm36kQoEMfJOSK3stz2LKSMqhy+CjN3JylE9BTi
O8vDqkHdkSy1U3QKy4AJ+MUCs2mioKb4+n/efQyMZOGr5achHdk50jKoDwoRRGXb
jBiZ2iR1fRBJRcxCi6Q0B37pqG7vCwZOVj9AP6KbzNEgqqI/PN0YzlpSRj8SAAnA
a2pV5eWUaCSBsIM6dF1JrRcbllMe5okWOiYMeiYsUh/umPX9A2dJM3EYRtY0V1yN
2RpzMBCKflvrue9s9ZvAuKJvpNaER20ovrTJ0QyLVtKtVXgIHTE=
=dEt2
-----END PGP SIGNATURE-----

--KFztAG8eRSV9hGtP--



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