N32 stages need to have CHOST set to mips64-linux and -mabi=n32 passed in CFLAGS. This patch adds subarch mips4n32 to make n32 stages possible. Of course - there still is a question of how to propperly handle multi-abi arches. Creating #CPUs * #ABIs of subarch keywords doesn't seem like best thing. Especially if you deal with thing like MIPS, which can also have any CPU run in either BE or LE... Reproducible: Always Steps to Reproduce:
Created attachment 37109 [details, diff] Patch to add mips4n32 subarch
thanks for the patch - its in cvs ;)