Yes, the binary is mips64-n32. There is no n32 for mips32. I moved the CPUFLAGS=-n32 assignment to the 64 bit portion of the Makefile. christos > On Mar 16, 2021, at 12:14 AM, matthew green <mrg%eterna.com.au@localhost> wrote: > > "Christos Zoulas" writes: >> Module Name: src >> Committed By: christos >> Date: Mon Mar 15 18:13:54 UTC 2021 >> >> Modified Files: >> src/sys/arch/evbmips/stand/sbmips: Makefile.bootprogs >> >> Log Message: >> - 32 bit mips uses oabi, don't force it to n32. >> - compile assembly code with soft-float to kill linker warnings > > this doesn't make sense to me. it should be compiled > as if for 64 bit CPU (it is.) it even has this: > > CFLAGS+= -mips64 > CFLAGS+= -Werror ${CWARNFLAGS} > -CPUFLAGS+= -mabi=n32 > > two lines above the removed -mabi=n32. > > what was the real problem here? (the soft-float part > seems reasonable.) > > > .mrg.
Attachment:
signature.asc
Description: Message signed with OpenPGP