gcc/libgcc
Thomas Schwinge 54ab0f6785 GCN, nvptx: Define '_Unwind_RaiseException', '_Unwind_Resume_or_Rethrow'
This resolves GCN:

    ld: error: undefined symbol: _Unwind_RaiseException
    >>> referenced by eh_throw.cc:93 ([...]/source-gcc/libstdc++-v3/libsupc++/eh_throw.cc:93)
    >>>               eh_throw.o:(__cxa_throw) in archive /srv/data/tschwinge/amd-instinct2/gcc/build/submit-light-target_gcn/build-gcc/amdgcn-amdhsa/gfx908/libstdc++-v3/src/.libs/libstdc++.a
    [...]
    collect2: error: ld returned 1 exit status

..., and/or:

    ld: error: undefined symbol: _Unwind_Resume_or_Rethrow
    >>> referenced by eh_throw.cc:129 ([...]/source-gcc/libstdc++-v3/libsupc++/eh_throw.cc:129)
    >>>               eh_throw.o:(__cxa_rethrow) in archive /srv/data/tschwinge/amd-instinct2/gcc/build/submit-light-target_gcn/build-gcc/amdgcn-amdhsa/gfx908/libstdc++-v3/src/.libs/libstdc++.a
    [...]
    collect2: error: ld returned 1 exit status

..., and nvptx:

    unresolved symbol _Unwind_RaiseException
    collect2: error: ld returned 1 exit status

..., or:

    unresolved symbol _Unwind_Resume_or_Rethrow
    collect2: error: ld returned 1 exit status

For both GCN, nvptx, this each progresses ~25 'check-gcc-c++',
and ~10 'check-target-libstdc++-v3' test cases:

    [-FAIL:-]{+PASS:+} [...] (test for excess errors)

..., with (if applicable, for most of them):

    [-UNRESOLVED:-]{+PASS:+} [...] [-compilation failed to produce executable-]{+execution test+}

..., or some 'FAIL: [...] execution test' where these test cases now FAIL when
attempting to use these interfaces, or, if applicable, FAIL due to run-time
'GCC/nvptx: sorry, unimplemented: dynamic stack allocation not supported'.

	libgcc/
	* config/gcn/unwind-gcn.c (_Unwind_RaiseException)
	(_Unwind_Resume_or_Rethrow): New.
	* config/nvptx/unwind-nvptx.c (_Unwind_RaiseException)
	(_Unwind_Resume_or_Rethrow): Likewise.
2025-04-08 12:17:02 +02:00
..
config GCN, nvptx: Define '_Unwind_RaiseException', '_Unwind_Resume_or_Rethrow' 2025-04-08 12:17:02 +02:00
soft-fp [RISC-V] Add support for _Bfloat16 2024-05-06 15:39:12 -06:00
ChangeLog Daily bump. 2025-04-08 00:17:33 +00:00
config.host libgcc: On FreeBSD use GCC's crt objects for static linking 2025-02-08 17:36:36 +01:00
config.in Remove obsolete Solaris 11.3 support 2024-05-07 10:45:55 +02:00
configure openmp: Add crtoffloadtableS.o and use it [PR117851] 2024-11-30 11:19:12 +01:00
configure.ac openmp: Add crtoffloadtableS.o and use it [PR117851] 2024-11-30 11:19:12 +01:00
crtstuff.c Update copyright years. 2025-01-02 11:59:57 +01:00
dfp-bit.c Update copyright years. 2025-01-02 11:59:57 +01:00
dfp-bit.h Update copyright years. 2025-01-02 11:59:57 +01:00
divmod.c Update copyright years. 2025-01-02 11:59:57 +01:00
emutls.c Update copyright years. 2025-01-02 11:59:57 +01:00
enable-execute-stack-empty.c
enable-execute-stack-mprotect.c Update copyright years. 2025-01-02 11:59:57 +01:00
find-symver.awk Update copyright years. 2025-01-02 11:59:57 +01:00
fixed-bit.c Update copyright years. 2025-01-02 11:59:57 +01:00
fixed-bit.h Update copyright years. 2025-01-02 11:59:57 +01:00
fixed-obj.mk
floatunsidf.c
floatunsisf.c
floatunsitf.c
floatunsixf.c
fp-bit.c Update copyright years. 2025-01-02 11:59:57 +01:00
fp-bit.h Update copyright years. 2025-01-02 11:59:57 +01:00
gbl-ctors.h Update copyright years. 2025-01-02 11:59:57 +01:00
gcov.h Update copyright years. 2025-01-02 11:59:57 +01:00
gen-fixed.sh
generic-morestack-thread.c Update copyright years. 2025-01-02 11:59:57 +01:00
generic-morestack.c Update copyright years. 2025-01-02 11:59:57 +01:00
generic-morestack.h Update copyright years. 2025-01-02 11:59:57 +01:00
gstdint.h
gthr-posix.h Update copyright years. 2025-01-02 11:59:57 +01:00
gthr-single.h Update copyright years. 2025-01-02 11:59:57 +01:00
gthr.h Update copyright years. 2025-01-02 11:59:57 +01:00
hardcfr.c Update copyright years. 2025-01-02 11:59:57 +01:00
libgcc-std.ver.in Update copyright years. 2025-01-02 11:59:57 +01:00
libgcc2.c Update copyright years. 2025-01-02 11:59:57 +01:00
libgcc2.h Update copyright years. 2025-01-02 11:59:57 +01:00
libgcov-driver-system.c Update copyright years. 2025-01-02 11:59:57 +01:00
libgcov-driver.c Update copyright years. 2025-01-02 11:59:57 +01:00
libgcov-interface.c Update copyright years. 2025-01-02 11:59:57 +01:00
libgcov-merge.c Update copyright years. 2025-01-02 11:59:57 +01:00
libgcov-profiler.c Update copyright years. 2025-01-02 11:59:57 +01:00
libgcov-util.c Update copyright years. 2025-01-02 11:59:57 +01:00
libgcov.h Update copyright years. 2025-01-02 11:59:57 +01:00
Makefile.in Update copyright years. 2025-01-02 11:59:57 +01:00
memcmp.c
memcpy.c
memmove.c
memset.c
mkheader.sh Update copyright years. 2025-01-02 11:59:57 +01:00
mkmap-flat.awk Update copyright years. 2025-01-02 11:59:57 +01:00
mkmap-symver.awk Update copyright years. 2025-01-02 11:59:57 +01:00
offloadstuff.c Update copyright years. 2025-01-02 11:59:57 +01:00
shared-object.mk
siditi-object.mk
static-object.mk
strub.c Update copyright years. 2025-01-02 11:59:57 +01:00
sync.c Update copyright years. 2025-01-02 11:59:57 +01:00
udivhi3.c Update copyright years. 2025-01-02 11:59:57 +01:00
udivmod.c Update copyright years. 2025-01-02 11:59:57 +01:00
udivmodhi4.c Update copyright years. 2025-01-02 11:59:57 +01:00
udivmodsi4.c Update copyright years. 2025-01-02 11:59:57 +01:00
unwind-arm-common.inc Update copyright years. 2025-01-02 11:59:57 +01:00
unwind-c.c Update copyright years. 2025-01-02 11:59:57 +01:00
unwind-compat.c Update copyright years. 2025-01-02 11:59:57 +01:00
unwind-compat.h Update copyright years. 2025-01-02 11:59:57 +01:00
unwind-dw2-btree.h libgcc: Fix up unwind-dw2-btree.h [PR119151] 2025-03-10 10:35:29 +01:00
unwind-dw2-execute_cfa.h Update copyright years. 2025-01-02 11:59:57 +01:00
unwind-dw2-fde-compat.c Update copyright years. 2025-01-02 11:59:57 +01:00
unwind-dw2-fde-dip.c Update copyright years. 2025-01-02 11:59:57 +01:00
unwind-dw2-fde.c Update copyright years. 2025-01-02 11:59:57 +01:00
unwind-dw2-fde.h Update copyright years. 2025-01-02 11:59:57 +01:00
unwind-dw2.c Update copyright years. 2025-01-02 11:59:57 +01:00
unwind-dw2.h Update copyright years. 2025-01-02 11:59:57 +01:00
unwind-generic.h Update copyright years. 2025-01-02 11:59:57 +01:00
unwind-pe.h Update copyright years. 2025-01-02 11:59:57 +01:00
unwind-seh.c Update copyright years. 2025-01-02 11:59:57 +01:00
unwind-sjlj.c Update copyright years. 2025-01-02 11:59:57 +01:00
unwind.inc Update copyright years. 2025-01-02 11:59:57 +01:00
vtv_end.c Update copyright years. 2025-01-02 11:59:57 +01:00
vtv_end_preinit.c Update copyright years. 2025-01-02 11:59:57 +01:00
vtv_start.c Update copyright years. 2025-01-02 11:59:57 +01:00
vtv_start_preinit.c Update copyright years. 2025-01-02 11:59:57 +01:00