Linker warnings building 8.1 kernel for sgimips

George Harvey <[email protected]>
Newsgroups gmane.os.netbsd.ports.mips.devel
Message-ID <[email protected]>
Hi,

Compiling a custom 8.1 kernel for my SGI Challenge S produced a large
number of warning messages at the link stage. These were all complaints
about mixing soft and hard float, some examples are included below. the
INDY2 kernel config is just GENERIC32_IP2x with hpc1 disabled. The
build machine was an Indy running NetBSD 8.1 and the resulting kernel
appears to work normally.

Is this expected behaviour or a bug?

George

Kernel 8.1 linker warnings:

ld: Warning: netbsd uses -mhard-float (set by
locore.o), /usr/src/sys/arch/sgimips/compile/INDY2/lib/kern/libkern.a
(strcpy.o) uses -msoft-float 
ld: Warning: netbsd uses -mhard-float (set by
locore.o), /usr/src/sys/arch/sgimips/compile/INDY2/lib/kern/libkern.a
(memcmp.o) uses -msoft-float 
ld: Warning: netbsd uses -mhard-float (set by
locore.o), /usr/src/sys/arch/sgimips/compile/INDY2/lib/kern/libkern.a
(prop_stack.o) uses -msoft-float 
ld: Warning: netbsd uses -mhard-float (set by
locore.o), /usr/src/sys/arch/sgimips/compile/INDY2/lib/kern/libkern.a
(udivmoddi4.o) uses -msoft-float 
ld: Warning: netbsd uses -mhard-float (set by
locore.o), /usr/src/sys/arch/sgimips/compile/INDY2/lib/kern/libkern.a
(ctzsi2.o) uses -msoft-float 
ld: Warning: netbsd uses -mhard-float (set by
locore.o), /usr/src/sys/arch/sgimips/compile/INDY2/lib/kern/libkern.a
(clzsi2.o) uses -msoft-float 
ld: Warning: netbsd uses -mhard-float (set by locore.o), vers.o uses
-msoft-float 
ld: Warning: netbsd uses -mhard-float (set by locore.o), swapnetbsd.o
uses -msoft-float
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.