Add powerpc to LLD_ARCH, and bump _SYSTEM_VERSION-powerpc so people
will upgrade to lld-linked packages when they exist. Remove
-Wl,--relax from several ports; ld.bfd needed this flag, but ld.lld
can't take it.
lang/gcc/8 needs USE_LLD = No, because LLD can't link C++ code from
gcc (error: relocation refers to a discarded section: ...), and also,
the adastrap is too old.
To avoid linker errors on macppc, you need a snapshot where
/usr/bin/ld is LLD.
ok sthen@
ccc-analyzer hardcodes gcc/g++ as default compiler name on non-Darwin
platforms. This doesn't work so well if no gcc/g++ is available as has
been the case on amd64 (and all other platforms where gcc was deleted).
ok jca
if a port needs 2.x then set MODPY_VERSION=${MODPY_DEFAULT_VERSION_2}.
This commit doesn't change any versions currently used; it may be that
some ports have MODPY_DEFAULT_VERSION_2 but don't require it, those
should be cleaned up in the course of updating ports where possible.
Python module ports providing py3-* packages should still use
FLAVOR=python3 so that we don't have a mixture of dependencies some
using ${MODPY_FLAVOR} and others not.
libclang.so is used by other ports and the update to llvm 10 warranted
a minor bump. I haven't checked liblldb.so and libLTO.so, I bumped
their major version just in case but they aren't used in the ports tree.
Thanks to kn@ who provided an old libclang.so for comparison.
- like base-clang, change the default i386 target cpu to i586.
Same diff from Brad
- fix a crash exposed by net/libtorrent-rasterbar. Fix already present
in 10.0.1, analyze and diff from Nam Nguyen
- some lldb-related files snuck in the 10.0.0 PLIST-main changes, move
them to PLIST-lldb as appropriate. Reported by daniel@
libpython2.7 could be picked up even though the python3 interpreter was
detected and used. This lead to a funny line in configure output:
-- Found PythonLibs: /usr/local/lib/libpython2.7.so.0.0 (found version "3.7.7")
Let cmake pick a library version that matches the python interpreter
instead of declaring a preference for 2.7.
Build failure reported by naddy@
Mips: Use a distinct trapcode with retguard on mips64.
PowerPC:
- Set max atomic size for AtomicExpandPass.
- For OpenBSD/powerpc64: switch to ELFv2, use _mcount profiling, and
add our OpenBSD specific defines.
- Optimize away the frame pointer.
ok jca@ (maintainer), cwen@
- fix small pic for secure-plt mode (from kettenis@)
- modify LLVM's DAGCombiner to skip an optimization if it
would make an illegal ISD::ADDE node, fixing a fatal backend error
(from gkoehler@ with help from mortimer@)
OK jca@ (maintainer)
While here:
- adjust python scripts shebang lines
- also byte-compile the .py files in the lldb subpackage. One file
needs a brute-force conversion using 2to3
Tested in a bulk by ajacoutot@, prompted by and ok kn@
The installed headers don't need it, except for a testsuite header not
used by the ecosystem.
Also drop two outdated PLIST lines from back when llvm tried to install
libgtest.a
Spotted while discussing the deps of the various subpackages with kn@
Tested in a bulk by ajacoutot@, ok kn@
- don't install six.py, turns out there's a cmake config knob for that
- drop misplaced, @commented out header
- add @so and @static-lib markers
Don't use DEBUG_PACKAGES for now, as the size increase of ${WRKBUILD} is
huge. I tried to use -gline-tables-only (I think?) as advised by kmos@
but the size of the resulting non-debug packages increased. To be
revisited...