I’ll get the output of make -k. I didn’t do a good job of explaining myself, many other programs on this platform use int64 or uint64 via stdint.h if it’s not existing in the sys/types.h.
Which it’s not throwing an error that unit64 or int64 is not defined I think it’s trying to convert a long long to a double via the sqrt which is a float function, which for some reason my compiler is trying to use a soft-float function to convert to a float, __floatundidf, which that function doesn’t exist in my toolchain for whatever reason. Very confusing for me what’s going on here.
-DWARPUP is really the only define I think is relevant.
But the specs file has this:
%{!warpup:%{!nostdinc:-isystem /gg/os-include} %{!ansi:%{!noixemul:-Dixemul} %{noixemul:-Dlibnix}} %{mcpu=603e:-D__603e__} %{mcpu=604e:-D__604e__} %{!noixemul:-D__ixemul__ -D__ixemul} %{noixemul:-D__libnix__ -D__libnix %{!nostdinc:-isystem /gg/includestd}} %{malways-restore-r13:-Derrno=(*ixemul_errno)} %{malways-restore-a4:-Derrno=(*ixemul_errno)} %{mrestore-r13:-Derrno=(ixemul_errno)} %{mrestore-a4:-Derrno=(ixemul_errno)} %{msoft-float: -D_SOFT_FLOAT}}
%{warpup:-I/gg/os-includeppc %{clib2:-I/gg/includeclib2} -D__PPC__ -DWARPUP %{posix: -D_POSIX_SOURCE} %{mrelocatable: -D_RELOCATABLE} %{mcall-sysv: -D_CALL_SYSV} %{mcall-aix: -D_CALL_AIX} %{!mcall-sysv: %{!mcall-aix: -D_CALL_SYSV}} %{msoft-float: -D_SOFT_FLOAT} %{mcpu=403: -D_SOFT_FLOAT} %{mlittle: -D_LITTLE_ENDIAN -Amachine(littleendian)} %{mlittle-endian: -D_LITTLE_ENDIAN -Amachine(littleendian)} %{!mlittle: %{!mlittle-endian: -D_BIG_ENDIAN -Amachine(bigendian)}} %{!mcpu: %{mpower: %{!mpower2: -D_ARCH_PWR}} %{mpower2: -D_ARCH_PWR2} %{mpowerpc: -D_ARCH_PPC} %{mno-powerpc: %{!mpower: %{!mpower2: -D_ARCH_COM}}} %{!mno-powerpc: -D_ARCH_PPC}} %{mcpu=common: -D_ARCH_COM} %{mcpu=power: -D_ARCH_PWR} %{mcpu=powerpc: -D_ARCH_PPC} %{mcpu=rios: -D_ARCH_PWR} %{mcpu=rios1: -D_ARCH_PWR} %{mcpu=rios2: -D_ARCH_PWR2}
%{mcpu=rsc: -D_ARCH_PWR} %{mcpu=rsc1: -D_ARCH_PWR} %{mcpu=403: -D_ARCH_PPC} %{mcpu=601: -D_ARCH_PPC -D_ARCH_PWR} %{mcpu=603: -D_ARCH_PPC} %{mcpu=604: -D_ARCH_PPC}}
The make process fails during linking:
LD retaroarch
Reaping winning child 0x26fd1210 PID 652812640
Live child 0x26fd1210 (retroarch) PID 654100752
obj-unix/audio/audio_driver.o: In function `audio_driver_deinit_internal’:
/Work/RetroArch-master/audio/audio_driver.c:218: undefined reference to `__floatundidf’
Reaping losing child 0x26fd1210 PID 654100752
make: *** [retroarch] Error 1
Removing child 0x26fd1210 PID 654100752 from chain.