When trying to build with USE_XZ_SETS=yes, the process fails: /dist/tools.i386/lib/gcc/i486--netbsdelf/8.3.0/../../../../i486--netbsdelf/bin/ld: gzip.cro: in function `unxz': gzip.c:(.text+0x164c): undefined reference to `lzma_stream_decoder' /dist/tools.i386/lib/gcc/i486--netbsdelf/8.3.0/../../../../i486--netbsdelf/bin/ld: gzip.c:(.text+0x1672): undefined reference to `lzma_code' /dist/tools.i386/lib/gcc/i486--netbsdelf/8.3.0/../../../../i486--netbsdelf/bin/ld: gzip.c:(.text+0x16fa): undefined reference to `lzma_code' /dist/tools.i386/lib/gcc/i486--netbsdelf/8.3.0/../../../../i486--netbsdelf/bin/ld: gzip.c:(.text+0x17bd): undefined reference to `lzma_end' /dist/tools.i386/lib/gcc/i486--netbsdelf/8.3.0/../../../../i486--netbsdelf/bin/ld: gzip.cro: in function `_crunched_gzip_stub': (.text.startup+0xaa3): undefined reference to `lzma_stream_footer_decode' /dist/tools.i386/lib/gcc/i486--netbsdelf/8.3.0/../../../../i486--netbsdelf/bin/ld: (.text.startup+0xafe): undefined reference to `lzma_index_decoder' /dist/tools.i386/lib/gcc/i486--netbsdelf/8.3.0/../../../../i486--netbsdelf/bin/ld: (.text.startup+0xb37): undefined reference to `lzma_code' /dist/tools.i386/lib/gcc/i486--netbsdelf/8.3.0/../../../../i486--netbsdelf/bin/ld: (.text.startup+0xb92): undefined reference to `lzma_end' /dist/tools.i386/lib/gcc/i486--netbsdelf/8.3.0/../../../../i486--netbsdelf/bin/ld: (.text.startup+0xba6): undefined reference to `lzma_index_end' /dist/tools.i386/lib/gcc/i486--netbsdelf/8.3.0/../../../../i486--netbsdelf/bin/ld: (.text.startup+0xbba): undefined reference to `lzma_index_end' /dist/tools.i386/lib/gcc/i486--netbsdelf/8.3.0/../../../../i486--netbsdelf/bin/ld: (.text.startup+0xc4c): undefined reference to `lzma_index_total_size' /dist/tools.i386/lib/gcc/i486--netbsdelf/8.3.0/../../../../i486--netbsdelf/bin/ld: (.text.startup+0xc8d): undefined reference to `lzma_stream_header_decode' /dist/tools.i386/lib/gcc/i486--netbsdelf/8.3.0/../../../../i486--netbsdelf/bin/ld: (.text.startup+0xca9): undefined reference to `lzma_stream_flags_compare' /dist/tools.i386/lib/gcc/i486--netbsdelf/8.3.0/../../../../i486--netbsdelf/bin/ld: (.text.startup+0xcc5): undefined reference to `lzma_index_stream_flags' /dist/tools.i386/lib/gcc/i486--netbsdelf/8.3.0/../../../../i486--netbsdelf/bin/ld: (.text.startup+0xce9): undefined reference to `lzma_index_stream_padding' /dist/tools.i386/lib/gcc/i486--netbsdelf/8.3.0/../../../../i486--netbsdelf/bin/ld: (.text.startup+0xd14): undefined reference to `lzma_index_cat' /dist/tools.i386/lib/gcc/i486--netbsdelf/8.3.0/../../../../i486--netbsdelf/bin/ld: (.text.startup+0xd87): undefined reference to `lzma_end' /dist/tools.i386/lib/gcc/i486--netbsdelf/8.3.0/../../../../i486--netbsdelf/bin/ld: (.text.startup+0xd93): undefined reference to `lzma_index_uncompressed_size' /dist/tools.i386/lib/gcc/i486--netbsdelf/8.3.0/../../../../i486--netbsdelf/bin/ld: (.text.startup+0xda7): undefined reference to `lzma_index_end' collect2: error: ld returned 1 exit status --- ramdiskbin --- *** [ramdiskbin] Error code 1
nbmake[7]: stopped in /dist/obj.i386/distrib/i386/ramdisks/ramdisk-cgdroot 1 error I have to set USE_XZ_SETS=no, remove "distrib" from objdir, re-build, then re-building again with USE_XZ_SETS=yes works fine. Please, fix. :) Kind regards, Adam
