Subject: -msoft-float m68k build
To: None <email@example.com>
From: Ian Main <firstname.lastname@example.org>
Date: 07/24/2002 10:01:07
So I co'd -current last night and am trying to cross compile a release
for the mac68k on my i386 using -msoft-float (MKSOFTFLOAT=yes). I'm
doing this so I can put it on my LC475 with broken FPU.
However, I'm getting the following error:
/usr/src/tools/obj/tools.NetBSD-1.5ZC-i386/bin/m68k--netbsdelf-gcc -O0 -g -DALL_STATE -DUSG_COMPAT -msoft-float -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wreturn-type -Wpointer-arith -Wswitch -Wshadow -Werror -D_LIBC -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT -I/usr/src/lib/libc/include -DHESIOD -DINET6 -DNLS -DYP -D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../libexec/ld.elf_so -I/usr/src/lib/libc/dlfcn -DI18NMODULE_MAJOR=4 -DWITH_RUNE -I/usr/src/lib/libc -DRESOLVSORT -I. -DPOSIX_MISTAKE -DPORTMAP -DFLOATING_POINT -nostdinc -isystem /usr/mac68k_build/usr/include -c /usr/src/lib/libc/arch/m68k/gen/ldexp_881.c
/usr/src/lib/libc/arch/m68k/gen/ldexp_881.c: In function `ldexp':
/usr/src/lib/libc/arch/m68k/gen/ldexp_881.c:59: inconsistent operand constraints in an `asm'
*** Error code 1
Seeing as how I know nothing about asm I cannot tell why it doesn't like me, though I'm guessing it's jealous cause I have coffee and it doesn't..
If someone with some asm skills could help me out here, it'd be greatly appreciated (or maybe this should be pr'd?)