This porting board successfully built the ROM file, and there are no memory issues like those in the previous three ports. I’m looking forward to the release of the Prince of Persia 1 Mac version.

kyo2807893292-dev
Recent community posts
It took me over two hours to get to this step—so much hassle, all just to send you this error.
POP2 32X builder report (exit status 1)
--- system
Linux 6.18.58.1-microsoft-standard-WSL2 x86_64
PRETTY_NAME="Ubuntu 26.04.1 LTS"
running in WSL
cpus: 12
/dev/sdd 1007G 8.6G 948G 1% /
Mem: 3.5Gi 499Mi 2.8Gi 304Ki 302Mi 3.0Gi
--- tools
python3: Python 3.14.4
node: v22.22.1
emcc: shared:INFO: (Emscripten: Running sanity checks)
clang: Ubuntu clang version 21.1.8 (6ubuntu1)
cc: cc (Ubuntu 15.2.0-16ubuntu1) 15.2.0
make: GNU Make 4.4.1
sh-elf-gcc: <builder>/tools/report.sh: 9: ~/Downloads/toolchain32x/inst/bin/sh-elf-gcc: not fou
sh-elf-nm: <builder>/tools/report.sh: 9: ~/Downloads/toolchain32x/inst/bin/sh-elf-nm: not foun
m68k-elf-gcc: <builder>/tools/report.sh: 9: ~/Downloads/toolchain32x/inst/bin/m68k-elf-gcc: not f
--- files
iso bytes: 2500657152
dos/PRESETS.DEF present
dos/SNDDRVRS/MADLIB.DRV present
--- steps reached
== Checking requirements
== binutils for sh-elf
== gcc for sh-elf
--- end of the screen output
g++ -fno-PIE -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute
g++ -fno-PIE -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute
g++ -fno-PIE -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute
g++ -fno-PIE -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute
g++ -fno-PIE -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute
g++: fatal error: Killed signal terminated program cc1plus
make[1]: *** [Makefile:1197: gimple-match-8.o] Error 1
make: *** [Makefile:4673: all-gcc] Error 2
--- last lines of the build:
g++ -fno-PIE -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute
g++ -fno-PIE -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute
g++ -fno-PIE -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute
g++ -fno-PIE -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute
g++ -fno-PIE -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute
g++ -fno-PIE -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute
g++ -fno-PIE -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute
g++ -fno-PIE -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute
g++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
make[1]: *** [Makefile:1197: gimple-match-8.o] Error 1
make[1]: *** Waiting for unfinished jobs....
rm gcc.pod
make[1]: Leaving directory '<builder>/tools/compiler/build/gcc-sh-elf/gcc'
make: *** [Makefile:4673: all-gcc] Error 2
(the build folder is kept in tools/compiler/build; send this text)
--- 32X compiler build (errors)
g++: fatal error: Killed signal terminated program cc1plus
make[1]: *** [Makefile:1197: gimple-match-8.o] Error 1
make: *** [Makefile:4673: all-gcc] Error 2
I’ll download the new version and give it a try. Could you also update the memory issue fix for the ports of Prince of Persia: The Sands of Time on the Sega Genesis and Prince of Persia 2: The Shadow and the Flame on the Sega 32X? Otherwise, if I run into the same problem, I’ll have to leave a comment in the respective threads again—way too much hassle!
I encountered the following problem.
POP1 32X builder report (exit status 1)
--- system
Linux 6.18.58.1-microsoft-standard-WSL2 x86_64
PRETTY_NAME="Ubuntu 26.04.1 LTS"
running in WSL
cpus: 12
/dev/sdd 1007G 6.6G 950G 1% /
Mem: 3.5Gi 508Mi 2.8Gi 292Ki 271Mi 3.0Gi
--- tools
python3: Python 3.14.4
cc: cc (Ubuntu 15.2.0-16ubuntu1) 15.2.0
make: GNU Make 4.4.1
sh-elf-gcc: sh-elf-gcc (GCC) 14.2.0
sh-elf-nm: GNU nm (GNU Binutils) 2.43.1
m68k-elf-gcc: <builder>/tools/report.sh: 8: <builder>/tools/compiler/inst/bin/m68k-elf-g
--- files
dos_1.0/LEVELS.DAT present
dos_1.3/MIDISND1.DAT present
--- steps reached
== binutils for sh-elf
== gcc for sh-elf
== binutils for m68k-elf
== gcc for m68k-elf
--- end of the screen output
g++ -fno-PIE -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute
g++ -fno-PIE -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute
g++ -fno-PIE -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute
g++ -fno-PIE -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute
g++ -fno-PIE -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute
g++: fatal error: Killed signal terminated program cc1plus
make[1]: *** [Makefile:1198: gimple-match-7.o] Error 1
make: *** [Makefile:4673: all-gcc] Error 2
--- last lines of the build:
g++ -fno-PIE -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute
g++ -fno-PIE -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute
g++ -fno-PIE -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute
g++ -fno-PIE -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute
g++ -fno-PIE -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute
g++ -fno-PIE -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute
g++ -fno-PIE -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute
g++ -fno-PIE -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute
g++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
make[1]: *** [Makefile:1198: gimple-match-7.o] Error 1
make[1]: *** Waiting for unfinished jobs....
rm gcc.pod
make[1]: Leaving directory '<builder>/tools/compiler/build/gcc-m68k-elf/gcc'
make: *** [Makefile:4673: all-gcc] Error 2
(the build folder is kept in tools/compiler/build; send this text)
--- 32X compiler build (errors)
g++: fatal error: Killed signal terminated program cc1plus
make[1]: *** [Makefile:1198: gimple-match-7.o] Error 1
make: *** [Makefile:4673: all-gcc] Error 2
I have a question—will this affect subsequent operations? I haven’t started yet: == 1/6 The Dreamcast compiler (only the first time: it takes an hour or more)
Downloading KallistiOS...
Compiling gcc for the Dreamcast (downloads about 200 MB; this is the slow part, only once).. During the previous steps, there was a red warning indicating a connection failure. Here’s the message: Failed to get properties: Transport endpoint is not connected
Failed to connect to system scope bus via local transport: Connection refused
I shared the proxy’s network using my phone and gave it a try, but encountered the following issue: with this method, some files may still fail to download, and the error message is:
POP2 Dreamcast builder report (exit status 1)
--- system
Linux 6.18.58.1-microsoft-standard-WSL2 x86_64
PRETTY_NAME="Ubuntu 26.04.1 LTS"
running in WSL
cpus: 12
/dev/sdd 1007G 5.0G 951G 1% /
Mem: 3.5Gi 441Mi 3.0Gi 1.3Mi 204Mi 3.1Gi
--- tools
python3: Python 3.14.4
cc: cc (Ubuntu 15.2.0-16ubuntu1) 15.2.0
c++: c++ (Ubuntu 15.2.0-16ubuntu1) 15.2.0
make: GNU Make 4.4.1
cmake: cmake version 4.2.3
git: git version 2.53.0
ffmpeg: ffmpeg version 8.0.1-3ubuntu2 Copyright (c) 2000-2025 the FFmpeg developers
unar: v1.10.8
sh-elf-gcc: <builder>/tools/report.sh: line 9: <builder>/tools/dc/sh-elf/bin/sh-elf-gcc:
--- files
mac game file: .zip, 25988725 bytes
mac game file: .hfv, 20971520 bytes
dos files: 56, roms files: 7
--- steps reached
== Checking your files
== Installing what is missing
== 1/6 The Dreamcast compiler (only the first time: it takes an hour or more)
--- end of the screen output
g++ -std=gnu++14 -fno-PIE -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-error=nar
g++ -std=gnu++14 -fno-PIE -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-error=nar
g++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
make[3]: *** [Makefile:1209: gimple-match-7.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '<builder>/tools/dc/kos/utils/kos-chain/build-gcc-sh-elf-15.2.0-pass1/gcc'
make[2]: *** [Makefile:4706: all-gcc] Error 2
make[2]: Leaving directory '<builder>/tools/dc/kos/utils/kos-chain/build-gcc-sh-elf-15.2.0-pass1'
make[1]: *** [Makefile:1049: all] Error 2
make[1]: Leaving directory '<builder>/tools/dc/kos/utils/kos-chain/build-gcc-sh-elf-15.2.0-pass1'
make: *** [scripts/gcc-pass1.mk:12: build-gcc-pass1] Error 1
--- Dreamcast compiler build (errors)
*** Makeinfo is missing. Info documentation will not be built.
*** Makeinfo is missing. Info documentation will not be built.
g++: fatal error: Killed signal terminated program cc1plus
make[3]: *** [Makefile:1209: gimple-match-7.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [Makefile:4706: all-gcc] Error 2
make[1]: *** [Makefile:1049: all] Error 2
make: *** [scripts/gcc-pass1.mk:12: build-gcc-pass1] Error 1
--- Dreamcast compiler build (end)
make[3]: Leaving directory '<builder>/tools/dc/kos/utils/kos-chain/build-gcc-sh-elf-15.2.0-pass1/gcc'
make[2]: *** [Makefile:4706: all-gcc] Error 2
make[2]: Leaving directory '<builder>/tools/dc/kos/utils/kos-chain/build-gcc-sh-elf-15.2.0-pass1'
make[1]: *** [Makefile:1049: all] Error 2
make[1]: Leaving directory '<builder>/tools/dc/kos/utils/kos-chain/build-gcc-sh-elf-15.2.0-pass1'
make: *** [scripts/gcc-pass1.mk:12: build-gcc-pass1] Error 1
I’ve tried several times, but the same problem persists. Even when using a proxy to have the builder download the required files, it still fails to download the previously incomplete files. In my country, we can’t directly access these download links; I can only reach this website through a proxy. I haven’t found a reliable proxy on my computer, but the one on my phone can download any file. If you could list all the files the builder needs, I could download them on my phone, transfer them to my computer, and then let the builder load them automatically—this way, there would be no need for the builder to download them itself, avoiding download errors.
The problem still hasn't been solved. The download keeps having issues. You should provide the necessary files for the builder. We have our own DOS and Mac files, and we mainly need the necessary files that are automatically downloaded in the builder. The files that are automatically downloaded in the builder are prone to failure. You should set up a system that allows players to manually add these files, place them in a designated folder, and then let the builder load those files by itself. This is much more useful than the automatic download of the builder, so you don't have to solve the download problem.
With these four ported builders, the issues I’ve encountered are pretty much the same. Could you download all the files required by the builder and place them in a single folder? Then, when you run the builder, just let it load the files from that folder on its own. This way, the builder won’t need to download anything automatically, so you can proceed with building even without an internet connection, and it should also help avoid further problems. What do you think of this approach?
Could the process of building game files be made simpler? It takes a very long time, and it would be great if we could quickly and easily generate ROM files. Of the games you’ve ported, only your first release—Prince of Persia 2 for the Sega 32X—is actually playable; the other four follow the same build procedure. I spent four hours trying to build them, but none of them succeeded. Either simplify the build process, or just release the game files directly (and if you’re worried about copyright, as long as these ports aren’t used for profit and remain completely free, there shouldn’t be much of a problem—after all, they are very old games).
I encountered an error during installation, and I’m not sure what’s causing it. The installation process is too cumbersome and takes quite a long time. I think it might be better to just release the game files directly. Here’s the error message—could you take a look?
POP2 Dreamcast builder report (exit status 1)
--- system
Linux 6.18.40.1-microsoft-standard-WSL2 x86_64
PRETTY_NAME="Ubuntu 26.04.1 LTS"
running in WSL
cpus: 12
/dev/sde 1007G 4.1G 952G 1% /
Mem: 3.5Gi 714Mi 2.1Gi 4.8Mi 791Mi 2.8Gi
--- tools
python3: Python 3.14.4
cc: cc (Ubuntu 15.2.0-16ubuntu1) 15.2.0
c++: c++ (Ubuntu 15.2.0-16ubuntu1) 15.2.0
make: GNU Make 4.4.1
cmake: cmake version 4.2.3
git: git version 2.53.0
ffmpeg: ffmpeg version 8.0.1-3ubuntu2 Copyright (c) 2000-2025 the FFmpeg developers
unar: v1.10.8
sh-elf-gcc: <builder>/tools/report.sh: line 9: <builder>/tools/dc/sh-elf/bin/sh-elf-gcc:
--- files
mac game file: .hfv, 20971520 bytes
mac game file: .sit, 7716607 bytes
dos files: 56, roms files: 7
--- steps reached
== Checking your files
== Installing what is missing
== 1/6 The Dreamcast compiler (only the first time: it takes an hour or more)
--- end of the screen output
gcc-15.2.0/gettext-0.22/build-aux/config.sub
gcc-15.2.0/gettext-0.22/libtextstyle/build-aux/config.sub
+++ Extracting newlib-4.6.0.20260123.tar.gz...
rm -rf newlib-4.6.0.20260123
tar xf newlib-4.6.0.20260123.tar.gz
gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
make: *** [scripts/download.mk:105: newlib-4.6.0.20260123/newlib_download.stamp] Error 2
--- Dreamcast compiler build (errors)
make: *** [scripts/download.mk:105: newlib-4.6.0.20260123/newlib_download.stamp] Error 2
--- Dreamcast compiler build (end)
gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
make: *** [scripts/download.mk:105: newlib-4.6.0.20260123/newlib_download.stamp] Error 2