D: [iurt_root_command] chroot
Building target platforms: x86_64
Building for target x86_64
Installing /home/pterjan/rpmbuild/SRPMS/xa-2.4.1-1.mga10.src.rpm
Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.UcneIW
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.7I6l9H
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/xa-2.4.1-build
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD/xa-2.4.1-build
+ rm -rf xa-2.4.1
+ /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/xa-2.4.1.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd xa-2.4.1
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/xa-2.4.1-make.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ for f in ChangeLog attic/doc/xa-de.txt attic/doc/fileformat.txt
+ iconv -f ISO-8859-1 -t UTF-8
+ touch -r ChangeLog ChangeLog.new
+ mv ChangeLog.new ChangeLog
+ for f in ChangeLog attic/doc/xa-de.txt attic/doc/fileformat.txt
+ iconv -f ISO-8859-1 -t UTF-8
+ touch -r attic/doc/xa-de.txt attic/doc/xa-de.txt.new
+ mv attic/doc/xa-de.txt.new attic/doc/xa-de.txt
+ for f in ChangeLog attic/doc/xa-de.txt attic/doc/fileformat.txt
+ iconv -f ISO-8859-1 -t UTF-8
+ touch -r attic/doc/fileformat.txt attic/doc/fileformat.txt.new
+ mv attic/doc/fileformat.txt.new attic/doc/fileformat.txt
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.XlpP3e
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/xa-2.4.1-build
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd xa-2.4.1
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ /usr/bin/make -O -j16 V=1 VERBOSE=1 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
(cd src && LD=gcc CC="gcc" CFLAGS="-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full" /usr/bin/make)
(cd misc && CC="gcc" CFLAGS="-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full" /usr/bin/make)
rm -f xa
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/misc'
cp mkrom.sh ../mkrom.sh
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/misc'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/src'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full   -c -o xacharset.o xacharset.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/src'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full   -c -o xar2.o xar2.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/src'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full   -c -o xao.o xao.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/src'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full   -c -o xau.o xau.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/src'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full   -c -o xam.o xam.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/src'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full   -c -o xaa.o xaa.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/src'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full   -c -o xar.o xar.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/misc'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full printcbm.c -o ../printcbm
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/misc'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/misc'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full uncpk.c -o ../uncpk
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/misc'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/misc'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full file65.c -o ../file65
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/misc'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/misc'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full reloc65.c -o ../reloc65
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/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/misc'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/src'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full   -c -o xal.o xal.c
xal.c: In function 'printllist':
xal.c:91:6: warning: old-style function definition [-Wold-style-definition]
   91 | void printllist(fp)
      |      ^~~~~~~~~~
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/src'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full   -c -o xalisting.o xalisting.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/src'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full   -c -o xa.o xa.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/src'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full   -c -o xap.o xap.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/misc'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ldo65.c -o ../ldo65
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/misc'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/src'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full   -c -o xat.o xat.c
xat.c: In function 'tg_dez':
xat.c:2702:13: warning: old-style function definition [-Wold-style-definition]
 2702 | static void tg_dez(s,l,v)
      |             ^~~~~~
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/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[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/src'
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.M6UmM5
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/xa-2.4.1-build
+ '[' 1 -eq 1 ']'
+ '[' /home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/BUILDROOT '!=' / ']'
+ rm -rf /home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/BUILDROOT
++ dirname /home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/BUILDROOT
+ mkdir -p /home/pterjan/rpmbuild/BUILD/xa-2.4.1-build
+ mkdir /home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/BUILDROOT
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd xa-2.4.1
+ '[' 1 -eq 1 ']'
+ /usr/bin/make install DESTDIR=/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/BUILDROOT 'INSTALL=/usr/bin/install -p' PREFIX=/usr
rm -f xa
(cd src && LD=gcc CC="gcc" CFLAGS="-O2 -g" /usr/bin/make)
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/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[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/src'
mkdir -p /home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/BUILDROOT/usr/bin
mkdir -p /home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/BUILDROOT/usr/share/man/man1
/usr/bin/install -p -m 0755 xa reloc65 ldo65 file65 printcbm uncpk /home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/BUILDROOT/usr/bin
/usr/bin/install -p -m 0644 man/file65.1 man/ldo65.1 man/printcbm.1 man/reloc65.1 man/uncpk.1 man/xa.1 /home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/BUILDROOT/usr/share/man/man1
#mkdir -p /home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/BUILDROOT/usr/share/doc/xa65
+ /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 2.4.1-1.mga10 --unique-debug-suffix -2.4.1-1.mga10.x86_64 --unique-debug-src-base xa-2.4.1-1.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1
find-debuginfo: starting

Extracting debug info from 6 files
DWARF-compressing 6 files
sepdebugcrcfix: Updated 6 CRC32s, 0 CRC32s did match.
Creating .debug symlinks for symlinks to ELF files
Copying sources found by 'debugedit -l' to /usr/src/debug/xa-2.4.1-1.mga10.x86_64
find-debuginfo: done
+ /usr/lib/rpm/check-buildroot
+ '[' -n '' ']'
+ /usr/share/spec-helper/clean_files
+ '[' -n '' ']'
+ /usr/share/spec-helper/compress_files .xz
+ '[' -n '' ']'
+ /usr/share/spec-helper/relink_symlinks
+ '[' -n '' ']'
+ /usr/share/spec-helper/clean_perl
+ '[' -n '' ']'
+ /usr/share/spec-helper/lib_symlinks
+ '[' -n '' ']'
+ /usr/share/spec-helper/gprintify
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_mo
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_pamd
+ '[' -n '' ']'
+ /usr/share/spec-helper/remove_info_dir
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_eol
+ '[' -n '' ']'
+ /usr/share/spec-helper/check_desktop_files
+ '[' -n '' ']'
+ /usr/share/spec-helper/check_elf_files
+ /usr/lib/rpm/check-rpaths
+ /usr/lib/rpm/brp-remove-la-files
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
+ env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16
+ /usr/lib/rpm/redhat/brp-python-hardlink
Reading /home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/SPECPARTS/rpm-debuginfo.specpart
Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.NIrKTU
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/xa-2.4.1-build
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd xa-2.4.1
+ '[' 1 -eq 1 ']'
+ /usr/bin/make test
rm -rf xa
/usr/bin/make xa
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1'
(cd src && LD=gcc CC="gcc" CFLAGS="-O2 -g" /usr/bin/make)
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/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/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/src'
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1'
/usr/bin/make uncpk
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1'
make[1]: 'uncpk' is up to date.
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1'
cd tests && ./harness \
	-tests="ALL" \
	-cc="gcc" -cflags="-O2 -g"  \
	-make="/usr/bin/make" -makeflags=""
CC = gcc
CFLAGS = -O2 -g
MAKE = /usr/bin/make
MAKEFLAGS = 
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/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/adrm'
rm -f *.o
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/adrm'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/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/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/adrm'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/adrm'
rm -f *.o
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/adrm'
=================================== PASSED! ===================================
align ............................................ > running Makefile
===============================================================================
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/align'
rm -f *.o65 *.hex
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/align'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/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/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/align'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/align'
rm -f *.o65 *.hex
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/align'
=================================== PASSED! ===================================
alxl ............................................. > running Makefile
===============================================================================
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/alxl'
rm -f *.o
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/alxl'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/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/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/alxl'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/alxl'
rm -f *.o
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/alxl'
=================================== PASSED! ===================================
aserr ............................................ > running Makefile
===============================================================================
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/aserr'
rm -f a.o65
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/aserr'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/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/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/aserr'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/aserr'
rm -f a.o65
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/aserr'
=================================== PASSED! ===================================
binclude ......................................... > running Makefile
===============================================================================
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/binclude'
rm -f *.o
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/binclude'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/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/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/binclude'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/binclude'
rm -f *.o
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/binclude'
=================================== PASSED! ===================================
branch ........................................... > running Makefile
===============================================================================
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/branch'
rm -f *.o
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/branch'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/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/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/branch'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/branch'
rm -f *.o
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/branch'
=================================== PASSED! ===================================
ca65 ............................................. > running Makefile
===============================================================================
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/ca65'
rm -f *.err a.o65 unnamed1 unnamed2 escape1 escape2 lll
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/ca65'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/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/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/ca65'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/ca65'
rm -f *.err a.o65 unnamed1 unnamed2 escape1 escape2 lll
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/ca65'
=================================== PASSED! ===================================
charset .......................................... > running Makefile
===============================================================================
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/charset'
rm -rf a.o65
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/charset'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/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/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/charset'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/charset'
rm -rf a.o65
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/charset'
=================================== PASSED! ===================================
chppch ........................................... > running Makefile
===============================================================================
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/chppch'
rm -f a.o65 test.out
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/chppch'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/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/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/chppch'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/chppch'
rm -f a.o65 test.out
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/chppch'
=================================== PASSED! ===================================
cll .............................................. > running Makefile
===============================================================================
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/cll'
rm -f *.o65
rm -f test1
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/cll'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/cll'
../../xa -XCA65 -o test1.o65 
No input files given!
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/cll'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/cll'
rm -f *.o65
rm -f test1
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/cll'
=================================== PASSED! ===================================
comcom ........................................... > running Makefile
===============================================================================
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/comcom'
rm -f a.o65
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/comcom'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/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/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/comcom'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/comcom'
rm -f a.o65
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/comcom'
=================================== PASSED! ===================================
cpktest .......................................... > running Makefile
===============================================================================
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/cpktest'
rm -f *.o test.l
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/cpktest'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/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/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/cpktest'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/cpktest'
rm -f *.o test.l
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/cpktest'
=================================== PASSED! ===================================
cpp .............................................. > running Makefile
===============================================================================
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/cpp'
rm -f over.asm a.o65
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/cpp'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/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/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/cpp'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/cpp'
rm -f over.asm a.o65
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/cpp'
=================================== PASSED! ===================================
csapiec .......................................... > running Makefile
===============================================================================
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/csapiec'
rm -f *.o
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/csapiec'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/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/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/csapiec'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/csapiec'
rm -f *.o
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/csapiec'
=================================== PASSED! ===================================
dos51 ............................................ > running Makefile
===============================================================================
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/dos51'
rm -f *.o
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/dos51'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/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/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/dos51'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/dos51'
rm -f *.o
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/dos51'
=================================== PASSED! ===================================
fordef ........................................... > running Makefile
===============================================================================
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/fordef'
rm -f a.o65 test.out
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/fordef'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/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/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/fordef'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/fordef'
rm -f a.o65 test.out
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/fordef'
=================================== PASSED! ===================================
incerr ........................................... > running Makefile
===============================================================================
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/incerr'
rm -f a.o65
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/incerr'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/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/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/incerr'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/incerr'
rm -f a.o65
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/incerr'
=================================== PASSED! ===================================
ldoreloc ......................................... > running Makefile
===============================================================================
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/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/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/ldoreloc'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/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: linked10.o65: Warning: undefined relocation table entry not handled!
reloc65: read file linked10.o65 -> t10
../hextool -cmp=t10 < t10.ok
../../ldo65 -U -o linked11.o65 2.o65 10.o65
../../reloc65 -bt 32768 -xt -o t11 linked11.o65
reloc65: linked11.o65: Warning: undefined relocation table entry not handled!
reloc65: read file linked11.o65 -> t11
../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: linked20.o65: Warning: undefined relocation table entry not handled!
reloc65: linked20.o65: Warning: undefined relocation table entry not handled!
reloc65: read file linked20.o65 -> t20
../hextool -cmp=t20 < t20.ok
../../ldo65 -L l1 -o linked21.o65 20.o65 2.o65
../../reloc65 -bt 32768 -xt -o t21 linked21.o65
reloc65: linked21.o65: Warning: undefined relocation table entry not handled!
reloc65: linked21.o65: Warning: undefined relocation table entry not handled!
reloc65: read file linked21.o65 -> t21
../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/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/ldoreloc'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/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/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/ldoreloc'
=================================== PASSED! ===================================
listing .......................................... > running Makefile
===============================================================================
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/listing'
rm -f *.err *x.out *x.html *x.o65
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/listing'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/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/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/listing'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/listing'
rm -f *.err *x.out *x.html *x.o65
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/listing'
=================================== PASSED! ===================================
masmcom .......................................... > running Makefile
===============================================================================
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/masmcom'
rm -f *.o
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/masmcom'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/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/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/masmcom'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/masmcom'
rm -f *.o
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/masmcom'
=================================== PASSED! ===================================
math ............................................. > running Makefile
===============================================================================
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/math'
rm -f *.o
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/math'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/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/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/math'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/math'
rm -f *.o
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/math'
=================================== PASSED! ===================================
mode ............................................. > running Makefile
===============================================================================
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/mode'
rm -f *.o65 *.tmp
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/mode'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/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
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)
Info: Alignment at 256-boundaries required
../../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
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)
Info: Alignment at 256-boundaries required
../../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
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)
Info: Alignment at 256-boundaries required
../../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
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)
Info: Alignment at 256-boundaries required
../../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/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/mode'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/mode'
rm -f *.o65 *.tmp
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/mode'
=================================== PASSED! ===================================
mvnmvp ........................................... > running Makefile
===============================================================================
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/mvnmvp'
rm -f *.o
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/mvnmvp'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/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/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/mvnmvp'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/mvnmvp'
rm -f *.o
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/mvnmvp'
=================================== PASSED! ===================================
neg_offset ....................................... > running Makefile
===============================================================================
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/neg_offset'
rm -f *.o
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/neg_offset'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/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/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/neg_offset'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/neg_offset'
rm -f *.o
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/neg_offset'
=================================== PASSED! ===================================
op816 ............................................ > running Makefile
===============================================================================
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/op816'
rm -f *.o
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/op816'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/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/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/op816'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/op816'
rm -f *.o
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/op816'
=================================== PASSED! ===================================
openpp ........................................... > running Makefile
===============================================================================
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/openpp'
rm -f *.o
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/openpp'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/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/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/openpp'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/openpp'
rm -f *.o
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/openpp'
=================================== PASSED! ===================================
pparity .......................................... > running Makefile
===============================================================================
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/pparity'
rm -f *.o
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/pparity'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/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/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/pparity'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/pparity'
rm -f *.o
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/pparity'
=================================== PASSED! ===================================
ppdefines ........................................ > running Makefile
===============================================================================
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/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/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/ppdefines'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/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/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/ppdefines'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/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/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/ppdefines'
=================================== PASSED! ===================================
recmac ........................................... > running Makefile
===============================================================================
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/recmac'
rm -f a.o65
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/recmac'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/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/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/recmac'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/recmac'
rm -f a.o65
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/recmac'
=================================== PASSED! ===================================
relmode .......................................... > running Makefile
===============================================================================
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/relmode'
rm -f a.err *.o65 a.hex  mixabs2* mix1 mix2 *.tmp
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/relmode'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/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/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/relmode'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/relmode'
rm -f a.err *.o65 a.hex  mixabs2* mix1 mix2 *.tmp
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/relmode'
=================================== PASSED! ===================================
relocmode ........................................ > running Makefile
===============================================================================
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/relocmode'
rm -f *.o
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/relocmode'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/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/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/relocmode'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/relocmode'
rm -f *.o
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/relocmode'
=================================== PASSED! ===================================
relocundef ....................................... > running Makefile
===============================================================================
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/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/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/relocundef'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/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: test1.o65: Warning: undefined relocation table entry not handled!
reloc65: read file test1.o65 -> a.o65
../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/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/relocundef'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/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/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/relocundef'
=================================== PASSED! ===================================
reset_segment .................................... > running Makefile
===============================================================================
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/reset_segment'
rm -f *.o a.o65
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/reset_segment'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/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/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/reset_segment'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/reset_segment'
rm -f *.o a.o65
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/reset_segment'
=================================== PASSED! ===================================
undef ............................................ > running Makefile
===============================================================================
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/undef'
rm -f a.err a.o65 b.o65 *.tmp undef2 undef3 undef5 undef6
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/undef'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/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/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/undef'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/undef'
rm -f a.err a.o65 b.o65 *.tmp undef2 undef3 undef5 undef6
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/undef'
=================================== PASSED! ===================================
usb65 ............................................ > running Makefile
===============================================================================
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/usb65'
rm -f a.o65
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/usb65'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/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/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/usb65'
-------------------------------------------------------------------------------
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/tests/usb65'
rm -f a.o65
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/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) ##
+ RPM_EC=0
++ jobs -p
+ exit 0
Processing files: xa-2.4.1-1.mga10.x86_64
Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.luEfSS
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/xa-2.4.1-build
+ cd xa-2.4.1
+ DOCDIR=/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/BUILDROOT/usr/share/doc/xa
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/BUILDROOT/usr/share/doc/xa
+ cp -pr /home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/ChangeLog /home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/BUILDROOT/usr/share/doc/xa
+ cp -pr /home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/README.1st /home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/BUILDROOT/usr/share/doc/xa
+ cp -pr /home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/attic/doc/xa.txt /home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/BUILDROOT/usr/share/doc/xa
+ cp -pr /home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/attic/doc/fileformat.txt /home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/BUILDROOT/usr/share/doc/xa
+ cp -pr /home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/attic/doc/xa-de.txt /home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/BUILDROOT/usr/share/doc/xa
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%license): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.PnGL8J
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/xa-2.4.1-build
+ cd xa-2.4.1
+ LICENSEDIR=/home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/BUILDROOT/usr/share/licenses/xa
+ export LC_ALL=C
+ LC_ALL=C
+ export LICENSEDIR
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/BUILDROOT/usr/share/licenses/xa
+ cp -pr /home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/xa-2.4.1/COPYING /home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/BUILDROOT/usr/share/licenses/xa
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: xa = 2.4.1-1.mga10 xa(x86-64) = 2.4.1-1.mga10
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit)
Processing files: xa-debugsource-2.4.1-1.mga10.x86_64
Provides: xa-debugsource = 2.4.1-1.mga10 xa-debugsource(x86-64) = 2.4.1-1.mga10
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: xa-debuginfo-2.4.1-1.mga10.x86_64
Provides: debuginfo(build-id) = 1fd82e8e5323cc11f77922f95950e9b6663202d6 debuginfo(build-id) = 2116c1b4a8f0d80cbf950156eeb4d4ed84f3dcb8 debuginfo(build-id) = 211edd4a5c74243feb64e1aceec03e85cce97e88 debuginfo(build-id) = 3d5795faaac67c089f02bb20f3456c29de0e9dd7 debuginfo(build-id) = 5ef3d41380695bc97e0ad11a35fad1b89f720cb3 debuginfo(build-id) = 6931566e1e2d7dfbf1b0d546181e9629f5e6eab7 xa-debuginfo = 2.4.1-1.mga10 xa-debuginfo(x86-64) = 2.4.1-1.mga10
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: xa-debugsource(x86-64) = 2.4.1-1.mga10
Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/xa-2.4.1-build/BUILDROOT
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/xa-2.4.1-1.mga10.x86_64.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/xa-debuginfo-2.4.1-1.mga10.x86_64.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/xa-debugsource-2.4.1-1.mga10.x86_64.rpm
Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.xQN3IZ
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/xa-2.4.1-build
+ test -d /home/pterjan/rpmbuild/BUILD/xa-2.4.1-build
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/xa-2.4.1-build
+ rm -rf /home/pterjan/rpmbuild/BUILD/xa-2.4.1-build
+ RPM_EC=0
++ jobs -p
+ exit 0
D: [iurt_root_command] Success!