Closed alexalkis closed 1 year ago
something broke during upgrade to 2.38
the branch amiga-2.35.2
is ok
Hmmm, saw that
commit 1ac3457fac45d69fa2b7c28987557ad2a6b4232e (HEAD -> master, origin/master, origin/devel1, origin/HEAD)
Author: bebbo <bebbo@bejy.net>
Date: Sat Jan 14 11:25:57 2023 +0100
binutils now uses the amiga-2.35.2 as default
and cleaned and rebuild. Still crashes. Do I have to invoke in a certain way on building the toolchain?
update the repo and use make branch mod=... branch=...
git pull
make branch mod=binutils branch=amiga-2.35.2
It is already working but refreshes all modules... the change should be live soon, or use this:
pushd projects/binutils
git fetch origin amiga-2.35.2:amiga-2.35.2
git checkout amiga-2.35.2
git branch --set-upstream-to=origin/amiga-2.35.2 amiga-2.35.2
popd
plus update the .repos file manually.
DANG! I found the cause: the binutils switched the sizes from size=2**x
to size=x
, thus 0->1, 1->2, 2->4. So I have to apply this to the Amiga code ...
The main branch amiga
with binutils 2.39.0 is working again.
Please test.
You can switch back applying:
make branch mod=binutils branch=amiga
yeap. everything seems to work. thanks.
i/o seems to be very slow with libnix. Also, -m68020 bombs a project. I'll try to make a test case and open a new issue or two.
Compile with: m68k-amigaos-gcc -s -noixemul -Os -o testcp testcp.c This crashes. I've narrowed down (from a big program) to CreatePort and this is a minimal source code.
The above does not crash with SAS/C.