Subject: undefined memcpy when building ufsboot?
To: None <port-sun3@NetBSD.ORG>
From: J.T. Conklin <jtc@cygnus.com>
List: port-sun3
Date: 06/26/1996 11:13:42
I get the following:

===> sys/arch/sun3/stand/ufsboot
cc -O -msoft-float -DSTANDALONE  -I/usr/src/sys/arch/sun3/stand/ufsboot -I/usr/src/sys/arch/sun3/stand/ufsboot/../libsa -I/usr/src/sys/arch/sun3/stand/ufsboot/../../../../lib/libsa -I/usr/src/sys/arch/sun3/stand/ufsboot/../../../..  -c /usr/src/sys/arch/sun3/stand/ufsboot/boot.c
cc -O -msoft-float -DSTANDALONE  -I/usr/src/sys/arch/sun3/stand/ufsboot -I/usr/src/sys/arch/sun3/stand/ufsboot/../libsa -I/usr/src/sys/arch/sun3/stand/ufsboot/../../../../lib/libsa -I/usr/src/sys/arch/sun3/stand/ufsboot/../../../..  -c /usr/src/sys/arch/sun3/stand/ufsboot/conf.c
ld -N -T 240000 -e start -o ufsboot  ../libsa/SRT0.o ../libsa/SRT1.o boot.o conf.o version.o  ../libsa/libsa.a
ufs.o: Undefined symbol `_memcpy' referenced from text segment

I believe this is because gcc will emit memcpy() to do block copies
under certain circumstances.  Does memcpy have to be added to libsa?

	--jtc