>>> xa: Building testing/xa 2.4.1-r0 (using abuild 3.14.1-r6) started Tue, 25 Feb 2025 12:36:28 +0000 >>> xa: Validating /home/buildozer/aports/testing/xa/APKBUILD... >>> xa: Analyzing dependencies... >>> xa: Installing for build: build-base perl (1/6) Installing libbz2 (1.0.8-r6) (2/6) Installing perl (5.40.1-r0) (3/6) Installing .makedepends-xa (20250225.123629) (4/6) Installing perl-error (0.17029-r2) (5/6) Installing perl-git (2.48.1-r0) (6/6) Installing git-perl (2.48.1-r0) Executing busybox-1.37.0-r14.trigger OK: 284 MiB in 109 packages >>> xa: Cleaning up srcdir >>> xa: Cleaning up pkgdir >>> xa: Cleaning up tmpdir >>> xa: Fetching https://distfiles.alpinelinux.org/distfiles/edge/xa-2.4.1.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 0 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.4.1.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 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 203k 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 16 203k 16 33792 0 0 15780 0 0:00:13 0:00:02 0:00:11 15775 31 203k 31 66560 0 0 21192 0 0:00:09 0:00:03 0:00:06 21190 47 203k 47 99328 0 0 23993 0 0:00:08 0:00:04 0:00:04 23992 63 203k 63 129k 0 0 25700 0 0:00:08 0:00:05 0:00:03 26958 79 203k 79 161k 0 0 26852 0 0:00:07 0:00:06 0:00:01 32966 94 203k 94 193k 0 0 27669 0 0:00:07 0:00:07 --:--:-- 32761 100 203k 100 203k 0 0 29173 0 0:00:07 0:00:07 --:--:-- 35436 >>> xa: Fetching https://distfiles.alpinelinux.org/distfiles/edge/xa-2.4.1.tar.gz >>> xa: Checking sha512sums... xa-2.4.1.tar.gz: OK >>> xa: Unpacking /var/cache/distfiles/xa-2.4.1.tar.gz... rm -f xa (cd src && LD=gcc CC="gcc -O2 -g" make) (cd misc && CC="gcc -O2 -g" make) make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/src' gcc -O2 -g -O2 -g -c -o xa.o xa.c make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/misc' cp mkrom.sh ../mkrom.sh gcc -O2 -g -O2 -g -c -o xaa.o xaa.c gcc -O2 -g -O2 -g -c -o xal.o xal.c gcc -O2 -g -O2 -g uncpk.c -o ../uncpk gcc -O2 -g -O2 -g printcbm.c -o ../printcbm gcc -O2 -g -O2 -g -c -o xap.o xap.c gcc -O2 -g -O2 -g file65.c -o ../file65 gcc -O2 -g -O2 -g reloc65.c -o ../reloc65 gcc -O2 -g -O2 -g -c -o xat.o xat.c gcc -O2 -g -O2 -g ldo65.c -o ../ldo65 gcc -O2 -g -O2 -g -c -o xar.o xar.c gcc -O2 -g -O2 -g -c -o xar2.o xar2.c gcc -O2 -g -O2 -g -c -o xao.o xao.c gcc -O2 -g -O2 -g -c -o xau.o xau.c gcc -O2 -g -O2 -g -c -o xam.o xam.c gcc -O2 -g -O2 -g -c -o xacharset.o xacharset.c gcc -O2 -g -O2 -g -c -o xalisting.o xalisting.c reloc65.c: In function 'main': reloc65.c:236:55: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 236 | fprintf(stderr,"Oops, no more memory! (%d)\n", file.fsize); | ~^ ~~~~~~~~~~ | | | | int size_t {aka long unsigned int} | %ld make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/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 xalisting.o -lc make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/src' rm -rf xa make xa make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1' (cd src && LD=gcc CC="gcc -O2 -g" make) make[2]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/src' 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 xalisting.o -lc make[2]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/src' make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1' make uncpk make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1' make[1]: 'uncpk' is up to date. make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1' cd tests && ./harness \ -tests="ALL" \ -cc="gcc" -cflags="-O2 -g" \ -make="make" -makeflags=" -j1" CC = gcc CFLAGS = -O2 -g MAKE = make MAKEFLAGS = -j1 matching tests: adrm,align,alxl,aserr,binclude,branch,ca65,charset,chppch,cll,comcom,cpktest,cpp,csapiec,dos51,fordef,incerr,ldoreloc,listing,masmcom,math,mode,mvnmvp,neg_offset,op816,openpp,pparity,ppdefines,recmac,relmode,relocmode,relocundef,reset_segment,undef,usb65,chardelimiter,expando,line,linkr,nonl,ppstrings,quotch,recucom,stringcom adrm ............................................. > running Makefile =============================================================================== make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/adrm' rm -f *.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/adrm' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/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.4.1/tests/adrm' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/adrm' rm -f *.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/adrm' =================================== PASSED! =================================== align ............................................ > running Makefile =============================================================================== make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/align' rm -f *.o65 *.hex make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/align' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/align' ../../xa -R -c -o t01.o65 t01.a65 ../hextool -cmp=t01.ok t01.o65 ../../xa -R -c -o t02.o65 t02.a65 ../hextool -cmp=t02.ok t02.o65 ../../xa -R -c -o t03.o65 t03.a65 ../hextool -cmp=t03.ok t03.o65 ../../xa -R -c -o t11.o65 t11.a65 ../hextool -cmp=t11.ok t11.o65 ../../xa -R -c -o t12.o65 t12.a65 ../hextool -cmp=t12.ok t12.o65 ../../xa -R -c -o t13.o65 t13.a65 ../hextool -cmp=t13.ok t13.o65 ../../xa -R -c -bt 1025 -o t21.o65 t01.a65 2> t21.msg ../hextool -cmp=t21.mok t21.msg ../hextool -cmp=t21.ok t21.o65 ../../xa -R -c -bt 1025 -o t22.o65 t02.a65 2> t22.msg ../hextool -cmp=t22.mok t22.msg ../hextool -cmp=t22.ok t22.o65 ../../xa -R -c -bt 1025 -o t23.o65 t03.a65 2> t23.msg ../hextool -cmp=t23.mok t23.msg ../hextool -cmp=t23.ok t23.o65 ../../xa -R -c -bd 1025 -o t31.o65 t01.a65 2> t31.msg ../hextool -cmp=t31.mok t31.msg ../hextool -cmp=t31.ok t31.o65 ../../xa -R -c -bd 1025 -o t32.o65 t02.a65 2> t32.msg ../hextool -cmp=t32.mok t32.msg ../hextool -cmp=t32.ok t32.o65 ../../xa -R -c -bd 1025 -o t33.o65 t03.a65 2> t33.msg ../hextool -cmp=t33.mok t33.msg ../hextool -cmp=t33.ok t33.o65 ../../xa -R -c -bd 1025 -o t41.o65 t11.a65 2> t41.msg ../hextool -cmp=t41.mok t41.msg ../hextool -cmp=t41.ok t41.o65 ../../xa -R -c -bd 1025 -o t42.o65 t12.a65 2> t42.msg ../hextool -cmp=t42.mok t42.msg ../hextool -cmp=t42.ok t42.o65 ../../xa -R -c -bd 1025 -o t43.o65 t13.a65 2> t43.msg ../hextool -cmp=t43.mok t43.msg ../hextool -cmp=t43.ok t43.o65 make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/align' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/align' rm -f *.o65 *.hex make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/align' =================================== PASSED! =================================== alxl ............................................. > running Makefile =============================================================================== make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/alxl' rm -f *.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/alxl' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/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.4.1/tests/alxl' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/alxl' rm -f *.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/alxl' =================================== PASSED! =================================== aserr ............................................ > running Makefile =============================================================================== make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/aserr' rm -f a.o65 make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/aserr' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/aserr' expected to fail.... ../../xa -DBAD0 test.s || exit 0 && exit 1 .assert w=w, "what the" test.s:line 11: 1000:Label 'w' not defined Break after 1 errors ../../xa -DBAD1 test.s || exit 0 && exit 1 #error bad1 test.s:line 17: 1000:#error directive error Break after 1 errors ../../xa -DBAD2 test.s || exit 0 && exit 1 Assertion failed: everything is bad test.s:line 21: 1000:Assertion error Break after 1 errors ../../xa -DBAD3 test.s || exit 0 && exit 1 Assertion failed: everything is terrible test.s:line 30: 1002:Assertion error Break after 1 errors ../../xa -DBAD4 test.s || exit 0 && exit 1 Assertion failed: everything sucks and is terrible and hideous and bad test.s:line 33: 1002:Assertion error Break after 1 errors ../../xa -DBAD5 test.s || exit 0 && exit 1 #error I want a really old version test.s:line 38: 1002:#error directive error Break after 1 errors no more failures! ../../xa test.s ../hextool -cmp=ok < a.o65 make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/aserr' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/aserr' rm -f a.o65 make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/aserr' =================================== PASSED! =================================== binclude ......................................... > running Makefile =============================================================================== make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/binclude' rm -f *.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/binclude' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/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.4.1/tests/binclude' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/binclude' rm -f *.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/binclude' =================================== PASSED! =================================== branch ........................................... > running Makefile =============================================================================== make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/branch' rm -f *.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/branch' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/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.4.1/tests/branch' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/branch' rm -f *.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/branch' =================================== PASSED! =================================== ca65 ............................................. > running Makefile =============================================================================== make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/ca65' rm -f *.err a.o65 unnamed1 unnamed2 escape1 escape2 lll make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/ca65' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/ca65' #ca65 unnamed1.a65; ld65 -t none -o unnamed1.ca65 unnamed1.o; rm unnamed1.o ../../xa -XCA65 unnamed1.a65 -o unnamed1 ../hextool -cmp=unnamed1.ca65 < unnamed1 ../../xa -a unnamed1.a65 -o unnamed1 ../hextool -cmp=unnamed1.ca65 < unnamed1 #ca65 unnamed2.a65; ld65 -t none -o unnamed2.ca65 unnamed2.o; rm unnamed2.o ../../xa -XCA65 unnamed2.a65 -o unnamed2 2>a.err || true ../hextool -cmp=unnamed2.ca65 < unnamed2 ../../xa -a unnamed2.a65 -o unnamed2 2>a.err || true ../hextool -cmp=unnamed2.ca65 < unnamed2 # shouldn't work by default ../../xa escape1.a65 -o escape1 || exit 0 && exit 1 lda #"^^" escape1.a65:line 4: 1002:Syntax error Break after 1 errors ../../xa -XXA23 escape1.a65 -o escape1 Warning: -XXA23 is explicitly deprecated ../hextool -cmp=escape1.out < escape1 ../../xa -k escape1.a65 -o escape1 ../hextool -cmp=escape1.out < escape1 #ca65 escape2.a65; ld65 -t none -o escape2.ca65 escape2.o; rm escape2.o ../../xa -XCA65 escape2.a65 -o escape2 2>a.err || true ../hextool -cmp=escape2.ca65 < escape2 # shouldn't work ../../xa lll.a65 -o lll || exit 0 && exit 1 lll.a65:line 8: 0327:Syntax error lll.a65:line 12: 0328:Syntax error lll.a65:line 20: 032a:Syntax error lll.a65:line 24: 032b:Syntax error lll.a65:line 27: 032c:Syntax error Break after 5 errors ../../xa -a lll.a65 -o lll || exit 0 && exit 1 lll.a65:line 8: 0327:Syntax error lll.a65:line 12: 0328:Syntax error lll.a65:line 20: 032a:Syntax error lll.a65:line 24: 032b:Syntax error lll.a65:line 27: 032c:Syntax error Break after 5 errors ../../xa -w lll.a65 -o lll || exit 0 && exit 1 lll.a65:line 8: 0327:Syntax error lll.a65:line 12: 0328:Syntax error lll.a65:line 20: 032a:Syntax error lll.a65:line 24: 032b:Syntax error lll.a65:line 27: 032c:Syntax error Break after 5 errors # should work ../../xa -XCA65 lll.a65 -o lll ../hextool -cmp=lll.out < lll make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/ca65' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/ca65' rm -f *.err a.o65 unnamed1 unnamed2 escape1 escape2 lll make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/ca65' =================================== PASSED! =================================== charset .......................................... > running Makefile =============================================================================== make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/charset' rm -rf a.o65 make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/charset' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/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.4.1/tests/charset' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/charset' rm -rf a.o65 make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/charset' =================================== PASSED! =================================== chppch ........................................... > running Makefile =============================================================================== make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/chppch' rm -f a.o65 test.out make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/chppch' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/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.4.1/tests/chppch' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/chppch' rm -f a.o65 test.out make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/chppch' =================================== PASSED! =================================== cll .............................................. > running Makefile =============================================================================== make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/cll' rm -f *.o65 rm -f test1 make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/cll' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/cll' ../../xa -XCA65 -o test1.o65 No input files given! make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/cll' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/cll' rm -f *.o65 rm -f test1 make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/cll' =================================== PASSED! =================================== comcom ........................................... > running Makefile =============================================================================== make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/comcom' rm -f a.o65 make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/comcom' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/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 ../../xa -a 816com.asm || exit 0 && exit 1 lda @$123456 816com.asm:line 2: 1004:65816 mode used/required error sta @$654321 816com.asm:line 6: 100c:65816 mode used/required error Break after 2 errors ../../xa -w 816com.asm || exit 0 && exit 1 beq :+ 816com.asm:line 3: 1004:Syntax error 816com.asm:line 3: 1004:Syntax error bne :- 816com.asm:line 4: 1004:Syntax error 816com.asm:line 4: 1004:Syntax error Break after 4 errors # it did fail. these should now all succeed. ../../xa -XMASM scomcom.asm ../hextool -cmp=scomcomm.ok < a.o65 ../../xa -a scomcom.asm ../hextool -cmp=scomcomm.ok < a.o65 ../../xa comcom.asm ../hextool -cmp=comcom.ok < a.o65 ../../xa -XMASM comcom.asm ../hextool -cmp=comcomm.ok < a.o65 ../../xa -a comcom.asm ../hextool -cmp=comcomm.ok < a.o65 ../../xa -a -w 816com.asm ../hextool -cmp=816com.ok < a.o65 make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/comcom' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/comcom' rm -f a.o65 make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/comcom' =================================== PASSED! =================================== cpktest .......................................... > running Makefile =============================================================================== make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/cpktest' rm -f *.o test.l make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/cpktest' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/cpktest' ../../xa -l test.l -o test.o pack_eng.a65 ../hextool -cmp=test.l < english.l || exit 1 ../hextool -cmp=eng.ok < test.o ../../xa -l test.l -o test.o pack_ger.a65 ../hextool -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.4.1/tests/cpktest' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/cpktest' rm -f *.o test.l make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/cpktest' =================================== PASSED! =================================== cpp .............................................. > running Makefile =============================================================================== make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/cpp' rm -f over.asm a.o65 make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/cpp' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/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.4.1/tests/cpp' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/cpp' rm -f over.asm a.o65 make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/cpp' =================================== PASSED! =================================== csapiec .......................................... > running Makefile =============================================================================== make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/csapiec' rm -f *.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/csapiec' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/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.4.1/tests/csapiec' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/csapiec' rm -f *.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/csapiec' =================================== PASSED! =================================== dos51 ............................................ > running Makefile =============================================================================== make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/dos51' rm -f *.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/dos51' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/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.4.1/tests/dos51' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/dos51' rm -f *.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/dos51' =================================== PASSED! =================================== fordef ........................................... > running Makefile =============================================================================== make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/fordef' rm -f a.o65 test.out make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/fordef' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/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.4.1/tests/fordef' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/fordef' rm -f a.o65 test.out make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/fordef' =================================== PASSED! =================================== incerr ........................................... > running Makefile =============================================================================== make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/incerr' rm -f a.o65 make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/incerr' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/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.4.1/tests/incerr' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/incerr' rm -f a.o65 make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/incerr' =================================== PASSED! =================================== ldoreloc ......................................... > running Makefile =============================================================================== make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/ldoreloc' rm -f *.o65 *.hex t1 t2 t10 t11 t20 t21 t30 t31 t40 t41 t50 t51 t60 t61 make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/ldoreloc' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/ldoreloc' ../../xa -R -c -o 1.o65 1.s ../../xa -R -c -o 2.o65 2.s ../../ldo65 -o linked.o65 1.o65 2.o65 ../../reloc65 -bt 32768 -xt -o t1 linked.o65 reloc65: read file linked.o65 -> t1 ../hextool -cmp=t1 < t1.ok ../../ldo65 -o linked2.o65 2.o65 1.o65 ../../reloc65 -bt 32768 -xt -o t2 linked2.o65 reloc65: read file linked2.o65 -> t2 ../hextool -cmp=t2 < t2.ok ../../xa -R -c -o 10.o65 10.s 10.s:line 3: 1006: Warning - Can't optimize forward-defined label; using absolute addressing ../../ldo65 -U -o linked10.o65 10.o65 2.o65 ../../reloc65 -bt 32768 -xt -o t10 linked10.o65 reloc65: read file linked10.o65 -> t10 reloc65: linked10.o65: Warning: undefined relocation table entry not handled! ../hextool -cmp=t10 < t10.ok ../../ldo65 -U -o linked11.o65 2.o65 10.o65 ../../reloc65 -bt 32768 -xt -o t11 linked11.o65 reloc65: read file linked11.o65 -> t11 reloc65: linked11.o65: Warning: undefined relocation table entry not handled! ../hextool -cmp=t11 < t11.ok ../../xa -R -c -o 20.o65 20.s ../../ldo65 -Ll1 -o linked20.o65 2.o65 20.o65 ../../reloc65 -bt 32768 -xt -o t20 linked20.o65 reloc65: read file linked20.o65 -> t20 reloc65: linked20.o65: Warning: undefined relocation table entry not handled! reloc65: linked20.o65: Warning: undefined relocation table entry not handled! ../hextool -cmp=t20 < t20.ok ../../ldo65 -L l1 -o linked21.o65 20.o65 2.o65 ../../reloc65 -bt 32768 -xt -o t21 linked21.o65 reloc65: read file linked21.o65 -> t21 reloc65: linked21.o65: Warning: undefined relocation table entry not handled! reloc65: linked21.o65: Warning: undefined relocation table entry not handled! ../hextool -cmp=t21 < t21.ok ../../xa -R -c -o 30.o65 30.s ../../xa -R -c -o 31.o65 31.s ../../ldo65 -o linked30.o65 30.o65 31.o65 ../../reloc65 -bt 32768 -xt -o t30 linked30.o65 reloc65: read file linked30.o65 -> t30 ../hextool -cmp=t30 < t30.ok ../../ldo65 -o linked31.o65 31.o65 30.o65 ../../reloc65 -bt 32768 -xt -o t31 linked31.o65 reloc65: read file linked31.o65 -> t31 ../hextool -cmp=t31 < t31.ok ../../xa -R -c -o 40.o65 40.s ../../xa -R -c -o 41.o65 41.s 41.s:line 3: 1006: Warning - Can't optimize forward-defined label; using absolute addressing ../../ldo65 -o linked40.o65 40.o65 41.o65 ../../reloc65 -bt 32768 -xt -o t40 linked40.o65 reloc65: read file linked40.o65 -> t40 ../hextool -cmp=t40 < t40.ok ../../ldo65 -o linked41.o65 41.o65 40.o65 ../../reloc65 -bt 32768 -xt -o t41 linked41.o65 reloc65: read file linked41.o65 -> t41 ../hextool -cmp=t41 < t41.ok ../../xa -R -c -o 50.o65 50.s ../../xa -R -c -o 51.o65 51.s 51.s:line 2: 1003: Warning - Can't optimize forward-defined label; using absolute addressing ../../ldo65 -o linked50.o65 50.o65 51.o65 ../../reloc65 -bt 32768 -bd 40960 -o t50 linked50.o65 reloc65: read file linked50.o65 -> t50 ../hextool -cmp=t50 < t50.ok ../../ldo65 -o linked51.o65 51.o65 50.o65 ../../reloc65 -bt 32768 -bd 40960 -o t51 linked51.o65 reloc65: read file linked51.o65 -> t51 ../hextool -cmp=t51 < t51.ok ../../xa -R -c -o 60.o65 60.s 60.s:line 8: 1000: Warning - Can't optimize forward-defined label; using absolute addressing ../../xa -R -c -o 61.o65 61.s 61.s:line 2: 1003: Warning - Can't optimize forward-defined label; using absolute addressing 61.s:line 3: 1006: Warning - Cutting word relocation in byte value ../../ldo65 -o linked60.o65 60.o65 61.o65 ../../reloc65 -bt 32768 -bd 40960 -o t60 linked60.o65 reloc65: read file linked60.o65 -> t60 ../hextool -cmp=t60 < t60.ok ../../ldo65 -o linked61.o65 61.o65 60.o65 ../../reloc65 -bt 32768 -bd 40960 -o t61 linked61.o65 reloc65: read file linked61.o65 -> t61 ../hextool -cmp=t61 < t61.ok ../../ldo65 -bd 65529 -bt 65523 -bz 255 -o linked62.o65 61.o65 60.o65 && exit 1 || exit 0 Overflow in text segment: end at 010001 behind 64k limit Overflow in data segment: end at 010001 behind 64k limit Overflow in zero segment: end at 0102 behind 256 byte limit make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/ldoreloc' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/ldoreloc' rm -f *.o65 *.hex t1 t2 t10 t11 t20 t21 t30 t31 t40 t41 t50 t51 t60 t61 make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/ldoreloc' =================================== PASSED! =================================== listing .......................................... > running Makefile =============================================================================== make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/listing' rm -f *.err *x.out *x.html *x.o65 make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/listing' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/listing' ../../xa -P- -o operatorsx.o65 operators.a65 > operatorsx.out ../hextool -cmp=operators.out < operatorsx.out ../../xa -P- -o assertx.o65 assert.a65 > assertx.out ../hextool -cmp=assert.out < assertx.out ../hextool -cmp=assert.o65 < assertx.o65 ../../xa -P- -Fhtml -o assertx.o65 assert.a65 > assertx.html ../hextool -cmp=assert.html < assertx.html ../../xa -P- linebreak.a65 > linebreakx.out ../hextool -cmp=linebreak.out < linebreakx.out ../../xa -P- include1.a65 > include1x.out ../hextool -cmp=include1.out < include1x.out ../../xa -P- -Fhtml listblocks.a65 > listblocksx.html ../hextool -cmp=listblocks.html < listblocksx.html ../../xa -XCA65 -P- -Fhtml -o listca65x.o65 listca65.a65 > listca65x.html #ca65 ; ld65 -t none -o listca65.ca65 listca65.o; rm listca65.o ../hextool -cmp=listca65.html < listca65x.html ../hextool -cmp=listca65.ca65 < listca65x.o65 ../../xa -XCA65 -P- -Fhtml -o listca65_2x.o65 listca65_2.a65 > listca65_2x.html #ca65 ; ld65 -t none -o listca65_2.ca65 listca65_2.o; rm listca65_2.o ../hextool -cmp=listca65_2.html < listca65_2x.html ../hextool -cmp=listca65_2.ca65 < listca65_2x.o65 make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/listing' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/listing' rm -f *.err *x.out *x.html *x.o65 make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/listing' =================================== PASSED! =================================== masmcom .......................................... > running Makefile =============================================================================== make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/masmcom' rm -f *.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/masmcom' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/masmcom' # compile with masm mode on. ../../xa -XMASM -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.4.1/tests/masmcom' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/masmcom' rm -f *.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/masmcom' =================================== PASSED! =================================== math ............................................. > running Makefile =============================================================================== make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/math' rm -f *.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/math' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/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.4.1/tests/math' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/math' rm -f *.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/math' =================================== PASSED! =================================== mode ............................................. > running Makefile =============================================================================== make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/mode' rm -f *.o65 *.tmp make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/mode' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/mode' ../../xa -R -o at1.o65 at1.a65 ../../xa -R -o at2.o65 at2.a65 ../../xa -R -o at4.o65 at4.a65 ../../xa -R -o at256.o65 at256.a65 ../../xa -R -o ad1.o65 ad1.a65 ../../xa -R -o ad2.o65 ad2.a65 ../../xa -R -o ad4.o65 ad4.a65 ../../xa -R -o ad256.o65 ad256.a65 ../../xa -R -o ab1.o65 ab1.a65 ../../xa -R -o ab2.o65 ab2.a65 ../../xa -R -o ab4.o65 ab4.a65 ../../xa -R -o ab256.o65 ab256.a65 ../../ldo65 -o test1.o65 at1.o65 at2.o65 at4.o65 at256.o65 ad1.o65 ad2.o65 ad4.o65 ad256.o65 ab1.o65 ab2.o65 ab4.o65 ab256.o65 Info: Alignment at 256-boundaries required ../hextool -cmp=test1.o65.ok test1.o65 ../../ldo65 -o test2.o65 ab256.o65 ab4.o65 ab2.o65 ab1.o65 ad256.o65 ad4.o65 ad2.o65 ad1.o65 at256.o65 at4.o65 at2.o65 at1.o65 Info: Alignment at 256-boundaries required ../hextool -cmp=test2.o65.ok test2.o65 ../../ldo65 -o test3.o65 ab2.o65 at2.o65 ad2.o65 ab4.o65 at4.o65 ad4.o65 ad256.o65 at256.o65 ab256.o65 Info: Alignment at 256-boundaries required ../hextool -cmp=test3.o65.ok test3.o65 ../../ldo65 -bt 1025 -bd 1025 -o test4.o65 ab2.o65 at2.o65 ad2.o65 ab4.o65 at4.o65 ad4.o65 ad256.o65 at256.o65 ab256.o65 || exit 0 && exit 1 Info: Alignment at 256-boundaries required Error: text segment start address ($0401) not aligned as required by first file (at 2 bytes) Error: data segment start address ($0401) not aligned as required by first file (at 2 bytes) ../../ldo65 -bt 1026 -bd 1026 -o test4.o65 ab2.o65 at2.o65 ad2.o65 ab4.o65 at4.o65 ad4.o65 ad256.o65 at256.o65 ab256.o65 || exit 0 && exit 1 Info: Alignment at 256-boundaries required Error: text segment start address ($0402) not aligned as first required by file ad256.o65 (at 256 bytes) Error: data segment start address ($0402) not aligned as first required by file ad256.o65 (at 256 bytes) ../../ldo65 -bt 1027 -bd 1027 -o test4.o65 ab2.o65 at2.o65 ad2.o65 ab4.o65 at4.o65 ad4.o65 ad256.o65 at256.o65 ab256.o65 || exit 0 && exit 1 Info: Alignment at 256-boundaries required Error: text segment start address ($0403) not aligned as required by first file (at 2 bytes) Error: data segment start address ($0403) not aligned as required by first file (at 2 bytes) ../../ldo65 -bt 1028 -bd 1028 -o test4.o65 ab2.o65 at2.o65 ad2.o65 ab4.o65 at4.o65 ad4.o65 ad256.o65 at256.o65 ab256.o65 || exit 0 && exit 1 Info: Alignment at 256-boundaries required Error: text segment start address ($0404) not aligned as first required by file ad256.o65 (at 256 bytes) Error: data segment start address ($0404) not aligned as first required by file ad256.o65 (at 256 bytes) ../../reloc65 -C 65816 -o c65816-at2.o65 at2.o65 reloc65: read file at2.o65 -> c65816-at2.o65 ../hextool -cmp=c65816-at2.o65.ok c65816-at2.o65 ../../reloc65 -C 65816 -o c65816-ad4.o65 ad4.o65 reloc65: read file ad4.o65 -> c65816-ad4.o65 ../hextool -cmp=c65816-ad4.o65.ok c65816-ad4.o65 ../../reloc65 -C 6502 -o c6502-at2.o65 at2.o65 reloc65: read file at2.o65 -> c6502-at2.o65 ../hextool -cmp=c6502-at2.o65.ok c6502-at2.o65 ../../reloc65 -C 6502 -o c6502-ad4.o65 ad4.o65 reloc65: read file ad4.o65 -> c6502-ad4.o65 ../hextool -cmp=c6502-ad4.o65.ok c6502-ad4.o65 ../../reloc65 -C NMOS6502 -o n6502-at2.o65 at2.o65 reloc65: read file at2.o65 -> n6502-at2.o65 ../hextool -cmp=n6502-at2.o65.ok n6502-at2.o65 ../../reloc65 -C NMOS6502 -o n6502-ad4.o65 ad4.o65 reloc65: read file ad4.o65 -> n6502-ad4.o65 ../hextool -cmp=n6502-ad4.o65.ok n6502-ad4.o65 ../../reloc65 -C 65SC02 -o c65sc02-at2.o65 at2.o65 reloc65: read file at2.o65 -> c65sc02-at2.o65 ../hextool -cmp=c65sc02-at2.o65.ok c65sc02-at2.o65 ../../reloc65 -C 65SC02 -o c65sc02-ad4.o65 ad4.o65 reloc65: read file ad4.o65 -> c65sc02-ad4.o65 ../hextool -cmp=c65sc02-ad4.o65.ok c65sc02-ad4.o65 ../../reloc65 -C 65C02 -o c65c02-at2.o65 at2.o65 reloc65: read file at2.o65 -> c65c02-at2.o65 ../hextool -cmp=c65c02-at2.o65.ok c65c02-at2.o65 ../../reloc65 -C 65C02 -o c65c02-ad4.o65 ad4.o65 reloc65: read file ad4.o65 -> c65c02-ad4.o65 ../hextool -cmp=c65c02-ad4.o65.ok c65c02-ad4.o65 ../../reloc65 -C 65CE02 -o c65ce02-at2.o65 at2.o65 reloc65: read file at2.o65 -> c65ce02-at2.o65 ../hextool -cmp=c65ce02-at2.o65.ok c65ce02-at2.o65 ../../reloc65 -C 65CE02 -o c65ce02-ad4.o65 ad4.o65 reloc65: read file ad4.o65 -> c65ce02-ad4.o65 ../hextool -cmp=c65ce02-ad4.o65.ok c65ce02-ad4.o65 # prereq for the following ../../reloc65 -o relocsame.o65 c65816-ad4.o65 reloc65: read file c65816-ad4.o65 -> relocsame.o65 ../hextool -cmp=c65816-ad4.o65 relocsame.o65 ../../reloc65 -o relocsame.o65 c65sc02-at2.o65 reloc65: read file c65sc02-at2.o65 -> relocsame.o65 ../hextool -cmp=c65sc02-at2.o65 relocsame.o65 # overwrite 65816 with nmos 6502 ../../reloc65 -C NMOS6502 -o overwrite-1.o65 c65816-at2.o65 reloc65: read file c65816-at2.o65 -> overwrite-1.o65 ../hextool -cmp=n6502-at2.o65 overwrite-1.o65 # overwrite 65sc02 with 65c02 ../../reloc65 -C 65C02 -o overwrite-2.o65 c65sc02-ad4.o65 reloc65: read file c65sc02-ad4.o65 -> overwrite-2.o65 ../hextool -cmp=c65c02-ad4.o65 overwrite-2.o65 ../../ldo65 -v -o linkup1.tmp.tmp c6502-ad4.o65 c65c02-at2.o65 c65sc02-ad4.o65 Starting CPU type calculation with mode documented 6502 (0) ... Matching file c6502-ad4.o65 with CPU documented 6502 (0) to target documented 6502 (0) ... ... to new target documented 6502 (0) Matching file c65c02-at2.o65 with CPU 65C02 (CMOS with BBR/BBS/RMB/SMB) (1) to target documented 6502 (0) ... ... to new target 65C02 (CMOS with BBR/BBS/RMB/SMB) (1) Matching file c65sc02-ad4.o65 with CPU 65SC02 (CMOS without BBR/BBS/RMB/SMB) (2) to target 65C02 (CMOS with BBR/BBS/RMB/SMB) (1) ... ... to new target 65C02 (CMOS with BBR/BBS/RMB/SMB) (1) Info: Alignment at 4-boundaries required Relocating file: c6502-ad4.o65 [CPU documented 6502] text: align fill 0000, relocate from 1000 to 0400 (diff is fffff400, length is 0000) data: align fill 0000, relocate from 0400 to 1000 (diff is 0c00, length is 0001) bss: align fill 0000, relocate from 4000 to 4000 (diff is 0000, length is 0000) zero: relocate from 04 to 02 (diff is fffffffe, length is 00) Relocating file: c65c02-at2.o65 [CPU 65C02 (CMOS with BBR/BBS/RMB/SMB)] text: align fill 0000, relocate from 1000 to 0400 (diff is fffff400, length is 0001) data: align fill 0000, relocate from 0400 to 1001 (diff is 0c01, length is 0000) bss: align fill 0000, relocate from 4000 to 4000 (diff is 0000, length is 0000) zero: relocate from 04 to 02 (diff is fffffffe, length is 00) Relocating file: c65sc02-ad4.o65 [CPU 65SC02 (CMOS without BBR/BBS/RMB/SMB)] text: align fill 0000, relocate from 1000 to 0401 (diff is fffff401, length is 0000) data: align fill 0003, relocate from 0400 to 1004 (diff is 0c04, length is 0001) bss: align fill 0000, relocate from 4000 to 4000 (diff is 0000, length is 0000) zero: relocate from 04 to 02 (diff is fffffffe, length is 00) ../../file65 linkup1.tmp.tmp > linkup1.tmp ../hextool -cmp=linkup1.tmp.ok linkup1.tmp # incompatible links ../../ldo65 -o linkup2.o65 c6502-ad4.o65 c65c02-at2.o65 c65816-ad4.o65 || exit 0 && exit 1 Error: file 'c65816-ad4.o65' in CPU mode 5 (65816 in 6502 emulation mode) is incompatible with previous files with mode 1 (65C02 (CMOS with BBR/BBS/RMB/SMB)) ../../ldo65 -o linkup2.o65 c6502-ad4.o65 c65ce02-at2.o65 c65816-ad4.o65 || exit 0 && exit 1 Error: file 'c65816-ad4.o65' in CPU mode 5 (65816 in 6502 emulation mode) is incompatible with previous files with mode 3 (65CE02) ../../ldo65 -o linkup2.o65 c6502-ad4.o65 c65816-at2.o65 c65c02-ad4.o65 || exit 0 && exit 1 Error: file 'c65c02-ad4.o65' in CPU mode 1 (65C02 (CMOS with BBR/BBS/RMB/SMB)) is incompatible with previous 65816 CPU mode ../../ldo65 -o linkup2.o65 c6502-ad4.o65 c65816-at2.o65 c65ce02-ad4.o65 || exit 0 && exit 1 Error: file 'c65ce02-ad4.o65' in CPU mode 3 (65CE02) is incompatible with previous 65816 CPU mode ../../ldo65 -o linkup2.o65 c65816-at2.o65 c65ce02-ad4.o65 c65c02-at2.o65 || exit 0 && exit 1 Error: file 'c65ce02-ad4.o65' in CPU mode 3 (65CE02) is incompatible with previous 65816 CPU mode Error: file 'c65c02-at2.o65' in CPU mode 1 (65C02 (CMOS with BBR/BBS/RMB/SMB)) is incompatible with previous 65816 CPU mode ../../ldo65 -o linkup2.o65 n6502-at2.o65 c65ce02-ad4.o65 || exit 0 && exit 1 Error: file 'c65ce02-ad4.o65' in CPU mode 3 (65CE02) is incompatible with previous files with mode 4 (6502 with undocumented opcodes) ../../ldo65 -o linkup2.o65 n6502-at2.o65 c65c02-ad4.o65 || exit 0 && exit 1 Error: file 'c65c02-ad4.o65' in CPU mode 1 (65C02 (CMOS with BBR/BBS/RMB/SMB)) is incompatible with previous files with mode 4 (6502 with undocumented opcodes) ../../ldo65 -o linkup2.o65 n6502-at2.o65 c65sc02-ad4.o65 || exit 0 && exit 1 Error: file 'c65sc02-ad4.o65' in CPU mode 2 (65SC02 (CMOS without BBR/BBS/RMB/SMB)) is incompatible with previous files with mode 4 (6502 with undocumented opcodes) ../../ldo65 -o linkup2.o65 n6502-at2.o65 c65816-ad4.o65 || exit 0 && exit 1 Error: file 'c65816-ad4.o65' in 65816 CPU mode is incompatible with previous NMOS undocumented opcodes CPU mode make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/mode' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/mode' rm -f *.o65 *.tmp make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/mode' =================================== PASSED! =================================== mvnmvp ........................................... > running Makefile =============================================================================== make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/mvnmvp' rm -f *.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/mvnmvp' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/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 mvn $02,$01 test.s:line 11: 100a:65816 mode used/required error mvn $00,$66 test.s:line 12: 100d:65816 mode used/required error mvp $03, w+3 test.s:line 14: 1010:65816 mode used/required error mvp $04,$03 test.s:line 19: 1013:65816 mode used/required error mvp $00,$88 test.s:line 20: 1016:65816 mode used/required error Break after 6 errors ../../xa -w -DOLD_SYNTAX test.s || exit 0 && exit 1 mvn $0201 test.s:line 8: 1008:Syntax error mvn $0066 test.s:line 9: 100a:Syntax error mvp $0403 test.s:line 16: 100e:Syntax error mvp $0088 test.s:line 17: 1010:Syntax error mvp $0403,$03 test.s:line 23: 1011:Syntax error mvp $03,$0405 test.s:line 24: 1013:Syntax error mvn $0403,$03 test.s:line 25: 1014:Syntax error mvn $03,$0405 test.s:line 26: 1016:Syntax error Break after 8 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.4.1/tests/mvnmvp' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/mvnmvp' rm -f *.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/mvnmvp' =================================== PASSED! =================================== neg_offset ....................................... > running Makefile =============================================================================== make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/neg_offset' rm -f *.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/neg_offset' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/neg_offset' # this test must fail. ../../xa -o test0.o test0.s || exit 0 && exit 1 test0.s:line 2: 1000:DSB has negative length 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.4.1/tests/neg_offset' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/neg_offset' rm -f *.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/neg_offset' =================================== PASSED! =================================== op816 ............................................ > running Makefile =============================================================================== make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/op816' rm -f *.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/op816' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/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: 102b:65816 mode used/required error ORA [ZEROPAGE_1],Y test.s:line 70: 1033:65816 mode used/required error TCS test.s:line 74: 1039:65816 mode used/required error AND ZEROPAGE_2,S test.s:line 84: 1052:65816 mode used/required error AND [ZEROPAGE_2] test.s:line 88: 105a:65816 mode used/required error PLD test.s:line 92: 105f:65816 mode used/required error AND (ZEROPAGE_3,S),Y test.s:line 102: 1076:65816 mode used/required error AND [ZEROPAGE_3],Y test.s:line 106: 107e:65816 mode used/required error TSC test.s:line 110: 1084:65816 mode used/required error EOR ZEROPAGE_3,S test.s:line 120: 1099:65816 mode used/required error MVP $44,$44 ;$4444 ; Should be $44, $44 instead test.s:line 121: 109c:65816 mode used/required error EOR [ZEROPAGE_4] test.s:line 124: 10a2:65816 mode used/required error PHK test.s:line 128: 10a7:65816 mode used/required error EOR (ZEROPAGE_5,S),Y test.s:line 138: 10be:65816 mode used/required error MVN $55,$55 ; $5555 ; Should be $55, $55 instead test.s:line 139: 10c1:65816 mode used/required error EOR [ZEROPAGE_5],Y test.s:line 142: 10c7:65816 mode used/required error TCD test.s:line 146: 10cd:65816 mode used/required error ADC ZEROPAGE_6,S test.s:line 156: 10e4:65816 mode used/required error ADC [ZEROPAGE_6] test.s:line 160: 10ec:65816 mode used/required error RTL test.s:line 164: 10f1:65816 mode used/required error ADC (ZEROPAGE_7,S),Y test.s:line 174: 1108:65816 mode used/required error ADC [ZEROPAGE_7],Y test.s:line 178: 1110:65816 mode used/required error TDC test.s:line 182: 1116:65816 mode used/required error STA ZEROPAGE_8,S test.s:line 192: 112e:65816 mode used/required error STA [ZEROPAGE_8] test.s:line 196: 1136:65816 mode used/required error PHB test.s:line 200: 113b:65816 mode used/required error STA (ZEROPAGE_9,S),Y test.s:line 210: 1152:65816 mode used/required error STA [ZEROPAGE_9],Y test.s:line 214: 115a:65816 mode used/required error TXY test.s:line 218: 1160:65816 mode used/required error LDA ZEROPAGE_A,S test.s:line 227: 1174:65816 mode used/required error LDA [ZEROPAGE_A] test.s:line 231: 117c:65816 mode used/required error PLB test.s:line 235: 1181:65816 mode used/required error LDA (ZEROPAGE_B,S),Y test.s:line 245: 1198:65816 mode used/required error LDA [ZEROPAGE_B],Y test.s:line 249: 11a0:65816 mode used/required error TYX test.s:line 253: 11a6:65816 mode used/required error REP #$CC test.s:line 262: 11bb:65816 mode used/required error CMP ZEROPAGE_C,S test.s:line 263: 11bd:65816 mode used/required error CMP [ZEROPAGE_C] test.s:line 267: 11c5:65816 mode used/required error WAI test.s:line 271: 11ca:65816 mode used/required error CMP (ZEROPAGE_D,S),Y test.s:line 281: 11e1:65816 mode used/required error PEI (ZEROPAGE_D) test.s:line 282: 11e3:65816 mode used/required error CMP [ZEROPAGE_D],Y test.s:line 285: 11e9:65816 mode used/required error STP test.s:line 289: 11ef:65816 mode used/required error SEP #$EE test.s:line 298: 1204:65816 mode used/required error SBC ZEROPAGE_E,S test.s:line 299: 1206:65816 mode used/required error SBC [ZEROPAGE_E] test.s:line 303: 120e:65816 mode used/required error XBA test.s:line 307: 1213:65816 mode used/required error SBC (ZEROPAGE_F,S),Y test.s:line 317: 122a:65816 mode used/required error PEA $1000 test.s:line 318: 122d:65816 mode used/required error SBC [ZEROPAGE_F],Y test.s:line 321: 1233:65816 mode used/required error XCE test.s:line 325: 1239: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.4.1/tests/op816' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/op816' rm -f *.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/op816' =================================== PASSED! =================================== openpp ........................................... > running Makefile =============================================================================== make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/openpp' rm -f *.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/openpp' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/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 4: 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.4.1/tests/openpp' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/openpp' rm -f *.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/openpp' =================================== PASSED! =================================== pparity .......................................... > running Makefile =============================================================================== make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/pparity' rm -f *.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/pparity' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/pparity' # xa should not allow this to happen. if it does, this test is no good. ../../xa bad.s || exit 0 && exit 1 #define BAR(c) FOO(c) bad.s:line 2: 1000:pp:Wrong parameter count error Break after 1 errors ../../xa bad2.s || exit 0 && exit 1 #define BAR(b,c) FOO(b,c) bad2.s:line 2: 1000:pp:Wrong parameter count error Break after 1 errors ../../xa bad3.s || exit 0 && exit 1 bad3.s:line 10: 1000:pp:Wrong parameter count error Break after 1 errors ../../xa bad4.s || exit 0 && exit 1 #define BAR(c) FOO(c,a) bad4.s:line 2: 1000:pp:Wrong parameter count error Break after 1 errors # expected-to-fail tests did fail. should be no more errors now. ../../xa good.s -o good.o ../hextool -cmp=good.ok < good.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/pparity' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/pparity' rm -f *.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/pparity' =================================== PASSED! =================================== ppdefines ........................................ > running Makefile =============================================================================== make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/ppdefines' rm -f a.o65 test1.u test2.u test3.u test4.u test5.u test6.u test6a.u test6b.u test7.u make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/ppdefines' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/ppdefines' ../../xa -XC test1.a65 -o test1.u ../hextool -cmp=test1.o65 < test1.u ../../xa -XC test2.a65 -o test2.u ../hextool -cmp=test2.o65 < test2.u ../../xa -XC test3.a65 -o test3.u ../hextool -cmp=test3.o65 < test3.u ../../xa -XC test4.a65 -o test4.u ../hextool -cmp=test4.o65 < test4.u ../../xa -XC test5.a65 -o test5.u ../hextool -cmp=test5.o65 < test5.u ../../xa -XC test6.a65 -o test6.u ../hextool -cmp=test6.o65 < test6.u ../../xa -XC test6a.a65 -o test6a.u ../hextool -cmp=test6a.o65 < test6a.u ../../xa -XC test6b.a65 -o test6b.u ../hextool -cmp=test6b.o65 < test6b.u ../../xa -XC test7.a65 -o test7.u ../hextool -cmp=test7.o65 < test7.u make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/ppdefines' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/ppdefines' rm -f a.o65 test1.u test2.u test3.u test4.u test5.u test6.u test6a.u test6b.u test7.u make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/ppdefines' =================================== PASSED! =================================== recmac ........................................... > running Makefile =============================================================================== make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/recmac' rm -f a.o65 make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/recmac' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/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.4.1/tests/recmac' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/recmac' rm -f a.o65 make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/recmac' =================================== PASSED! =================================== relmode .......................................... > running Makefile =============================================================================== make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/relmode' rm -f a.err *.o65 a.hex mixabs2* mix1 mix2 *.tmp make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/relmode' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/relmode' This should fail ../../xa mixabsolute.a65 || exit 0 && exit 1 .data mixabsolute.a65:line 14: 2006:Illegal segment error Break after 1 errors ../../xa -R mixabsolute.a65 -o mixabs2.tmp ../../file65 -v mixabs2.tmp mixabs2.tmp: o65 version 0 executable file mode: 0000 =[executable][16bit][byte relocation][CPU 6502][CPU2 6502][align 1] text segment @ $1000 - $100c [$000c bytes] data segment @ $0400 - $0402 [$0002 bytes] bss segment @ $4000 - $4000 [$0000 bytes] zero segment @ $0004 - $0004 [$0000 bytes] stack size $0000 bytes (i.e. unknown) Undefined Labels: 0 Global Labels: 5 l1 (segID=2 (text), offset=1000) l2 (segID=1 (absolute), offset=2000) l2a (segID=2 (text), offset=1006) l3 (segID=3 (data), offset=0400) l4 (segID=2 (text), offset=1009) ../../reloc65 -bt 40960 -o mixabs2 mixabs2.tmp reloc65: read file mixabs2.tmp -> mixabs2 ../hextool -cmp=b.ok < mixabs2 ../../xa -R -o mix1.o65 mix1.a65 ../../file65 -v mix1.o65 mix1.o65: o65 version 0 executable file mode: 0000 =[executable][16bit][byte relocation][CPU 6502][CPU2 6502][align 1] text segment @ $1000 - $1002 [$0002 bytes] data segment @ $0400 - $0402 [$0002 bytes] bss segment @ $4000 - $4000 [$0000 bytes] zero segment @ $0004 - $0004 [$0000 bytes] stack size $0000 bytes (i.e. unknown) Undefined Labels: 0 Global Labels: 1 NextPacketPtr (segID=3 (data), offset=0400) ../../reloc65 -X -o mix1 mix1.o65 reloc65: read file mix1.o65 -> mix1 ../hextool -cmp=mix1.ok < mix1.o65 ../../xa -R -o mix2.o65 mix2.a65 ../../file65 -v mix2.o65 mix2.o65: o65 version 0 executable file mode: 0000 =[executable][16bit][byte relocation][CPU 6502][CPU2 6502][align 1] text segment @ $1000 - $1002 [$0002 bytes] data segment @ $0400 - $0402 [$0002 bytes] bss segment @ $4000 - $4000 [$0000 bytes] zero segment @ $0004 - $0004 [$0000 bytes] stack size $0000 bytes (i.e. unknown) Undefined Labels: 0 Global Labels: 1 NextPacketPtr (segID=3 (data), offset=0400) ../../reloc65 -X -o mix2 mix2.o65 reloc65: read file mix2.o65 -> mix2 ../hextool -cmp=mix2.ok < mix2.o65 make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/relmode' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/relmode' rm -f a.err *.o65 a.hex mixabs2* mix1 mix2 *.tmp make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/relmode' =================================== PASSED! =================================== relocmode ........................................ > running Makefile =============================================================================== make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/relocmode' rm -f *.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/relocmode' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/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.4.1/tests/relocmode' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/relocmode' rm -f *.o make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/relocmode' =================================== PASSED! =================================== relocundef ....................................... > running Makefile =============================================================================== make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/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.4.1/tests/relocundef' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/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.4.1/tests/relocundef' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/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.4.1/tests/relocundef' =================================== PASSED! =================================== reset_segment .................................... > running Makefile =============================================================================== make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/reset_segment' rm -f *.o a.o65 make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/reset_segment' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/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.4.1/tests/reset_segment' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/reset_segment' rm -f *.o a.o65 make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/reset_segment' =================================== PASSED! =================================== undef ............................................ > running Makefile =============================================================================== make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/undef' rm -f a.err a.o65 b.o65 *.tmp undef2 undef3 undef5 undef6 make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/undef' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/undef' ======================================= The following should fail These should fail ../../xa undef.a65 || exit 0 && exit 1 undef.a65:line 4: 1003:Label 'l1' not defined undef.a65:line 14: 1006:Label 'l3' not defined undef.a65:line 18: 1006: Warning - Can't optimize forward-defined label; using absolute addressing Break after 2 errors ../../xa -R undef.a65 || exit 0 && exit 1 undef.a65:line 4: 1003:Label 'l1' not defined undef.a65:line 14: 1006:Label 'l3' not defined undef.a65:line 18: 1006: Warning - Can't optimize forward-defined label; using absolute addressing Break after 2 errors ../../xa -R -U -DFAIL undef.a65 || exit 0 && exit 1 undef.a65:line 4: 1000: Warning - Can't optimize forward-defined label; using absolute addressing undef.a65:line 9: 2003:Label 'l2' not defined undef.a65:line 14: 1006: Warning - Can't optimize forward-defined label; using absolute addressing undef.a65:line 18: 1009: Warning - Can't optimize forward-defined label; using absolute addressing Break after 1 errors ../../xa -R -Ll1 -Ll3 -Ll4 -Ll5 undef.a65 || exit 0 && exit 1 l4=1 undef.a65:line 21: 1009:Label already defined error l5 undef.a65:line 23: 100c:Label already defined error undef.a65:line 4: 1000: Warning - Can't optimize forward-defined label; using absolute addressing undef.a65:line 14: 1003: Warning - Can't optimize forward-defined label; using absolute addressing undef.a65:line 18: 1006: Warning - Can't optimize forward-defined label; using absolute addressing undef.a65:line 22: 1009: Warning - Can't optimize forward-defined label; using absolute addressing Break after 2 errors These should fail ../../xa undef4.a65 || exit 0 && exit 1 l1 undef4.a65:line 13: 1006:Label already defined error undef4.a65:line 4: 1003:Label 'l1' not defined undef4.a65:line 10: 1006:Label 'l1' not defined Break after 3 errors ../../xa -R undef4.a65 || exit 0 && exit 1 l1 undef4.a65:line 13: 1006:Label already defined error undef4.a65:line 4: 1003:Label 'l1' not defined undef4.a65:line 10: 1006:Label 'l1' not defined Break after 3 errors ../../xa -R -Ll1 undef4.a65 || exit 0 && exit 1 l1 undef4.a65:line 13: 1006:Label already defined error undef4.a65:line 4: 1000: Warning - Can't optimize forward-defined label; using absolute addressing undef4.a65:line 10: 1003: Warning - Can't optimize forward-defined label; using absolute addressing Break after 1 errors ../../xa -R -U undef4.a65 || exit 0 && exit 1 l1 undef4.a65:line 13: 1006:Label already defined error undef4.a65:line 4: 1000: Warning - Can't optimize forward-defined label; using absolute addressing undef4.a65:line 10: 1003: Warning - Can't optimize forward-defined label; using absolute addressing Break after 1 errors These should fail ../../xa undef5.a65 || exit 0 && exit 1 undef5.a65:line 15: 1006:Label 'l1' not defined Break after 1 errors ../../xa -R undef5.a65 || exit 0 && exit 1 undef5.a65:line 15: 1006:Label 'l1' not defined Break after 1 errors ../../xa -R -Ll1 undef5.a65 || exit 0 && exit 1 l1 undef5.a65:line 12: 1003:Label already defined error undef5.a65:line 9: 1000: Warning - Can't optimize forward-defined label; using absolute addressing undef5.a65:line 15: 1003: Warning - Can't optimize forward-defined label; using absolute addressing Break after 1 errors These should fail ../../xa undef6.a65 || exit 0 && exit 1 undef6.a65:line 25: 1009:Label 'l1' not defined Break after 1 errors ../../xa -R undef6.a65 || exit 0 && exit 1 undef6.a65:line 25: 1009:Label 'l1' not defined Break after 1 errors ../../xa -R -Ll1 undef6.a65 || exit 0 && exit 1 l1 undef6.a65:line 12: 1003:Label already defined error l1 undef6.a65:line 22: 1006:Label already defined error undef6.a65:line 9: 1000: Warning - Can't optimize forward-defined label; using absolute addressing undef6.a65:line 19: 1003: Warning - Can't optimize forward-defined label; using absolute addressing undef6.a65:line 25: 1006: Warning - Can't optimize forward-defined label; using absolute addressing Break after 2 errors ======================================= All tests meant to fail have done so correctly The following tests should pass ../../xa -R -Ll1 -Ll3 undef.a65 -o undef2.tmp undef.a65:line 4: 1000: Warning - Can't optimize forward-defined label; using absolute addressing undef.a65:line 14: 1003: Warning - Can't optimize forward-defined label; using absolute addressing undef.a65:line 18: 1006: Warning - Can't optimize forward-defined label; using absolute addressing ../../reloc65 -bt 40960 -o undef2 undef2.tmp reloc65: read file undef2.tmp -> undef2 ../hextool -cmp=undef2.ok < undef2 ../../xa -R -U undef.a65 -o undef3.tmp undef.a65:line 4: 1000: Warning - Can't optimize forward-defined label; using absolute addressing undef.a65:line 14: 1003: Warning - Can't optimize forward-defined label; using absolute addressing undef.a65:line 18: 1006: Warning - Can't optimize forward-defined label; using absolute addressing ../../reloc65 -bt 40960 -o undef3 undef3.tmp reloc65: read file undef3.tmp -> undef3 ../hextool -cmp=undef2.ok < undef3 ../../xa -R -U undef5.a65 -o undef5 undef5.a65:line 15: 1003: Warning - Can't optimize forward-defined label; using absolute addressing ../hextool -cmp=undef5.ok < undef5 ../../xa -R -U undef6.a65 -o undef6 undef6.a65:line 25: 1006: Warning - Can't optimize forward-defined label; using absolute addressing ../hextool -cmp=undef6.ok < undef6 make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/undef' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/undef' rm -f a.err a.o65 b.o65 *.tmp undef2 undef3 undef5 undef6 make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/undef' =================================== PASSED! =================================== usb65 ............................................ > running Makefile =============================================================================== make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/usb65' rm -f a.o65 make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/usb65' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/usb65' ../../xa -XC -R -U test1.a65 ../hextool -cmp=test1.o65 < a.o65 ../../xa -R -U test2.a65 ../hextool -cmp=test2.o65 < a.o65 make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/usb65' ------------------------------------------------------------------------------- make[1]: Entering directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/usb65' rm -f a.o65 make[1]: Leaving directory '/home/buildozer/aports/testing/xa/src/xa-2.4.1/tests/usb65' =================================== PASSED! =================================== chardelimiter .................................... > PASSED expando .......................................... > PASSED line ............................................. > PASSED linkr ............................................ > PASSED nonl ............................................. > PASSED ppstrings ........................................ > PASSED quotch ........................................... > PASSED recucom .......................................... > PASSED stringcom ........................................ > PASSED =============================================================================== ## ALL SELECTED TESTS PASS (ALL, n=44) ## >>> xa: Entering fakeroot... >>> xa-doc*: Running split function doc... 'usr/share/man' -> '/home/buildozer/aports/testing/xa/pkg/xa-doc/usr/share/man' >>> 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: 15.1 KB >>> xa-doc*: Compressing data... >>> xa-doc*: Create checksum... >>> xa-doc*: Create xa-doc-2.4.1-r0.apk >>> xa*: Tracing dependencies... so:libc.musl-loongarch64.so.1 >>> xa*: Package size: 460.3 KB >>> xa*: Compressing data... >>> xa*: Create checksum... >>> xa*: Create xa-2.4.1-r0.apk >>> xa: Build complete at Tue, 25 Feb 2025 12:36:41 +0000 elapsed time 0h 0m 13s >>> xa: Cleaning up srcdir >>> xa: Cleaning up pkgdir >>> xa: Uninstalling dependencies... (1/6) Purging .makedepends-xa (20250225.123629) (2/6) Purging git-perl (2.48.1-r0) (3/6) Purging perl-git (2.48.1-r0) (4/6) Purging perl-error (0.17029-r2) (5/6) Purging perl (5.40.1-r0) (6/6) Purging libbz2 (1.0.8-r6) Executing busybox-1.37.0-r14.trigger OK: 247 MiB in 103 packages >>> xa: Updating the testing/loongarch64 repository index... >>> xa: Signing the index...