|
From: kosmirror <kos...@us...> - 2025-08-08 21:08:58
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "A pseudo Operating System for the Dreamcast.".
The branch, master has been updated
via 92a3b3595f7e66494fedbf55dad9dea281aeb29c (commit)
from 09aed298cbfbc1e2a9ab88342f17b44cd9893510 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 92a3b3595f7e66494fedbf55dad9dea281aeb29c
Author: Paul Cercueil <pa...@cr...>
Date: Fri Aug 8 16:35:13 2025 +0200
dc-chain: Remove fake KOS objects from libgcc after build
This should not be necessary and I don't understand why we need this;
the symbols inside fake-kos.o are all weak, and should all be replaced
by symbols provided by libkallisti.a. Alas, this does not seem to work
reliably, and cause crashes and issues that are hard to debug.
Address these issues by just dropping the fake-kos.o object from the
libgcc.a archive.
Signed-off-by: Paul Cercueil <pa...@cr...>
-----------------------------------------------------------------------
Summary of changes:
utils/dc-chain/scripts/gcc-pass2.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/utils/dc-chain/scripts/gcc-pass2.mk b/utils/dc-chain/scripts/gcc-pass2.mk
index 644eb665..f4096fea 100644
--- a/utils/dc-chain/scripts/gcc-pass2.mk
+++ b/utils/dc-chain/scripts/gcc-pass2.mk
@@ -32,4 +32,5 @@ ifdef enable_ada
endif
endif
$(MAKE) -C $(build) $(install_mode) DESTDIR=$(DESTDIR) $(to_log)
+ $(target)-gcc-ar d $(shell $(target)-gcc -print-file-name=libgcc.a) fake-kos.o
$(clean_up)
hooks/post-receive
--
A pseudo Operating System for the Dreamcast.
|