Hi, This patch add hppa-*-linux* as a supported target for libphobos.
This is has been done based off early testing done back in GCC-9 development by John, and recent testing inside a QEMU container. The hppa64-*-* target has been left out due to thread local storage being completely unusable on the target (PR94758). Testsuite summaries from a native hppa D compiler running inside a QEMU/Docker container: ----------- === libphobos tests === FAIL: libphobos.allocations/tls_gc_integration.d execution test FAIL: libphobos.thread/tlsgc_sections.d execution test === libphobos Summary === # of expected passes 63 # of unexpected failures 2 # of unsupported tests 1 === gdc tests === WARNING: compilable/test15019.d -O2 (test for excess errors) program timed out. FAIL: compilable/test15019.d -O2 output-exists test15019.o WARNING: compilable/test15019.d -O2 -frelease (test for excess errors) program timed out. FAIL: compilable/test15019.d -O2 -frelease output-exists test15019.o WARNING: compilable/test15019.d -O2 -g (test for excess errors) program timed out. FAIL: compilable/test15019.d -O2 -g output-exists test15019.o WARNING: compilable/test15019.d -O2 -frelease -g (test for excess errors) program timed out. FAIL: compilable/test15019.d -O2 -frelease -g output-exists test15019.o === gdc Summary === # of expected passes 21210 # of unexpected failures 4 # of unsupported tests 120 /build/gcc/gdc version 10.0.1 20200426 (experimental) (GCC) ----------- Tested on an emulated hppa-linux-gnu target, committed to mainline. Regards Iain. --- libphobos/ChangeLog: 2020-04-27 Iain Buclaw <ibuc...@gdcproject.org> * configure.tgt: Add hppa-*-linux* as a supported target. --- libphobos/configure.tgt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libphobos/configure.tgt b/libphobos/configure.tgt index ce4cc1f7527..94e42bf5509 100644 --- a/libphobos/configure.tgt +++ b/libphobos/configure.tgt @@ -30,6 +30,9 @@ case "${target}" in arm*-*-linux*) LIBPHOBOS_SUPPORTED=yes ;; + hppa-*-linux*) + LIBPHOBOS_SUPPORTED=yes + ;; mips*-*-linux*) LIBPHOBOS_SUPPORTED=yes ;; -- 2.20.1