Files
mars_nwe_pcab/clients/retro-browser/macclassic/RETRO68-VALIDATION.md

2.8 KiB
Raw Blame History

Validation of /usr/src/Retro68 — 2026-11-29

The supplied directory is Retro68, not Retro86. It is an unmodified checkout at a4a389c41e (2026-11-10). No separate local patches or additional approach archive was found in its root. The multiversal submodule is not initialized; this did not block the targeted host/universal-runtime validation below.

Read .agents/skills/retro68-build-and-switch-interfaces/SKILL.md and followed its isolated build and universal-interface runtime-rebuild guidance. The existing toolchain's libInterface.a points to universal/lib68k/libInterface.a. No global interface switch or toolchain replacement was performed.

Tests actually executed

  1. Built ConvertObj plus ResourceFiles from the supplied source: PASS.
  2. Converted OpenTransport, OpenTransportApp, OpenTptInet and LibraryManager with this freshly built executable: all four assembly outputs are byte-for-byte identical to the previous converter's outputs.
  3. Built libretrocrt from supplied sources against the Apple Universal Interfaces: PASS (compiler warnings, no compile failure).
  4. Linked minimal main with the existing runtime: PASS.
  5. Linked minimal main with the rebuilt runtime: PASS.
  6. Configured and built the actual MARS 68k browser in a separate directory, with -L selecting the rebuilt runtime: FAIL at final link, with exactly the same set of 20 unresolved symbols as the previous build.

The unresolved set is A5Init, A5Size, Control, L1258.__cache_count, L1260.__cache_key, L1679.__gSavedClient, L1681.__gSavedWorld, LDIVT, OTENTERNOTIFIER, OTLEAVENOTIFIER, PBStatusSync, SBIsControlStripVisible, SBShowHideControlStrip, ULMULT, _A5Init3, _IntEnv, __CleanupProc, __InitProc, __InitVTableRecords and errno.

Verdict

The interface/runtime-rebuild approach is valid, but does not fix this browser. The supplied ConvertObj is not an improved converter for these libraries. Retro68 README.md lines 407–412 explicitly restrict ConvertObj to MPW objects without global variables or non-local calls. Treating its successful assembly conversion as proof of full ASLM compatibility was too optimistic. The results are consistent with that documented limitation; the OT API-version mismatch also remains independently unresolved.

A full GCC/binutils toolchain bootstrap and Mac runtime testing were NOT done. No 68k executable or new release was generated; existing PPC release is intact. Do not recommend another full toolchain rebuild as a demonstrated fix. Further work needs deliberate ASLM/MPW ABI/converter support or a compatible network backend/port, with runtime validation—not placeholder functions to satisfy ld.

Logs and build trees: build/macclassic/retro68-validation/{host-build.log, runtime-build.log,browser-link.log,host,target,browser}. The /usr/src/Retro68 source checkout remains clean.