Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/xa.spec'], chrootPath='/var/lib/mock/f41-build-844719-162557/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/xa.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1721433600 Wrote: /builddir/build/SRPMS/xa-2.4.1-2.fc41.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/xa.spec'], chrootPath='/var/lib/mock/f41-build-844719-162557/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/xa.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1721433600 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.HPHaYE + umask 022 + cd /builddir/build/BUILD/xa-2.4.1-build + test -d /builddir/build/BUILD/xa-2.4.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/xa-2.4.1-build + /usr/bin/rm -rf /builddir/build/BUILD/xa-2.4.1-build + /usr/bin/mkdir -p /builddir/build/BUILD/xa-2.4.1-build + /usr/bin/mkdir -p /builddir/build/BUILD/xa-2.4.1-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.o6hYvb + umask 022 + cd /builddir/build/BUILD/xa-2.4.1-build + cd /builddir/build/BUILD/xa-2.4.1-build + rm -rf xa-2.4.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/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 /builddir/build/SOURCES/xa-2.4.0-make.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + for f in ChangeLog + iconv -f ISO-8859-1 -t UTF-8 + touch -r ChangeLog ChangeLog.new + mv ChangeLog.new ChangeLog + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.X3Na8E + umask 022 + cd /builddir/build/BUILD/xa-2.4.1-build + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + 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 + /usr/bin/make -O -j4 V=1 VERBOSE=1 'CFLAGS=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' (cd src && LD=gcc CC="gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer " /usr/bin/make) (cd misc && CC="gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer " /usr/bin/make) rm -f xa make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/misc' cp mkrom.sh ../mkrom.sh make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/misc' make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/src' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o xaa.o xaa.c make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/src' make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/misc' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer uncpk.c -o ../uncpk make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/misc' make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/misc' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer printcbm.c -o ../printcbm make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/misc' make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/src' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o xal.o xal.c make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/src' make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/misc' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer file65.c -o ../file65 file65.c: In function ‘read_options’: file65.c:271:16: warning: variable ‘d’ set but not used [-Wunused-but-set-variable] 271 | int c, d, l=0; | ^ make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/misc' make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/src' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o xa.o xa.c make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/src' xa.c: In function ‘main’: xa.c:142:11: warning: unused variable ‘old_o’ [-Wunused-variable] 142 | char old_o[MAXLINE]; | ^~~~~ xa.c:141:11: warning: unused variable ‘old_l’ [-Wunused-variable] 141 | char old_l[MAXLINE]; | ^~~~~ xa.c:140:11: warning: unused variable ‘old_e’ [-Wunused-variable] 140 | char old_e[MAXLINE]; | ^~~~~ xa.c: At top level: xa.c:652:12: warning: ‘setfext’ defined but not used [-Wunused-function] 652 | static int setfext(char *s, char *ext) | ^~~~~~~ xa.c: In function ‘pass2’: xa.c:704:11: warning: storing the address of local variable ‘datei’ in ‘filep’ [-Wdangling-pointer=] 704 | filep=&datei; | ~~~~~^~~~~~~ xa.c:691:12: note: ‘datei’ declared here 691 | Datei datei; | ^~~~~ In file included from xa.c:44: xap.h:41:15: note: ‘filep’ declared here 41 | extern Datei *filep; | ^~~~~ make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/src' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o xap.o xap.c make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/src' xap.c: In function ‘pgetline’: xap.c:1015:12: warning: unused variable ‘q’ [-Wunused-variable] 1015 | char *q = 0; | ^ xap.c:1014:12: warning: unused variable ‘p’ [-Wunused-variable] 1014 | char *p = 0; | ^ make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/src' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o xar.o xar.c make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/src' make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/src' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o xar2.o xar2.c make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/src' make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/src' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o xau.o xau.c make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/src' make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/src' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o xao.o xao.c make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/src' make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/misc' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer 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 '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/misc' make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/src' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o xacharset.o xacharset.c make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/src' make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/src' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o xam.o xam.c make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/src' make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/src' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o xalisting.o xalisting.c make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/src' make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/misc' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ldo65.c -o ../ldo65 ldo65.c: In function ‘resolve_undef’: ldo65.c:896:56: warning: pointer targets in passing argument 1 of ‘find_global’ differ in signedness [-Wpointer-sign] 896 | current->resolved = find_global(current->name); | ~~~~~~~^~~~~~ | | | char * ldo65.c:145:32: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 145 | int find_global(unsigned char *name); | ~~~~~~~~~~~~~~~^~~~ ldo65.c: In function ‘reloc_globals’: ldo65.c:992:16: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 992 | name = buf; | ^ ldo65.c: In function ‘find_global’: ldo65.c:1245:41: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness [-Wpointer-sign] 1245 | if (!strcmp(gp[i].name, name)) { | ^~~~ | | | unsigned char * In file included from ldo65.c:26: /usr/include/string.h:156:50: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/misc' make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/src' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o xat.o xat.c xat.c: In function ‘t_conv’: xat.c:2367:46: warning: pointer targets in passing argument 1 of ‘lg_toglobal’ differ in signedness [-Wpointer-sign] 2367 | lg_toglobal(s+p); | ~^~ | | | signed char * In file included from xat.c:42: xal.h:41:17: note: expected ‘char *’ but argument is of type ‘signed char *’ 41 | int lg_toglobal(char *); | ^~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/src' make[1]: Entering directory '/builddir/build/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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/src' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ultnsF + umask 022 + cd /builddir/build/BUILD/xa-2.4.1-build + '[' /builddir/build/BUILD/xa-2.4.1-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/xa-2.4.1-build/BUILDROOT ++ dirname /builddir/build/BUILD/xa-2.4.1-build/BUILDROOT + mkdir -p /builddir/build/BUILD/xa-2.4.1-build + mkdir /builddir/build/BUILD/xa-2.4.1-build/BUILDROOT + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + 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 + /usr/bin/make install DESTDIR=/builddir/build/BUILD/xa-2.4.1-build/BUILDROOT 'INSTALL=/usr/bin/install -p' PREFIX=/usr 'CFLAGS=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' rm -f xa (cd src && LD=gcc CC="gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer " /usr/bin/make) make[1]: Entering directory '/builddir/build/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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/src' mkdir -p /builddir/build/BUILD/xa-2.4.1-build/BUILDROOT/usr/bin mkdir -p /builddir/build/BUILD/xa-2.4.1-build/BUILDROOT/usr/share/man/man1 /usr/bin/install -p -m 0755 xa reloc65 ldo65 file65 printcbm uncpk /builddir/build/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 /builddir/build/BUILD/xa-2.4.1-build/BUILDROOT/usr/share/man/man1 #mkdir -p /builddir/build/BUILD/xa-2.4.1-build/BUILDROOT/usr/share/doc/xa65 + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 2.4.1-2.fc41 --unique-debug-suffix -2.4.1-2.fc41.riscv64 --unique-debug-src-base xa-2.4.1-2.fc41.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/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-2.fc41.riscv64 641 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j4 /builddir/build/BUILD/xa-2.4.1-build/BUILDROOT Scanned 16 directories and 51 files, processed 0 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/xa-2.4.1-build/SPECPARTS/rpm-debuginfo.specpart Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.kXTk0v + umask 022 + cd /builddir/build/BUILD/xa-2.4.1-build + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + 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 + make test rm -rf xa make xa make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1' (cd src && LD=gcc CC="gcc -O2 -g" make) make[2]: Entering directory '/builddir/build/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 '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/src' make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1' make uncpk make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1' make[1]: 'uncpk' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1' cd tests && ./harness \ -tests="ALL" \ -cc="gcc" -cflags="-O2 -g" \ -make="make" -makeflags="" CC = gcc CFLAGS = -O2 -g MAKE = 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 '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/adrm' rm -f *.o make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/adrm' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/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 # expected-to-fail tests did fail. should be no more errors now. Break after 2 errors ../../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 '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/adrm' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/adrm' rm -f *.o make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/adrm' =================================== PASSED! =================================== align ............................................ > running Makefile =============================================================================== make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/align' rm -f *.o65 *.hex make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/align' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/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 '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/align' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/align' rm -f *.o65 *.hex make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/align' =================================== PASSED! =================================== alxl ............................................. > running Makefile =============================================================================== make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/alxl' rm -f *.o make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/alxl' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/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 ../../xa alxlx2.s || exit 0 && exit 1 Break after 5 errors 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 ../../xa -w alxlx2.s || exit 0 && exit 1 Break after 2 errors 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 # expected-to-fail tests did fail. should be no more errors now. Break after 3 errors ../../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 '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/alxl' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/alxl' rm -f *.o make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/alxl' =================================== PASSED! =================================== aserr ............................................ > running Makefile =============================================================================== make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/aserr' rm -f a.o65 make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/aserr' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/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 '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/aserr' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/aserr' rm -f a.o65 make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/aserr' =================================== PASSED! =================================== binclude ......................................... > running Makefile =============================================================================== make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/binclude' rm -f *.o make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/binclude' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/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 '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/binclude' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/binclude' rm -f *.o make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/binclude' =================================== PASSED! =================================== branch ........................................... > running Makefile =============================================================================== make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/branch' rm -f *.o make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/branch' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/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 '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/branch' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/branch' rm -f *.o make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/branch' =================================== PASSED! =================================== ca65 ............................................. > running Makefile =============================================================================== make[1]: Entering directory '/builddir/build/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 '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/ca65' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/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 ../../xa -a lll.a65 -o lll || exit 0 && exit 1 Break after 5 errors 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 ../../xa -w lll.a65 -o lll || exit 0 && exit 1 Break after 5 errors 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 # should work Break after 5 errors ../../xa -XCA65 lll.a65 -o lll ../hextool -cmp=lll.out < lll make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/ca65' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/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 '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/ca65' =================================== PASSED! =================================== charset .......................................... > running Makefile =============================================================================== make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/charset' rm -rf a.o65 make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/charset' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/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 '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/charset' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/charset' rm -rf a.o65 make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/charset' =================================== PASSED! =================================== chppch ........................................... > running Makefile =============================================================================== make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/chppch' rm -f a.o65 test.out make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/chppch' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/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 ../hextool -cmp=ok.out < test.out 5+5=5+5=10 make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/chppch' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/chppch' rm -f a.o65 test.out make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/chppch' =================================== PASSED! =================================== cll .............................................. > running Makefile =============================================================================== make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/cll' rm -f *.o65 rm -f test1 make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/cll' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/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 '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/cll' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/cll' rm -f *.o65 rm -f test1 make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/cll' =================================== PASSED! =================================== comcom ........................................... > running Makefile =============================================================================== make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/comcom' rm -f a.o65 make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/comcom' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/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 # it did fail. these should now all succeed. Break after 4 errors ../../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 '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/comcom' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/comcom' rm -f a.o65 make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/comcom' =================================== PASSED! =================================== cpktest .......................................... > running Makefile =============================================================================== make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/cpktest' rm -f *.o test.l make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/cpktest' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/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 '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/cpktest' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/cpktest' rm -f *.o test.l make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/cpktest' =================================== PASSED! =================================== cpp .............................................. > running Makefile =============================================================================== make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/cpp' rm -f over.asm a.o65 make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/cpp' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/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 '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/cpp' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/cpp' rm -f over.asm a.o65 make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/cpp' =================================== PASSED! =================================== csapiec .......................................... > running Makefile =============================================================================== make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/csapiec' rm -f *.o make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/csapiec' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/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 '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/csapiec' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/csapiec' rm -f *.o make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/csapiec' =================================== PASSED! =================================== dos51 ............................................ > running Makefile =============================================================================== make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/dos51' rm -f *.o make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/dos51' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/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 '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/dos51' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/dos51' rm -f *.o make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/dos51' =================================== PASSED! =================================== fordef ........................................... > running Makefile =============================================================================== make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/fordef' rm -f a.o65 test.out make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/fordef' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/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 '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/fordef' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/fordef' rm -f a.o65 test.out make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/fordef' =================================== PASSED! =================================== incerr ........................................... > running Makefile =============================================================================== make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/incerr' rm -f a.o65 make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/incerr' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/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 '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/incerr' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/incerr' rm -f a.o65 make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/incerr' =================================== PASSED! =================================== ldoreloc ......................................... > running Makefile =============================================================================== make[1]: Entering directory '/builddir/build/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 '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/ldoreloc' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/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 '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/ldoreloc' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/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 '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/ldoreloc' =================================== PASSED! =================================== listing .......................................... > running Makefile =============================================================================== make[1]: Entering directory '/builddir/build/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 '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/listing' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/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 '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/listing' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/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 '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/listing' =================================== PASSED! =================================== masmcom .......................................... > running Makefile =============================================================================== make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/masmcom' rm -f *.o make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/masmcom' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/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 '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/masmcom' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/masmcom' rm -f *.o make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/masmcom' =================================== PASSED! =================================== math ............................................. > running Makefile =============================================================================== make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/math' rm -f *.o make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/math' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/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 '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/math' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/math' rm -f *.o make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/math' =================================== PASSED! =================================== mode ............................................. > running Makefile =============================================================================== make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/mode' rm -f *.o65 *.tmp make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/mode' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/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 Info: Alignment at 256-boundaries required Error: text segment start address ($0401) not aligned as required by first file (at 2 bytes) Error: data segment start address ($0401) not aligned as required by first file (at 2 bytes) ../../ldo65 -bt 1026 -bd 1026 -o test4.o65 ab2.o65 at2.o65 ad2.o65 ab4.o65 at4.o65 ad4.o65 ad256.o65 at256.o65 ab256.o65 || exit 0 && exit 1 Info: Alignment at 256-boundaries required Error: text segment start address ($0402) not aligned as first required by file ad256.o65 (at 256 bytes) Error: data segment start address ($0402) not aligned as first required by file ad256.o65 (at 256 bytes) ../../ldo65 -bt 1027 -bd 1027 -o test4.o65 ab2.o65 at2.o65 ad2.o65 ab4.o65 at4.o65 ad4.o65 ad256.o65 at256.o65 ab256.o65 || exit 0 && exit 1 Info: Alignment at 256-boundaries required Error: text segment start address ($0403) not aligned as required by first file (at 2 bytes) Error: data segment start address ($0403) not aligned as required by first file (at 2 bytes) ../../ldo65 -bt 1028 -bd 1028 -o test4.o65 ab2.o65 at2.o65 ad2.o65 ab4.o65 at4.o65 ad4.o65 ad256.o65 at256.o65 ab256.o65 || exit 0 && exit 1 Info: Alignment at 256-boundaries required Error: text segment start address ($0404) not aligned as first required by file ad256.o65 (at 256 bytes) Error: data segment start address ($0404) not aligned as first required by file ad256.o65 (at 256 bytes) ../../reloc65 -C 65816 -o c65816-at2.o65 at2.o65 reloc65: read file at2.o65 -> c65816-at2.o65 ../hextool -cmp=c65816-at2.o65.ok c65816-at2.o65 ../../reloc65 -C 65816 -o c65816-ad4.o65 ad4.o65 reloc65: read file ad4.o65 -> c65816-ad4.o65 ../hextool -cmp=c65816-ad4.o65.ok c65816-ad4.o65 ../../reloc65 -C 6502 -o c6502-at2.o65 at2.o65 reloc65: read file at2.o65 -> c6502-at2.o65 ../hextool -cmp=c6502-at2.o65.ok c6502-at2.o65 ../../reloc65 -C 6502 -o c6502-ad4.o65 ad4.o65 reloc65: read file ad4.o65 -> c6502-ad4.o65 ../hextool -cmp=c6502-ad4.o65.ok c6502-ad4.o65 ../../reloc65 -C NMOS6502 -o n6502-at2.o65 at2.o65 reloc65: read file at2.o65 -> n6502-at2.o65 ../hextool -cmp=n6502-at2.o65.ok n6502-at2.o65 ../../reloc65 -C NMOS6502 -o n6502-ad4.o65 ad4.o65 reloc65: read file ad4.o65 -> n6502-ad4.o65 ../hextool -cmp=n6502-ad4.o65.ok n6502-ad4.o65 ../../reloc65 -C 65SC02 -o c65sc02-at2.o65 at2.o65 reloc65: read file at2.o65 -> c65sc02-at2.o65 ../hextool -cmp=c65sc02-at2.o65.ok c65sc02-at2.o65 ../../reloc65 -C 65SC02 -o c65sc02-ad4.o65 ad4.o65 reloc65: read file ad4.o65 -> c65sc02-ad4.o65 ../hextool -cmp=c65sc02-ad4.o65.ok c65sc02-ad4.o65 ../../reloc65 -C 65C02 -o c65c02-at2.o65 at2.o65 reloc65: read file at2.o65 -> c65c02-at2.o65 ../hextool -cmp=c65c02-at2.o65.ok c65c02-at2.o65 ../../reloc65 -C 65C02 -o c65c02-ad4.o65 ad4.o65 reloc65: read file ad4.o65 -> c65c02-ad4.o65 ../hextool -cmp=c65c02-ad4.o65.ok c65c02-ad4.o65 ../../reloc65 -C 65CE02 -o c65ce02-at2.o65 at2.o65 reloc65: read file at2.o65 -> c65ce02-at2.o65 ../hextool -cmp=c65ce02-at2.o65.ok c65ce02-at2.o65 ../../reloc65 -C 65CE02 -o c65ce02-ad4.o65 ad4.o65 reloc65: read file ad4.o65 -> c65ce02-ad4.o65 ../hextool -cmp=c65ce02-ad4.o65.ok c65ce02-ad4.o65 # prereq for the following ../../reloc65 -o relocsame.o65 c65816-ad4.o65 reloc65: read file c65816-ad4.o65 -> relocsame.o65 ../hextool -cmp=c65816-ad4.o65 relocsame.o65 ../../reloc65 -o relocsame.o65 c65sc02-at2.o65 reloc65: read file c65sc02-at2.o65 -> relocsame.o65 ../hextool -cmp=c65sc02-at2.o65 relocsame.o65 # overwrite 65816 with nmos 6502 ../../reloc65 -C NMOS6502 -o overwrite-1.o65 c65816-at2.o65 reloc65: read file c65816-at2.o65 -> overwrite-1.o65 ../hextool -cmp=n6502-at2.o65 overwrite-1.o65 # overwrite 65sc02 with 65c02 ../../reloc65 -C 65C02 -o overwrite-2.o65 c65sc02-ad4.o65 reloc65: read file c65sc02-ad4.o65 -> overwrite-2.o65 ../hextool -cmp=c65c02-ad4.o65 overwrite-2.o65 ../../ldo65 -v -o linkup1.tmp.tmp c6502-ad4.o65 c65c02-at2.o65 c65sc02-ad4.o65 Starting CPU type calculation with mode documented 6502 (0) ... Matching file c6502-ad4.o65 with CPU documented 6502 (0) to target documented 6502 (0) ... ... to new target documented 6502 (0) Matching file c65c02-at2.o65 with CPU 65C02 (CMOS with BBR/BBS/RMB/SMB) (1) to target documented 6502 (0) ... ... to new target 65C02 (CMOS with BBR/BBS/RMB/SMB) (1) Matching file c65sc02-ad4.o65 with CPU 65SC02 (CMOS without BBR/BBS/RMB/SMB) (2) to target 65C02 (CMOS with BBR/BBS/RMB/SMB) (1) ... ... to new target 65C02 (CMOS with BBR/BBS/RMB/SMB) (1) Info: Alignment at 4-boundaries required Relocating file: c6502-ad4.o65 [CPU documented 6502] text: align fill 0000, relocate from 1000 to 0400 (diff is fffff400, length is 0000) data: align fill 0000, relocate from 0400 to 1000 (diff is 0c00, length is 0001) bss: align fill 0000, relocate from 4000 to 4000 (diff is 0000, length is 0000) zero: relocate from 04 to 02 (diff is fffffffe, length is 00) Relocating file: c65c02-at2.o65 [CPU 65C02 (CMOS with BBR/BBS/RMB/SMB)] text: align fill 0000, relocate from 1000 to 0400 (diff is fffff400, length is 0001) data: align fill 0000, relocate from 0400 to 1001 (diff is 0c01, length is 0000) bss: align fill 0000, relocate from 4000 to 4000 (diff is 0000, length is 0000) zero: relocate from 04 to 02 (diff is fffffffe, length is 00) Relocating file: c65sc02-ad4.o65 [CPU 65SC02 (CMOS without BBR/BBS/RMB/SMB)] text: align fill 0000, relocate from 1000 to 0401 (diff is fffff401, length is 0000) data: align fill 0003, relocate from 0400 to 1004 (diff is 0c04, length is 0001) bss: align fill 0000, relocate from 4000 to 4000 (diff is 0000, length is 0000) zero: relocate from 04 to 02 (diff is fffffffe, length is 00) ../../file65 linkup1.tmp.tmp > linkup1.tmp ../hextool -cmp=linkup1.tmp.ok linkup1.tmp # incompatible links ../../ldo65 -o linkup2.o65 c6502-ad4.o65 c65c02-at2.o65 c65816-ad4.o65 || exit 0 && exit 1 Error: file 'c65816-ad4.o65' in CPU mode 5 (65816 in 6502 emulation mode) is incompatible with previous files with mode 1 (65C02 (CMOS with BBR/BBS/RMB/SMB)) ../../ldo65 -o linkup2.o65 c6502-ad4.o65 c65ce02-at2.o65 c65816-ad4.o65 || exit 0 && exit 1 Error: file 'c65816-ad4.o65' in CPU mode 5 (65816 in 6502 emulation mode) is incompatible with previous files with mode 3 (65CE02) ../../ldo65 -o linkup2.o65 c6502-ad4.o65 c65816-at2.o65 c65c02-ad4.o65 || exit 0 && exit 1 Error: file 'c65c02-ad4.o65' in CPU mode 1 (65C02 (CMOS with BBR/BBS/RMB/SMB)) is incompatible with previous 65816 CPU mode ../../ldo65 -o linkup2.o65 c6502-ad4.o65 c65816-at2.o65 c65ce02-ad4.o65 || exit 0 && exit 1 Error: file 'c65ce02-ad4.o65' in CPU mode 3 (65CE02) is incompatible with previous 65816 CPU mode ../../ldo65 -o linkup2.o65 c65816-at2.o65 c65ce02-ad4.o65 c65c02-at2.o65 || exit 0 && exit 1 Error: file 'c65ce02-ad4.o65' in CPU mode 3 (65CE02) is incompatible with previous 65816 CPU mode Error: file 'c65c02-at2.o65' in CPU mode 1 (65C02 (CMOS with BBR/BBS/RMB/SMB)) is incompatible with previous 65816 CPU mode ../../ldo65 -o linkup2.o65 n6502-at2.o65 c65ce02-ad4.o65 || exit 0 && exit 1 Error: file 'c65ce02-ad4.o65' in CPU mode 3 (65CE02) is incompatible with previous files with mode 4 (6502 with undocumented opcodes) ../../ldo65 -o linkup2.o65 n6502-at2.o65 c65c02-ad4.o65 || exit 0 && exit 1 Error: file 'c65c02-ad4.o65' in CPU mode 1 (65C02 (CMOS with BBR/BBS/RMB/SMB)) is incompatible with previous files with mode 4 (6502 with undocumented opcodes) ../../ldo65 -o linkup2.o65 n6502-at2.o65 c65sc02-ad4.o65 || exit 0 && exit 1 Error: file 'c65sc02-ad4.o65' in CPU mode 2 (65SC02 (CMOS without BBR/BBS/RMB/SMB)) is incompatible with previous files with mode 4 (6502 with undocumented opcodes) ../../ldo65 -o linkup2.o65 n6502-at2.o65 c65816-ad4.o65 || exit 0 && exit 1 Error: file 'c65816-ad4.o65' in 65816 CPU mode is incompatible with previous NMOS undocumented opcodes CPU mode make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/mode' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/mode' rm -f *.o65 *.tmp make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/mode' =================================== PASSED! =================================== mvnmvp ........................................... > running Makefile =============================================================================== make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/mvnmvp' rm -f *.o make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/mvnmvp' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/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 # expected-to-fail tests did fail. should be no more errors now. 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 ../../xa -w test.s -o test.o ../hextool -cmp=ok < test.o make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/mvnmvp' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/mvnmvp' rm -f *.o make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/mvnmvp' =================================== PASSED! =================================== neg_offset ....................................... > running Makefile =============================================================================== make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/neg_offset' rm -f *.o make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/neg_offset' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/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 '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/neg_offset' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/neg_offset' rm -f *.o make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/neg_offset' =================================== PASSED! =================================== op816 ............................................ > running Makefile =============================================================================== make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/op816' rm -f *.o make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/op816' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/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 '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/op816' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/op816' rm -f *.o make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/op816' =================================== PASSED! =================================== openpp ........................................... > running Makefile =============================================================================== make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/openpp' rm -f *.o make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/openpp' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/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 '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/openpp' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/openpp' rm -f *.o make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/openpp' =================================== PASSED! =================================== pparity .......................................... > running Makefile =============================================================================== make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/pparity' rm -f *.o make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/pparity' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/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 '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/pparity' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/pparity' rm -f *.o make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/pparity' =================================== PASSED! =================================== ppdefines ........................................ > running Makefile =============================================================================== make[1]: Entering directory '/builddir/build/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 '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/ppdefines' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/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 '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/ppdefines' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/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 '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/ppdefines' =================================== PASSED! =================================== recmac ........................................... > running Makefile =============================================================================== make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/recmac' rm -f a.o65 make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/recmac' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/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 '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/recmac' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/recmac' rm -f a.o65 make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/recmac' =================================== PASSED! =================================== relmode .......................................... > running Makefile =============================================================================== make[1]: Entering directory '/builddir/build/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 '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/relmode' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/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 '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/relmode' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/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 '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/relmode' =================================== PASSED! =================================== relocmode ........................................ > running Makefile =============================================================================== make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/relocmode' rm -f *.o make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/relocmode' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/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 '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/relocmode' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/relocmode' rm -f *.o make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/relocmode' =================================== PASSED! =================================== relocundef ....................................... > running Makefile =============================================================================== make[1]: Entering directory '/builddir/build/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 '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/relocundef' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/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 '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/relocundef' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/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 '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/relocundef' =================================== PASSED! =================================== reset_segment .................................... > running Makefile =============================================================================== make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/reset_segment' rm -f *.o a.o65 make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/reset_segment' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/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 '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/reset_segment' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/reset_segment' rm -f *.o a.o65 make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/reset_segment' =================================== PASSED! =================================== undef ............................................ > running Makefile =============================================================================== make[1]: Entering directory '/builddir/build/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 '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/undef' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/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 ../../xa -R -U -DFAIL undef.a65 || exit 0 && exit 1 Break after 2 errors 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 ../../xa -R -Ll1 -Ll3 -Ll4 -Ll5 undef.a65 || exit 0 && exit 1 Break after 1 errors 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 ../../xa -R -Ll1 undef4.a65 || exit 0 && exit 1 Break after 3 errors 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 '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/undef' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/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 '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/undef' =================================== PASSED! =================================== usb65 ............................................ > running Makefile =============================================================================== make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/usb65' rm -f a.o65 make[1]: Leaving directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/usb65' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/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 '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/usb65' ------------------------------------------------------------------------------- make[1]: Entering directory '/builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/tests/usb65' rm -f a.o65 make[1]: Leaving directory '/builddir/build/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-2.fc41.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.3cnEyk + umask 022 + cd /builddir/build/BUILD/xa-2.4.1-build + cd xa-2.4.1 + DOCDIR=/builddir/build/BUILD/xa-2.4.1-build/BUILDROOT/usr/share/doc/xa + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/xa-2.4.1-build/BUILDROOT/usr/share/doc/xa + cp -pr /builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/COPYING /builddir/build/BUILD/xa-2.4.1-build/BUILDROOT/usr/share/doc/xa + cp -pr /builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/ChangeLog /builddir/build/BUILD/xa-2.4.1-build/BUILDROOT/usr/share/doc/xa + cp -pr /builddir/build/BUILD/xa-2.4.1-build/xa-2.4.1/README.1st /builddir/build/BUILD/xa-2.4.1-build/BUILDROOT/usr/share/doc/xa + RPM_EC=0 ++ jobs -p + exit 0 Provides: xa = 2.4.1-2.fc41 xa(riscv-64) = 2.4.1-2.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) rtld(GNU_HASH) Processing files: xa-debugsource-2.4.1-2.fc41.riscv64 Provides: xa-debugsource = 2.4.1-2.fc41 xa-debugsource(riscv-64) = 2.4.1-2.fc41 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-2.fc41.riscv64 Provides: debuginfo(build-id) = 01014f179d6426b4eb5e8bbdc8b0d0f278e4d83d debuginfo(build-id) = 2635ad2bb11bf814904d9ba8065f4cbf3c26a932 debuginfo(build-id) = 715adf6dfdab002b47811acc39ddae79481e6010 debuginfo(build-id) = a41650aad3bc4fe2a6c4662301d47944cfae3e23 debuginfo(build-id) = c33c3b888bb73f0b651b79b208c688e63be08010 debuginfo(build-id) = c60589ce0f44a5eac717fe335583dd4da5110430 xa-debuginfo = 2.4.1-2.fc41 xa-debuginfo(riscv-64) = 2.4.1-2.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: xa-debugsource(riscv-64) = 2.4.1-2.fc41 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/xa-2.4.1-build/BUILDROOT Wrote: /builddir/build/RPMS/xa-2.4.1-2.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/xa-debugsource-2.4.1-2.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/xa-debuginfo-2.4.1-2.fc41.riscv64.rpm Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.L6kbXN + umask 022 + cd /builddir/build/BUILD/xa-2.4.1-build + test -d /builddir/build/BUILD/xa-2.4.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/xa-2.4.1-build + rm -rf /builddir/build/BUILD/xa-2.4.1-build + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0