Date: Thu, 29 Jun 2017 12:47:10 +0200 From: Dimitry Andric <dim@FreeBSD.org> To: Mark Millard <markmi@dsl-only.net> Cc: Justin Hibbits <jhibbits@FreeBSD.org>, FreeBSD Toolchain <freebsd-toolchain@freebsd.org>, FreeBSD PowerPC ML <freebsd-ppc@freebsd.org>, FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: head -r320458 (e.g.) amd64 -> powerpc (32-bit) cross-buildworld fails for time libc++ static_asserts and overflow/underflow of long long (system clang/clang++ 4 based build) Message-ID: <55A1694D-BC40-49AE-BEF7-CEE502126E96@FreeBSD.org> In-Reply-To: <AFCE7DA0-E8D2-4FC7-9E2F-78011E54F1A0@dsl-only.net> References: <D8AB364D-9E4B-470A-A858-842E73530C3B@dsl-only.net> <5B12D9A6-C9A2-4B0D-B32D-D04D7DB1E3BC@dsl-only.net> <AFCE7DA0-E8D2-4FC7-9E2F-78011E54F1A0@dsl-only.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_A202DD99-D88D-4954-9D60-71CF9D49724A Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii On 29 Jun 2017, at 12:04, Mark Millard <markmi@dsl-only.net> wrote: > > [The libc++ code in question appears to not be ready for > 32-bit contexts with 64 bit times. Disable > experimental/filesystem for now? I've submitted > llvm bugzilla 33638 for the issue and have > added it to llvm's 25780, the FreeBSD META for > clang.] Yes, this also broke earlier on arm and mips, which is why there is the following in lib/Makefile: .if ${MACHINE_CPUARCH} != "arm" && ${MACHINE_CPUARCH} != "mips" _libcplusplus+= libc++experimental .endif I haven't yet found the time to address this issue. Upstream should already be aware of it, though. One nasty problem with this is that it is not possible to figure out at compile time what the size of time_t is. You always need some sort of configure-time test, and an external define. -Dimitry --Apple-Mail=_A202DD99-D88D-4954-9D60-71CF9D49724A Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.30 iEYEARECAAYFAllU2rsACgkQsF6jCi4glqNamACfRXH3Q0QNcEPOzK2H7KCmwgLz oAoAnRy1xkn/1oXK7qgTm5Lx8a6r7Tqt =+cuF -----END PGP SIGNATURE----- --Apple-Mail=_A202DD99-D88D-4954-9D60-71CF9D49724A--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55A1694D-BC40-49AE-BEF7-CEE502126E96>