can't build CURRENT/amd64 using 9.3?


Fri Oct 24 19:43:44 UTC 2014


Ian Lepore writes:

>  > 	I have a system running
>  > 
>  > FreeBSD 9.3-RELEASE #0 r268512: Fri Jul 11 03:13:02 UTC 2014  i386
>  > 
>  > 	I have updated the source tree to CURRENT r273542.
>  > 	If I build "make buildworld" for the GENERIC kernel and no
>  > make.conf or src.conf, it succeeds.
>  > 	If I use an empty make.conf and src.conf of
>  > 
>  > TARGET=amd64
>  > TARGET_ARCH=amd64
>  > 
>  > 	it dies with
>  > 
>  > ld  -o gcrt1.o -r crt1_s.o gcrt1_c.o
>  > crt1_s.o: file not recognized: File format not recognized
>  > *** Error code 1
>  
>  Try putting the TARGET= and TARGET_ARCH= on the make command line rather
>  than in src.conf.  I know the manpage says you can put them in src.conf,
>  but I wonder if we've broken that and you're the first person to try
>  since then.

	When I do this, I get instead:

echo special chroot buildopts DIRPRFX=rescue/rescue/chroot/ >>rescue.conf
echo progs chown >>rescue.conf
echo special chown srcdir /usr/src/rescue/rescue/../../usr.sbin/chown >>rescue.conf
echo special chown buildopts DIRPRFX=rescue/rescue/chown/ >>rescue.conf
echo ln chown chgrp >>rescue.conf
MAKE=/usr/obj/usr/src/make.i386/bmake MAKEOBJDIRPREFIX=/usr/obj/amd64.amd64/usr/src/rescue/rescue crunchgen -fq -m rescue.mk  -c rescue.c rescue.conf
crunchgen: make error: cd /usr/src/rescue/rescue/../../bin/cat && /usr/obj/usr/src/make.i386/bmake -f /tmp//crunchgen_rescueH6FUZJ -DRESCUE CRUNCH_CFLAGS=-DRESCUE  DIRPRFX=rescue/rescue/cat/ loop

crunchgen: make error: echo 'OBJS= 'cat.o

crunchgen: make error: cd /usr/src/rescue/rescue/../../bin/chflags && /usr/obj/usr/src/make.i386/bmake -f /tmp//crunchgen_rescueH6FUZJ -DRESCUE CRUNCH_CFLAGS=-DRESCUE  DIRPRFX=rescue/rescue/chflags/ loop

crunchgen: make error: echo 'OBJS= 'chflags.o


	... and so on for another 400+ lines before it again dies.


	Respectfully,


			Robert Huff



More information about the freebsd-current mailing list