In file included from /wrkdirs/usr/ports/lang/swift/work/swift-3.1.1/swift/lib/SILGen/SILGenProfiling.cpp:13:
In file included from /wrkdirs/usr/ports/lang/swift/work/swift-3.1.1/swift/lib/SILGen/SILGenProfiling.h:16:
In file included from /wrkdirs/usr/ports/lang/swift/work/swift-3.1.1/llvm/include/llvm/ADT/DenseMap.h:17:
In file included from /wrkdirs/usr/ports/lang/swift/work/swift-3.1.1/llvm/include/llvm/ADT/DenseMapInfo.h:17:
In file included from /wrkdirs/usr/ports/lang/swift/work/swift-3.1.1/llvm/include/llvm/ADT/ArrayRef.h:13:
In file included from /wrkdirs/usr/ports/lang/swift/work/swift-3.1.1/llvm/include/llvm/ADT/Hashing.h:48:
In file included from /wrkdirs/usr/ports/lang/swift/work/swift-3.1.1/build/Ninja-ReleaseAssert+stdlib-Release/llvm-freebsd-x86_64/include/llvm/Support/DataTypes.h:33:
In file included from /usr/include/c++/v1/cmath:305:
In file included from /usr/include/c++/v1/math.h:309:
/usr/include/c++/v1/type_traits:1366:38: error: incomplete type 'swift::Expr' used in type trait expression
: public integral_constant<bool, __is_abstract(_Tp)> {};
^
Reported by: pkg-fallout
Simplify some ports where DragonFlyBSD no longer needs to be special-cased.
Submitted by: rene
Reviewed by: bapt, jbeich
Differential Revision: https://reviews.freebsd.org/D17724
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from
GCC 5.4 to GCC 6.4 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang,
c++14-lang, c++0x, c11, or gcc-c++11-lib.
PR: 219275
This fixes build issues [1] and makes swiftc work [2]. But swiftpm is still not
working, hopefully soon.
PR: 210284 [1]
PR: 210386 [2]
Reported by: Lacey Powers <lacey.leanne@gmail.com> [1]
Reported by: Tom Pusateri <pusateri@bangj.com> [2]
- Clean up the Makefile.
- Follow some upstream recommendations (--with-data-packaging=archive,
--disable-renaming, -DICU_NO_USER_DATA_OVERRIDE).
- Patch makefiles to install static libraries with INSTALL_DATA so they
aren't stripped.
- Patch config/mh-bsd-gcc to sync with config/mh-linux-gcc.
- Fix endianness detection in ICU. The code wanted to use BYTE_ORDER
defined in machine/endian.h, but this isn't visible because ICU is
compiled with _XOPEN_SOURCE. Patch the code to use _BYTE_ORDER instead.
- Compile ICU with C++11 compiler to enable move constructors.
- Patch ICU to fix a problem with atomics in the case of a C++11 compiler
without C++11 header <atomic> (like Clang on FreeBSD 9).
- Bump all ports that depend on it due to library version change.
- Add USES=compiler:c++0x to some ports that pick up -std=c++0x from ICU
pkgconfig files.
- Add USES=compiler:c++11-lib to graphics/libcdr01 because it also needs
a C++11 runtime library now. Add this to all ports that depend on it
so their executables load the right libstdc++.so on FreeBSD 9.
PR: 205120
Exp-run by: antoine
Approved by: portmgr (antoine)