C functions have been modified to use same-size types on both sides.
There are no checks in gcc to make sure the types match, and it happily
trashes the stack or reads bogus data without this fix.
The C shim in gnatlib is still casting down to long (by design), thus
gnat is not 2038-proof on 32 bit architectures. Fixing this is an
ongoing project, but I'm running out of time for this release.
Getting the timezone offset is now supported; the unused usleep
procedure that snuck in from FreeBSD support got removed.
Tested on all supported architectures, plus new bootstraps due to the
stack trashing, just in case...
Conceptually fine with brad@
deraadt@ is unhappy with the partial solution, fixing this remains a
high priority todo
enable it through symlinks in ${WRKDIR}/bin/, which were effectively
overriden by gcc4.port.mk or clang.port.mk - thus lying that ccache was
used while it was not.
Still investigating for a good solution to actually enable ccache support
for non-base compilers.
okay juanfra@, sthen@
intermittent build problems. Exception style affects Ada only.
* Add better tasking support and sync OpenBSD specific changes from 4.8.
* Call __errno() from librthread when using pthreads (Tero Koskinen)
* Enable shared library support for OpenBSD (Tero Koskinen)
bulk tested by landry@ and sthen@
ok pascal@
sorry for the delay guys
build tools. Split compiling and linking/binding into two parts and add
some ls in between to spot the disappearing object file...
Reverts previous attempt running gnatmake with -j1 which turned out to
be insufficient.
ok pascal@ sthen@
(-foptimize-sibling-calls and -freorder-blocks) cause segfaults during build,
so don't include them in -O2 on hppa. Also, -go is not supported.
requested by and ok brad@ and tested on one of his machines
liblto_plugin.so:
/usr/bin/ld: not enough GOT space for local GOT entries
/usr/bin/ld: BFD 2.15 internal error, aborting at
/usr/src/gnu/usr.bin/binutils/bfd/elfxx-mips.c line 6483 in _bfd_mips_elf_relocate_section
with/tested by jasper@