the problem comes from libmp: the machine-dependent files written in assembly (/src/libmp/386/*-Darwin.s) are causing it (and they are all broken, not just the one reported). it's beyond me to figure out why at the moment. i tried a couple of things at random, but that's not a way to fix a problem.
all the functions defined therein have a replacement written in C in the port/ directory of libmp. a workaround for now will be to fix the mkfile in port/ to not look for the machine-dependent files (comment out the test in the reduce script and let it just echo all file names). next bug is all the way to venti: 9l -o o.buildindex buildindex.o libvs.a /Users/andrey/plan9/lib/libventi.a ld: in libvs.a, archive has no table of contents collect2: ld returned 1 exit status
