When I build sdcc I get the following error. It works with out the disabled ports.
./configure --prefix=/usr/local/z80/sdcc/ \
--disable-non-free --disable-mcs51-port --disable-z180-port --disable-r2k-port \
--disable-r2ka-port --disable-r3ka-port --disable-tlcs90-port --disable-ez80_z80-port \
--disable-ds390-port --disable-ds400-port --disable-pic14-port --disable-pic16-port \
--disable-hc08-port --disable-s08-port --disable-stm8-port --disable-pdk13-port \
--disable-pdk14-port --disable-pdk15-port --disable-r800-port
make
...
...
test . = . || rm setjmp.s
test . = . || cp atomic_flag_test_and_set.s .
../../../bin/sdasrab -plosgff atomic_flag_test_and_set.s
make[5]: ../../../bin/sdasrab: No such file or directory
make[5]: [Makefile:19: atomic_flag_test_and_set.rel] Error 127 (ignored)
test . = . || rm atomic_flag_test_and_set.s
/home/pchandler/local/projects/src/sdcc/bin/sdcc -I./../../include -I. --std-c23 -mr4k --max-allocs-per-node 25000 -c ../_atof.c -o _atof.rel
_atof.asm:8: Error: missing or improper operators, terminators, or delimiters
_atof.asm:80: Error: <o> .org in REL area or directive / mnemonic error
_atof.asm:192: Error: Invalid Addressing Mode.
_atof.asm:192: Error: missing or improper operators, terminators, or delimiters
Invalid Addressing Mode.
_atof.asm:197: Error:
_atof.asm:197: Error: missing or improper operators, terminators, or delimiters
Invalid Addressing Mode.
_atof.asm:198: Error:
_atof.asm:198: Error: missing or improper operators, terminators, or delimiters
Invalid Addressing Mode.
_atof.asm:206: Error:
_atof.asm:206: Error: missing or improper operators, terminators, or delimiters
Invalid Addressing Mode.
_atof.asm:207: Error:
_atof.asm:207: Error: missing or improper operators, terminators, or delimiters
Invalid Addressing Mode.
_atof.asm:218: Error:
_atof.asm:218: Error: missing or improper operators, terminators, or delimiters
</o>
removing _atof.rel
make[5]: *** [../incl.mk:185: _atof.rel] Error 1
make[5]: Leaving directory '/home/pchandler/local/projects/src/sdcc/device/lib/r4k'
make[4]: *** [Makefile:615: port-specific-objects] Error 1
make[4]: Leaving directory '/home/pchandler/local/projects/src/sdcc/device/lib'
make[3]: *** [Makefile:471: objects-z80] Error 2
make[3]: Leaving directory '/home/pchandler/local/projects/src/sdcc/device/lib'
make[2]: *** [Makefile:440: model-r4k] Error 1
make[2]: Leaving directory '/home/pchandler/local/projects/src/sdcc/device/lib'
make[1]: *** [Makefile:320: all] Error 2
make[1]: Leaving directory '/home/pchandler/local/projects/src/sdcc/device/lib'
Apparently, the Rabbit 4000 port is not handled correctly, here.
For the time being, you could try to disable that, too, since that was probably your intention, anyway.
Fixed in [r16487].
Related
Commit: [r16487]