On 06/12/2012 22:26, David Demelier wrote:> Hello,
>
> I'm trying to make as small as possible a FreeBSD installation for my
> Alix 2D2, I did it with 8.1-RELEASE so, a lot of changes appeared I
> think.
>
> I'm trying to make TARGET_ARCH=i386 buildworld and it fails at:
>
> ===> sys/boot/i386/gptboot (all)
> Warning: Object directory not changed from original
> /usr/src/sys/boot/i386/gptboot
> cc -DBOOTPROG=\"gptboot\" -O1 -DGPT -DUFS1_AND_UFS2
-DSIOPRT=0x3f8
> -DSIOFMT=0x3 -DSIOSPD=9600
> -I/usr/src/sys/boot/i386/gptboot/../../common
> -I/usr/src/sys/boot/i386/gptboot/../common
> -I/usr/src/sys/boot/i386/gptboot/../btx/lib -I.
> -I/usr/src/sys/boot/i386/gptboot/../boot2
> -I/usr/src/sys/boot/i386/gptboot/../../.. -Wall -Waggregate-return
> -Wbad-function-cast -Wcast-align -Wmissing-declarations
> -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow
> -Wstrict-prototypes -Wwrite-strings -Winline --param
> max-inline-insns-single=100 -ffreestanding
> -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2
> -mno-sse3 -msoft-float -std=gnu99 -c gptldr.S
> ld -static -N --gc-sections -nostdlib -e start -Ttext 0x7c00 -o
> gptldr.out gptldr.o
> objcopy -S -O binary gptldr.out gptldr.bin
> make: don't know how to make
> /usr/src/sys/boot/i386/gptboot/../btx/lib/crt0.o. Stop
> *** [all] Error code 2
>
> Stop in /usr/src/sys/boot/i386.
> *** [all] Error code 1
>
> Stop in /usr/src/sys/boot.
> *** [all] Error code 1
>
> Stop in /usr/src/sys.
> *** [sys.all__D] Error code 1
>
> Stop in /usr/src.
> *** [everything] Error code 1
>
> Stop in /usr/src.
> *** [buildworld] Error code 1
>
> Stop in /usr/src.
>
> My src.conf is like that:
>
> WITHOUT_JAIL=yes
> WITHOUT_ACPI=yes
> WITHOUT_AMD=yes
> WITHOUT_APM=yes
> WITHOUT_ATM=yes
> WITHOUT_AUDIT=yes
> WITHOUT_AUTHPF=yes
> WITHOUT_BIND=yes
> WITHOUT_BLUETOOTH=yes
> WITHOUT_BSNMP=yes
> WITHOUT_CALENDAR=yes
> WITHOUT_CDDL=yes
> WITHOUT_CLANG=yes
> WITHOUT_CTM=yes
> WITHOUT_CVS=yes
> WITHOUT_CXX=yes
> WITHOUT_DICT=yes
> WITHOUT_EXAMPLES=yes
> WITHOUT_FDT=yes
> WITHOUT_FLOPPY=yes
> WITHOUT_FREEBSD_UPDATE=yes
> WITHOUT_GAMES=yes
> WITHOUT_GCOV=yes
> WITHOUT_GDB=yes
> WITHOUT_HTML=yes
> WITHOUT_INFO=yes
> WITHOUT_IPFILTER=yes
> WITHOUT_IPFW=yes
> WITHOUT_IPX=yes
> WITHOUT_JAIL=yes
> WITHOUT_KERBEROS=yes
> WITHOUT_KERNEL_SYMBOLS=yes
> WITHOUT_LOCATE=yes
> WITHOUT_MAKE=yes
> WITHOUT_NDIS=yes
> WITHOUT_NIS=yes
> WITHOUT_NLS=yes
> WITHOUT_OBJC=yes
> WITHOUT_PAM=yes
> WITHOUT_PORTSNAP=yes
> WITHOUT_PPP=yes
> WITHOUT_RCMDS=yes
> WITHOUT_SHAREDOCS=yes
> WITHOUT_SYSINSTALL=yes
>
> Did I added a WITHOUT_ that could break or is it a cross-compile
> issue? (Host version is amd64).
>
> Cheers,
>
The problem was an old CPUTYPE defined in the make.conf, working now :)