Add patches to a few ports to build with ruby 3.0, mostly -fdeclspec to
CFLAGS or CXXFLAGS.
Bump ports where the default version change causes a package change.
OK kmos@
Remove comment about keeping version in sync with www/h2o, since the
embedded version in www/h20,mruby is unrelated to lang/mruby.
www/h20,mruby analysis from gkoehler@
It broke when ld.lld became the default powerpc linker. USE_LLD = No
is the same workaround as in gcc 8. Add a comment to both 8 and 11,
# powerpc lld can't link C++ code from gcc, "ld: error: relocation
# refers to a discarded section:" .data.rel.ro.* or
# .sdata.DW.ref.__gxx_personality_v0
USE_LLD = No
ok pascal@ (maintainer)
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@
It still has problems on sparc64 and mips64, but we can continue to work on it
in-tree.
Thanks to bcallah@, we now have experimental support for the D language.
ok daniel@
Use _setjmp by default to use the setjmp xor cookie.
This was already done for powerpc and powerpc64 to work around a
segfault, but it seems to be a good practice on all arches.
ok gkoehler@
clang-11's __builtin_setjmp is broken, has chance of SIGSEGV during
"make build" on powerpc with ld.lld, or when passing a wrong option
(like "ruby -e" with no -e code) on powerpc64.
ok jeremy@ (maintainer)
Starting from 11.1, GCC will require a C++11 compiler. This is a problem on
architectures still stuck on GCC 4.2.1 in base, so here's a minimal bootstrap
compiler consisting only of gcc, g++ and a static libestdc++, installed under
a different prefix.
comments/ok sthen@