Stewmath/oracles-disasm

Error compiling vanilla ROMs

Zixiken opened this issue · 6 comments

When I set the Makefile to BUILD_VANILLA=true, I get the following error:

MEM_INSERT: Origin ($4000) overflows from bank (1).
^ code/ages/garbage/bank01End.s:17: Writing a byte

I'm using your fork of wla-dx, with the emptyfill-banknumber branch, and I've tried it with cmake build types release and debug to see if it made a difference, but there was no change. The build completes when not doing a vanilla build, but then the randomizer doesn't detect them as vanilla.

OS: Gentoo Linux
Cmake: 3.24.3
Make: 4.3
GCC: 12.2.1

You could try wiping your build directories? (rm -R build_ages_v for "vanilla" builds)

Sometimes this can help with weird issues like that. While I haven't been using that branch much, rather using wla-dx v9.11, it should be the same thing (and I did test it just now and it seems to work).

I ran make clean and confirmed the build directories were deleted. I was on that branch since readme.md linked to it, but I gave wla-dx v9.11 a try and had the same error.

I would add that the "MEM_INSERT" messages usually don't prevent the ROM from assembling, but they can be indicative of a problem. Perhaps you could do a binary diff on the resulting ROM and a ROM which you know which is clean to see what differences there are.

Hmm, this one definitely looks like an error and not a warning, there's no ages rom created. Here's the "full" output of make, run with all the previous build artifacts still there:

=====Ages=====
wla-gb -o build/ages.o -DBUILD_VANILLA -D ROM_AGES ages.s
MEM_INSERT: Origin ($4000) overflows from bank (1).
   ^ code/ages/garbage/bank01End.s:17: Writing a byte
make[2]: *** [Makefile:143: build/ages.o] Error 1
make[1]: *** [Makefile:116: ages] Error 2
make: *** [Makefile:107: all] Error 2

And there's no build/ages.o file. Not sure if it makes a difference, but I'm on the rando/ng branch since that's where the git submodule in the oracles-randomizer-ng repo is pointing.

That does make a fairly big difference, but I'm not getting that error on that branch either.

Just to be sure we're on the same page here, could you share the commit hashes for both wla-dx and oracles-disasm?

Closing due to inactivity.