>>> xa: Building testing/xa 2.3.13-r0 (using abuild 3.9.0-r0) started Tue, 29 Mar 2022 06:50:18 +0000 >>> xa: Checking sanity of /home/buildozer/aports/testing/xa/APKBUILD... >>> xa: Analyzing dependencies... >>> xa: Installing for build: build-base perl (1/5) Installing perl (5.34.0-r1) (2/5) Installing .makedepends-xa (20220329.065020) (3/5) Installing perl-error (0.17029-r1) (4/5) Installing perl-git (2.35.1-r1) (5/5) Installing git-perl (2.35.1-r1) Executing busybox-1.35.0-r6.trigger OK: 369 MiB in 104 packages >>> xa: Cleaning up srcdir >>> xa: Cleaning up pkgdir >>> xa: Fetching https://distfiles.alpinelinux.org/distfiles/edge/xa-2.3.13.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 146 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> xa: Fetching https://www.floodgap.com/retrotech/xa/dists/xa-2.3.13.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 151k 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 18 151k 18 28672 0 0 15143 0 0:00:10 0:00:01 0:00:09 15138 37 151k 37 58368 0 0 19758 0 0:00:07 0:00:02 0:00:05 19758 58 151k 58 91136 0 0 23226 0 0:00:06 0:00:03 0:00:03 23225 84 151k 84 128k 0 0 26707 0 0:00:05 0:00:04 0:00:01 26705 100 151k 100 151k 0 0 27329 0 0:00:05 0:00:05 --:--:-- 33997 >>> xa: Fetching https://distfiles.alpinelinux.org/distfiles/edge/xa-2.3.13.tar.gz >>> xa: Checking sha512sums... xa-2.3.13.tar.gz: OK >>> xa: Unpacking /var/cache/distfiles/edge/xa-2.3.13.tar.gz... rm -f xa (cd src && LD=gcc CC="gcc -O2" make) (cd misc && CC="gcc -O2" make) make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/misc' cp mkrom.sh ../mkrom.sh gcc -O2 -O2 uncpk.c -o ../uncpk make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/src' gcc -O2 -O2 -Os -fomit-frame-pointer -c -o xa.o xa.c gcc -O2 -O2 printcbm.c -o ../printcbm gcc -O2 -O2 file65.c -o ../file65 gcc -O2 -O2 -Os -fomit-frame-pointer -c -o xaa.o xaa.c gcc -O2 -O2 reloc65.c -o ../reloc65 gcc -O2 -O2 -Os -fomit-frame-pointer -c -o xal.o xal.c gcc -O2 -O2 ldo65.c -o ../ldo65 gcc -O2 -O2 -Os -fomit-frame-pointer -c -o xap.o xap.c gcc -O2 -O2 -Os -fomit-frame-pointer -c -o xat.o xat.c gcc -O2 -O2 -Os -fomit-frame-pointer -c -o xar.o xar.c gcc -O2 -O2 -Os -fomit-frame-pointer -c -o xar2.o xar2.c gcc -O2 -O2 -Os -fomit-frame-pointer -c -o xao.o xao.c gcc -O2 -O2 -Os -fomit-frame-pointer -c -o xau.o xau.c gcc -O2 -O2 -Os -fomit-frame-pointer -c -o xam.o xam.c gcc -O2 -O2 -Os -fomit-frame-pointer -c -o xacharset.o xacharset.c make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/misc' gcc -o ../xa xa.o xaa.o xal.o xap.o xat.o xar.o xar2.o xao.o xau.o xam.o xacharset.o -lc make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/src' cd tests && ./harness -make="make" -cc="gcc" -cflags="-O2" CC = gcc CFLAGS = -O2 MAKE = make tests to run: ALL alxl ............................................. > running Makefile =============================================================================== make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/alxl' rm -f *.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/alxl' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/alxl' # xa should not allow this to happen. if it does, this test is no good. ../../xa alxl.s || exit 0 && exit 1 rep #%00010000 alxl.s:line 6: f002:65816 mode used/required error .xl alxl.s:line 8: f002:65816 mode used/required error ldx #$1234 alxl.s:line 9: f004:Overflow error ldy #$1234 alxl.s:line 10: f006:Overflow error .al alxl.s:line 12: f006:65816 mode used/required error lda #$1234 alxl.s:line 13: f008:Overflow error Break after 6 errors ../../xa alxlo1.s || exit 0 && exit 1 rep #%00010000 alxlo1.s:line 6: f002:65816 mode used/required error .al alxlo1.s:line 9: f002:65816 mode used/required error lda #$1234 alxlo1.s:line 10: f004:Overflow error Break after 3 errors ../../xa alxlo2.s || exit 0 && exit 1 rep #%00010000 alxlo2.s:line 6: f002:65816 mode used/required error .xl alxlo2.s:line 8: f002:65816 mode used/required error ldx #$1234 alxlo2.s:line 9: f004:Overflow error ldy #$1234 alxlo2.s:line 10: f006:Overflow error Break after 4 errors ../../xa alxlx1.s || exit 0 && exit 1 rep #%00010000 alxlx1.s:line 6: f002:65816 mode used/required error .al alxlx1.s:line 9: f002:65816 mode used/required error ldx #$1234 alxlx1.s:line 10: f004:Overflow error ldy #$1234 alxlx1.s:line 11: f006:Overflow error lda #$1234 alxlx1.s:line 12: f008:Overflow error Break after 5 errors ../../xa alxlx2.s || exit 0 && exit 1 rep #%00010000 alxlx2.s:line 6: f002:65816 mode used/required error .xl alxlx2.s:line 8: f002:65816 mode used/required error ldx #$1234 alxlx2.s:line 9: f004:Overflow error ldy #$1234 alxlx2.s:line 10: f006:Overflow error lda #$1234 alxlx2.s:line 11: f008:Overflow error Break after 5 errors ../../xa alxlx3.s || exit 0 && exit 1 rep #%00010000 alxlx3.s:line 6: f002:65816 mode used/required error ldx #$1234 alxlx3.s:line 8: f004:Overflow error ldy #$1234 alxlx3.s:line 9: f006:Overflow error lda #$1234 alxlx3.s:line 10: f008:Overflow error Break after 4 errors ../../xa sizes.s || exit 0 && exit 1 .al sizes.s:line 4: 1000:65816 mode used/required error .xl sizes.s:line 5: 1000:65816 mode used/required error jmp SYM sizes.s:line 9: 112237:Overflow error jmp $112233 sizes.s:line 10: 11223a:Overflow error lda $112233 sizes.s:line 11: 11223d:Overflow error lda @$2233 sizes.s:line 12: 112241:65816 mode used/required error HI(SYM)=(((SYM) >> 16) & $FFFF)=17 LO(SYM)=((SYM) & $FFFF)=8755 lda #LO(SYM) sizes.s:line 20: 11224b:Overflow error Break after 7 errors ../../xa -w alxlx1.s || exit 0 && exit 1 ldx #$1234 alxlx1.s:line 10: f004:Overflow error ldy #$1234 alxlx1.s:line 11: f006:Overflow error Break after 2 errors ../../xa -w alxlx2.s || exit 0 && exit 1 lda #$1234 alxlx2.s:line 11: f00a:Overflow error Break after 1 errors ../../xa -w alxlx3.s || exit 0 && exit 1 ldx #$1234 alxlx3.s:line 8: f004:Overflow error ldy #$1234 alxlx3.s:line 9: f006:Overflow error lda #$1234 alxlx3.s:line 10: f008:Overflow error Break after 3 errors # expected-to-fail tests did fail. should be no more errors now. ../../xa -w alxl.s -o alxl.o ../hextool -cmp=alxl.ok < alxl.o ../../xa -w alxlo1.s -o alxlo1.o ../hextool -cmp=alxlo1.ok < alxlo1.o ../../xa -w alxlo2.s -o alxlo2.o ../hextool -cmp=alxlo2.ok < alxlo2.o ../../xa -w sizes.s -o sizes.o HI(SYM)=(((SYM) >> 16) & $FFFF)=17 LO(SYM)=((SYM) & $FFFF)=8755 ../hextool -cmp=sizes.ok < sizes.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/alxl' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/alxl' rm -f *.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/alxl' =================================== PASSED! =================================== reset_segment .................................... > running Makefile =============================================================================== make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/reset_segment' rm -f *.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/reset_segment' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/reset_segment' ../../xa -R -LLIB6502 test1.s -o test1.o ../hextool -cmp=ok1 < test1.o ../../xa -R test2.s -o test2.o ../hextool -cmp=ok2 < test2.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/reset_segment' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/reset_segment' rm -f *.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/reset_segment' =================================== PASSED! =================================== ldoreloc ......................................... > running Makefile =============================================================================== make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/ldoreloc' rm -f *.o65 *.hex t make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/ldoreloc' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/ldoreloc' ../../xa -R -c -o 1.o65 1.s ../hextool 1.o65 > 1.o65.hex ../../xa -R -c -o 2.o65 2.s ../hextool 2.o65 > 2.o65.hex ../../ldo65 -o linked.o65 1.o65 2.o65 ../hextool linked.o65 > linked.o65.hex ../../reloc65 -bt 32768 -xt -o t linked.o65 reloc65: read file linked.o65 -> t ../hextool t > t.hex ../hextool -cmp=t < t.ok make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/ldoreloc' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/ldoreloc' rm -f *.o65 *.hex t make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/ldoreloc' =================================== PASSED! =================================== comcom ........................................... > running Makefile =============================================================================== make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/comcom' rm -f a.o65 make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/comcom' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/comcom' # this should fail. ../../xa scomcom.asm || exit 0 && exit 1 ; some comment: *2 = 1 scomcom.asm:line 1: 1000:Syntax error Break after 1 errors # it did fail. these should now all succeed. ../../xa -M scomcom.asm ../hextool -cmp=scomcomm.ok < a.o65 ../../xa comcom.asm ../hextool -cmp=comcom.ok < a.o65 ../../xa -M comcom.asm ../hextool -cmp=comcomm.ok < a.o65 make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/comcom' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/comcom' rm -f a.o65 make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/comcom' =================================== PASSED! =================================== dos51 ............................................ > running Makefile =============================================================================== make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/dos51' rm -f *.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/dos51' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/dos51' # xa should not allow this to happen. if it does, this test is no good. ../../xa -DBUG test.s || exit 0 && exit 1 test.s:line 5: c1f1:Label 'crunchsrv' not defined Break after 1 errors # expected-to-fail tests did fail. should be no more errors now. ../../xa test.s -o test.o ../hextool -cmp=ok < test.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/dos51' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/dos51' rm -f *.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/dos51' =================================== PASSED! =================================== csapiec .......................................... > running Makefile =============================================================================== make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/csapiec' rm -f *.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/csapiec' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/csapiec' # xa should not allow this to happen. if it does, this test is no good. ../../xa -DBUG=1 -o test.o test.s || exit 0 && exit 1 .data test.s:line 6: 1000:Illegal segment error Break after 1 errors ../../xa -R -DBUG=1 -o testseg.o test.s || exit 0 && exit 1 cmda .byt cmdt-c0 test.s:line 26: 0444:Syntax error .byt c2-c0, c3-c0, c4-c0, c5-c0, c6-c0, c7-c0 test.s:line 30: 0448:Syntax error .byt c11-c0, c12-c0, c13-c0, c14-c0, c15-c0, 0 test.s:line 31: 0448:Syntax error Break after 3 errors # xa *should* allow this to happen. ../../xa -o test.o test.s ../hextool -cmp=test.ok < test.o ../../xa -R -o testseg.o test.s ../hextool -cmp=testseg.ok < testseg.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/csapiec' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/csapiec' rm -f *.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/csapiec' =================================== PASSED! =================================== incerr ........................................... > running Makefile =============================================================================== make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/incerr' rm -f a.o65 make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/incerr' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/incerr' # in 6502 mode, it will fail. ../../xa test.s || exit 0 && exit 1 .xl test.6502:line 1: 1000:65816 mode used/required error Break after 1 errors # in 65816 mode, it will pass. ../../xa -w test.s make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/incerr' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/incerr' rm -f a.o65 make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/incerr' =================================== PASSED! =================================== branch ........................................... > running Makefile =============================================================================== make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/branch' rm -f *.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/branch' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/branch' # xa should not allow this to happen. if it does, this test is no good. ../../xa bor.s || exit 0 && exit 1 beq pdq bor.s:line 9: 1083:Branch out of range error Break after 1 errors # expected-to-fail tests did fail. should be no more errors now. ../../xa -w bir.s -o test.o ../hextool -cmp=bir.ok < test.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/branch' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/branch' rm -f *.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/branch' =================================== PASSED! =================================== openpp ........................................... > running Makefile =============================================================================== make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/openpp' rm -f *.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/openpp' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/openpp' # xa should not allow this to happen. if it does, this test is no good. ../../xa test.inc || exit 0 && exit 1 test.inc:line 5: 1000:Unresolved preprocessor directive at end of file error Break after 1 errors # expected-to-fail tests did fail. should be no more errors now. ../../xa -DBUG test.s -o test.o at end of included file test.inc: test.s:line 14: c005: Warning - Open preprocessor directive at end of file (intentional?) ../hextool -cmp=ok < test.o ../../xa test.s -o test.o ../hextool -cmp=ok < test.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/openpp' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/openpp' rm -f *.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/openpp' =================================== PASSED! =================================== nonl ............................................. > PASSED quotch ........................................... > PASSED recmac ........................................... > running Makefile =============================================================================== make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/recmac' rm -f a.o65 make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/recmac' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/recmac' # this should fail. ../../xa -DFAIL test.asm || exit 0 && exit 1 test.asm:line 30: 1021:Label 'NOGOOD' not defined Break after 1 errors # these should not fail. ../../xa test.asm ../hextool -cmp=test.ok < a.o65 ../../xa testi.asm ../hextool -cmp=testi.ok < a.o65 make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/recmac' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/recmac' rm -f a.o65 make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/recmac' =================================== PASSED! =================================== fordef ........................................... > running Makefile =============================================================================== make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/fordef' rm -f a.o65 test.out make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/fordef' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/fordef' # this must not pass. ../../xa -DFAIL test3.asm || exit 0 && exit 1 test3.asm:line 7: 0400:Wrong addressing mode error test3.asm:line 8: 0402:Wrong addressing mode error test3.asm:line 9: 0401:Wrong addressing mode error test3.asm:line 10: 0400:Wrong addressing mode error congrats, you have FAILED! test3.asm:line 10: 0409:Overflow error Break after 5 errors # these must pass. ../../xa test3.asm ../hextool -cmp=test3.ok < a.o65 # testing warnings. ../../xa -e test.out test.asm test.asm:line 6: 0400: Warning - Can't optimize forward-defined label; using absolute addressing test.asm:line 7: 0403: Warning - Can't optimize forward-defined label; using absolute addressing ../hextool -cmp=ok.out < test.out ../hextool -cmp=test1.ok < a.o65 make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/fordef' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/fordef' rm -f a.o65 test.out make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/fordef' =================================== PASSED! =================================== chardelimiter .................................... > PASSED ppstrings ........................................ > PASSED cpktest .......................................... > running Makefile =============================================================================== make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/cpktest' rm -f *.o test.l make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/cpktest' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/cpktest' ../../xa -l test.l -o test.o pack_eng.a65 cmp test.l english.l || exit 1 ../hextool -cmp=eng.ok < test.o ../../xa -l test.l -o test.o pack_ger.a65 cmp test.l deutsch.l || exit 1 ../hextool -cmp=de.ok < test.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/cpktest' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/cpktest' rm -f *.o test.l make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/cpktest' =================================== PASSED! =================================== charset .......................................... > running Makefile =============================================================================== make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/charset' rm -rf a.o65 make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/charset' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/charset' ../../xa test.s ../hextool -cmp=no-charset.o < a.o65 ../../xa -O PETSCII test.s ../hextool -cmp=petscii.o < a.o65 ../../xa -O PETSCREEN test.s ../hextool -cmp=petscreen.o < a.o65 ../../xa -O HIGH test.s ../hextool -cmp=high.o < a.o65 make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/charset' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/charset' rm -rf a.o65 make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/charset' =================================== PASSED! =================================== binclude ......................................... > running Makefile =============================================================================== make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/binclude' rm -f *.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/binclude' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/binclude' ../../xa test.asm -o test.o ../hextool -cmp=test.ok < test.o ../../xa -w test.asm -o test816.o ../hextool -cmp=test.ok < test816.o ../../xa test2.asm -o test2.o ../hextool -cmp=test2.ok < test2.o ../../xa test3.asm -o test3.o ../hextool -cmp=test.ok < test3.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/binclude' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/binclude' rm -f *.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/binclude' =================================== PASSED! =================================== masmcom .......................................... > running Makefile =============================================================================== make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/masmcom' rm -f *.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/masmcom' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/masmcom' # compile with masm mode on. ../../xa -M -o test.o test.s ../hextool -cmp=okmasm < test.o # compile without ../../xa -o test.o test.s ../hextool -cmp=oknomasm < test.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/masmcom' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/masmcom' rm -f *.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/masmcom' =================================== PASSED! =================================== chppch ........................................... > running Makefile =============================================================================== make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/chppch' rm -f a.o65 test.out make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/chppch' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/chppch' ../../xa -p'~' -e test.out test.c 12+12=12+12=24 10+10=10+10=20 5+5=5+5=10 ../hextool -cmp=ok.out < test.out make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/chppch' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/chppch' rm -f a.o65 test.out make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/chppch' =================================== PASSED! =================================== stringcom ........................................ > PASSED math ............................................. > running Makefile =============================================================================== make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/math' rm -f *.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/math' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/math' # xa should not allow this to happen. if it does, this test is no good. ../../xa -o divzero.o divzero.s || exit 0 && exit 1 * = $0/00 divzero.s:line 2: 1002:Division by zero error Break after 1 errors ../../xa -o divzero2.o divzero2.s || exit 0 && exit 1 * = $0/zyx divzero2.s:line 5: 1002:Division by zero error Break after 1 errors make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/math' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/math' rm -f *.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/math' =================================== PASSED! =================================== cpp .............................................. > running Makefile =============================================================================== make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/cpp' rm -f over.asm a.o65 make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/cpp' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/cpp' gcc -E over.c > over.asm ../../xa -w over.asm ../hextool -cmp=expected.o < a.o65 make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/cpp' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/cpp' rm -f over.asm a.o65 make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/cpp' =================================== PASSED! =================================== neg_offset ....................................... > running Makefile =============================================================================== make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/neg_offset' rm -f *.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/neg_offset' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/neg_offset' # this test must fail. ../../xa -o test0.o test0.s || exit 0 && exit 1 test0.s:line 2: 1000:Syntax error Break after 1 errors ../../xa -R -LLIB6502 test1.s -o test1.o ../hextool -cmp=ok1 < test1.o ../../xa -R -LLIB6502 test2.s -o test2.o ../hextool -cmp=ok2 < test2.o ../../xa -R -LLIB6502 test3.s -o test3.o ../hextool -cmp=ok3 < test3.o ../../xa -R -LLIB6502 test4.s -o test4.o ../hextool -cmp=ok4 < test4.o ../../xa -R -LLIB6502 test5.s -o test5.o ../hextool -cmp=ok5 < test5.o # this test must fail. ../../xa -R -LLIB6502 test6.s -o test6.o || exit 0 && exit 1 test6.s:line 4: 1003:Overflow error Break after 1 errors # this test must fail. ../../xa -R -LLIB6502 test7.s -o test7.o || exit 0 && exit 1 jsr 65536 test7.s:line 4: 1003:Overflow error Break after 1 errors # this test must fail. ../../xa -R -LLIB6502 test8.s -o test8.o || exit 0 && exit 1 test8.s:line 4: 1003:Overflow error Break after 1 errors make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/neg_offset' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/neg_offset' rm -f *.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/neg_offset' =================================== PASSED! =================================== adrm ............................................. > running Makefile =============================================================================== make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/adrm' rm -f *.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/adrm' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/adrm' # xa should not allow this to happen. if it does, this test is no good. ../../xa 816.asm || exit 0 && exit 1 sta @q 816.asm:line 17: 0415:65816 mode used/required error sta @$000005 816.asm:line 18: 0419:65816 mode used/required error sta $876543 816.asm:line 19: 041c:Overflow error jmp $99fce2 816.asm:line 23: 0423:Overflow error 816.asm:line 25: 041c:65816 mode used/required error Break after 5 errors ../../xa zab.asm || exit 0 && exit 1 bip.inc:line 13: 400b:65816 mode used/required error Break after 1 errors ../../xa zpa.asm || exit 0 && exit 1 bip.inc:line 13: 000b:65816 mode used/required error Break after 1 errors ../../xa -C c02.asm || exit 0 && exit 1 inc; a c02.asm:line 18: 041a:CMOS instruction used with -C error dec; a c02.asm:line 20: 041e:CMOS instruction used with -C error Break after 2 errors # expected-to-fail tests did fail. should be no more errors now. ../../xa -C 02.asm -o 02.o ../hextool -cmp=02.ok < 02.o ../../xa c02.asm -o c02.o ../hextool -cmp=c02.ok < c02.o ../../xa -w 816.asm -o 816.o ../hextool -cmp=816.ok < 816.o ../../xa -w zab.asm -o zab.o ../hextool -cmp=zab.ok < zab.o ../../xa -w zpa.asm -o zpa.o ../hextool -cmp=zpa.ok < zpa.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/adrm' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/adrm' rm -f *.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/adrm' =================================== PASSED! =================================== op816 ............................................ > running Makefile =============================================================================== make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/op816' rm -f *.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/op816' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/op816' # xa should not allow this to happen. if it does, this test is no good. ../../xa test.s || exit 0 && exit 1 COP #$00 test.s:line 47: 1005:65816 mode used/required error ORA ZEROPAGE_0,S test.s:line 48: 1007:65816 mode used/required error ORA [ZEROPAGE_0] test.s:line 52: 100f:65816 mode used/required error PHD test.s:line 56: 1014:65816 mode used/required error ORA (ZEROPAGE_1,S),Y test.s:line 66: 102c:65816 mode used/required error ORA [ZEROPAGE_1],Y test.s:line 70: 1034:65816 mode used/required error TCS test.s:line 74: 103a:65816 mode used/required error AND ZEROPAGE_2,S test.s:line 84: 1055:65816 mode used/required error AND [ZEROPAGE_2] test.s:line 88: 105d:65816 mode used/required error PLD test.s:line 92: 1062:65816 mode used/required error AND (ZEROPAGE_3,S),Y test.s:line 102: 107a:65816 mode used/required error AND [ZEROPAGE_3],Y test.s:line 106: 1082:65816 mode used/required error TSC test.s:line 110: 1088:65816 mode used/required error EOR ZEROPAGE_3,S test.s:line 120: 109e:65816 mode used/required error MVP $44,$44 ;$4444 ; Should be $44, $44 instead test.s:line 121: 10a1:65816 mode used/required error EOR [ZEROPAGE_4] test.s:line 124: 10a7:65816 mode used/required error PHK test.s:line 128: 10ac:65816 mode used/required error EOR (ZEROPAGE_5,S),Y test.s:line 138: 10c4:65816 mode used/required error MVN $55,$55 ; $5555 ; Should be $55, $55 instead test.s:line 139: 10c7:65816 mode used/required error EOR [ZEROPAGE_5],Y test.s:line 142: 10cd:65816 mode used/required error TCD test.s:line 146: 10d3:65816 mode used/required error ADC ZEROPAGE_6,S test.s:line 156: 10ec:65816 mode used/required error ADC [ZEROPAGE_6] test.s:line 160: 10f4:65816 mode used/required error RTL test.s:line 164: 10f9:65816 mode used/required error ADC (ZEROPAGE_7,S),Y test.s:line 174: 1111:65816 mode used/required error ADC [ZEROPAGE_7],Y test.s:line 178: 1119:65816 mode used/required error TDC test.s:line 182: 111f:65816 mode used/required error STA ZEROPAGE_8,S test.s:line 192: 1138:65816 mode used/required error STA [ZEROPAGE_8] test.s:line 196: 1140:65816 mode used/required error PHB test.s:line 200: 1145:65816 mode used/required error STA (ZEROPAGE_9,S),Y test.s:line 210: 115d:65816 mode used/required error STA [ZEROPAGE_9],Y test.s:line 214: 1165:65816 mode used/required error TXY test.s:line 218: 116b:65816 mode used/required error LDA ZEROPAGE_A,S test.s:line 227: 1180:65816 mode used/required error LDA [ZEROPAGE_A] test.s:line 231: 1188:65816 mode used/required error PLB test.s:line 235: 118d:65816 mode used/required error LDA (ZEROPAGE_B,S),Y test.s:line 245: 11a5:65816 mode used/required error LDA [ZEROPAGE_B],Y test.s:line 249: 11ad:65816 mode used/required error TYX test.s:line 253: 11b3:65816 mode used/required error REP #$CC test.s:line 262: 11c9:65816 mode used/required error CMP ZEROPAGE_C,S test.s:line 263: 11cb:65816 mode used/required error CMP [ZEROPAGE_C] test.s:line 267: 11d3:65816 mode used/required error WAI test.s:line 271: 11d8:65816 mode used/required error CMP (ZEROPAGE_D,S),Y test.s:line 281: 11f0:65816 mode used/required error PEI (ZEROPAGE_D) test.s:line 282: 11f2:65816 mode used/required error CMP [ZEROPAGE_D],Y test.s:line 285: 11f8:65816 mode used/required error STP test.s:line 289: 11fe:65816 mode used/required error SEP #$EE test.s:line 298: 1214:65816 mode used/required error SBC ZEROPAGE_E,S test.s:line 299: 1216:65816 mode used/required error SBC [ZEROPAGE_E] test.s:line 303: 121e:65816 mode used/required error XBA test.s:line 307: 1223:65816 mode used/required error SBC (ZEROPAGE_F,S),Y test.s:line 317: 123b:65816 mode used/required error PEA $1000 test.s:line 318: 123e:65816 mode used/required error SBC [ZEROPAGE_F],Y test.s:line 321: 1244:65816 mode used/required error XCE test.s:line 325: 124a:65816 mode used/required error Break after 55 errors # expected-to-fail tests did fail. should be no more errors now. ../../xa -w test.s -o test.o ../hextool -cmp=ok < test.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/op816' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/op816' rm -f *.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/op816' =================================== PASSED! =================================== linkr ............................................ > PASSED relocundef ....................................... > running Makefile =============================================================================== make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/relocundef' rm -f test1.o65 a.o65 test1.o65.hex a.o65.hex rm -f test2.o65 b.o65 test2.o65.hex b.o65.hex make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/relocundef' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/relocundef' ../../xa -R -Lundefl -Ll2 -o test1.o65 test1.a65 test1.a65:line 5: 1002: Warning - Can't optimize forward-defined label; using absolute addressing ../hextool test1.o65 > test1.o65.hex ********* This should give a warning about an undefined relocation table entry ../../reloc65 -X test1.o65 reloc65: read file test1.o65 -> a.o65 reloc65: test1.o65: Warning: undefined relocation table entry not handled! ../hextool a.o65 > a.o65.hex ../../xa -R -o test2.o65 test2.a65 test2.a65:line 5: 1002: Warning - Can't optimize forward-defined label; using absolute addressing ../hextool test2.o65 > test2.o65.hex ********* This should NOT give a warning ../../reloc65 -X -o b.o65 test2.o65 reloc65: read file test2.o65 -> b.o65 ../hextool b.o65 > b.o65.hex ../hextool -cmp=a.ok < a.o65 ../hextool -cmp=b.ok < b.o65 make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/relocundef' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/relocundef' rm -f test1.o65 a.o65 test1.o65.hex a.o65.hex rm -f test2.o65 b.o65 test2.o65.hex b.o65.hex make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/relocundef' =================================== PASSED! =================================== mvnmvp ........................................... > running Makefile =============================================================================== make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/mvnmvp' rm -f *.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/mvnmvp' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/mvnmvp' # xa should not allow this to happen. if it does, this test is no good. ../../xa test.s || exit 0 && exit 1 mvn w, $02 test.s:line 6: 1007:65816 mode used/required error test.s:line 7: 1007: Warning - MVN/MVP $XXXX syntax is deprecated and will be removed mvn $0201 test.s:line 7: 100a:65816 mode used/required error test.s:line 8: 100a: Warning - MVN/MVP $XXXX syntax is deprecated and will be removed mvn $0066 test.s:line 8: 100d:65816 mode used/required error mvp $03, w+3 test.s:line 9: 1010:65816 mode used/required error test.s:line 10: 1010: Warning - MVN/MVP $XXXX syntax is deprecated and will be removed mvp $0403 test.s:line 10: 1013:65816 mode used/required error test.s:line 11: 1013: Warning - MVN/MVP $XXXX syntax is deprecated and will be removed mvp $0088 test.s:line 11: 1016:65816 mode used/required error Break after 6 errors # expected-to-fail tests did fail. should be no more errors now. ../../xa -w test.s -o test.o test.s:line 7: 1007: Warning - MVN/MVP $XXXX syntax is deprecated and will be removed test.s:line 8: 100a: Warning - MVN/MVP $XXXX syntax is deprecated and will be removed test.s:line 10: 1010: Warning - MVN/MVP $XXXX syntax is deprecated and will be removed test.s:line 11: 1013: Warning - MVN/MVP $XXXX syntax is deprecated and will be removed ../hextool -cmp=ok < test.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/mvnmvp' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/mvnmvp' rm -f *.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/mvnmvp' =================================== PASSED! =================================== relocmode ........................................ > running Makefile =============================================================================== make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/relocmode' rm -f *.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/relocmode' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/relocmode' # this should fail in non-relocating mode ../../xa test1.s -o test1.o || exit 0 && exit 1 .data test1.s:line 4: 1003:Illegal segment error Break after 1 errors ../../xa -R test1.s -o test1.o ../hextool -cmp=ok < test1.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/relocmode' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/relocmode' rm -f *.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.3.13/tests/relocmode' =================================== PASSED! =================================== =============================================================================== ## ALL TESTS PASS ## >>> xa: Entering fakeroot... mkdir -p /home/buildozer/aports/testing/xa/pkg/xa/usr/bin mkdir -p /home/buildozer/aports/testing/xa/pkg/xa/usr/share/man/man1 install xa reloc65 ldo65 file65 printcbm uncpk /home/buildozer/aports/testing/xa/pkg/xa/usr/bin install man/file65.1 man/ldo65.1 man/printcbm.1 man/reloc65.1 man/uncpk.1 man/xa.1 /home/buildozer/aports/testing/xa/pkg/xa/usr/share/man/man1 #mkdir -p /home/buildozer/aports/testing/xa/pkg/xa/usr/share/doc/xa65 >>> xa-doc*: Running split function doc... >>> xa-doc*: Preparing subpackage xa-doc... >>> xa-doc*: Running postcheck for xa-doc >>> xa*: Running postcheck for xa >>> xa*: Preparing package xa... >>> xa*: Stripping binaries >>> xa-doc*: Scanning shared objects >>> xa*: Scanning shared objects >>> xa-doc*: Tracing dependencies... >>> xa-doc*: Package size: 52.0 KB >>> xa-doc*: Compressing data... >>> xa-doc*: Create checksum... >>> xa-doc*: Create xa-doc-2.3.13-r0.apk >>> xa*: Tracing dependencies... so:libc.musl-x86_64.so.1 >>> xa*: Package size: 180.0 KB >>> xa*: Compressing data... >>> xa*: Create checksum... >>> xa*: Create xa-2.3.13-r0.apk >>> xa: Build complete at Tue, 29 Mar 2022 06:50:28 +0000 elapsed time 0h 0m 10s >>> xa: Cleaning up srcdir >>> xa: Cleaning up pkgdir >>> xa: Uninstalling dependencies... (1/5) Purging .makedepends-xa (20220329.065020) (2/5) Purging git-perl (2.35.1-r1) (3/5) Purging perl-git (2.35.1-r1) (4/5) Purging perl-error (0.17029-r1) (5/5) Purging perl (5.34.0-r1) Executing busybox-1.35.0-r6.trigger OK: 331 MiB in 99 packages >>> xa: Updating the testing/x86_64 repository index... >>> xa: Signing the index...