patch attached to fix the problem.
Created attachment 217848 [details, diff] fix build problems when NO_ASM defined
ncompress-4.2.4.3 is now in the tree
sorry, wrong bug
While I tend to believe you that this is a correct fix, I just see the removal of ASMV define. Does it trigger some code path that won't work? Did upstream forget about this situation or something?
The three paths that are fixed are MSDOS, Amiga & Atari. I hardly think they are well tested. But basically adding NO_ASM as has been added in the ebuild has caused the problem as I guess people assume that the assembly routines should be used. You could argue that the "use pic" option to define NO_ASM should be fixed really and PIC friendly asm code used, rather than the hack of defining NO_ASM.
thanks, added
do you have build logs ? there's no information here so that the patch can be sent upstream which means i'm inclined to drop it.