View Single Post
  #1   (View Single Post)  
Old 10th June 2008
KernelPanic KernelPanic is offline
Port Guard
 
Join Date: May 2008
Posts: 19
Default FreeBSD 7.0 amd64 make installworld fails.

I've done a clean install of FreeBSD 7.0-RELEASE amd64

I did a csup to RELENG_7_0 (to get a security patch as well as make a custom kernel.

I have the following /etc/make.conf:
Code:
BOOT_COMCONSOLE_SPEED=19200

# Ports options
.if ${.CURDIR:M*/usr/ports*}
# Disable any and all X11 where possible
WITHOUT_X11=YES
# Ports tend to use apache1.3 without this
WITH_APACHE2=YES
.endif

# added by use.perl 2008-06-10 16:32:11
PERL_VER=5.8.8
PERL_VERSION=5.8.8
This was followed by:
cd /usr/src
make buildworld
make kernel KERNCONF=mykern
make installworld

This is the resulting error:

Code:
install  -o root -g wheel -m 444   boot0 /boot/boot0sio
===> sys/boot/i386/btx (install)
===> sys/boot/i386/btx/btx (install)
===> sys/boot/i386/btx/btxldr (install)
===> sys/boot/i386/btx/lib (install)
===> sys/boot/i386/boot2 (install)
cc -Os  -fno-guess-branch-probability  -fomit-frame-pointer  -fno-unit-at-a-time  -mno-align-long-strings  -mrtd  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3  -DUFS1_AND_UFS2  -DFLAGS=0x80  -DSIOPRT=0x3f8  -DSIOFMT=0x3  -DSIOSPD=19200  -I/usr/src/sys/boot/i386/boot2/../../common  -I/usr/src/sys/boot/i386/boot2/../btx/lib -I.  -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 -m32 -march=i386  -S -o boot2.s.tmp /usr/src/sys/boot/i386/boot2/boot2.c
sed -e '/align/d' -e '/nop/d' < boot2.s.tmp > boot2.s
rm -f boot2.s.tmp
as  --32 -o boot2.o boot2.s
ld -static -N --gc-sections -nostdlib -m elf_i386_fbsd -Ttext 0x2000 -o boot2.out /usr/obj/usr/src/sys/boot/i386/boot2/../btx/lib/crt0.o boot2.o sio.o
objcopy -S -O binary boot2.out boot2.bin
btxld -v -E 0x2000 -f bin -b /usr/obj/usr/src/sys/boot/i386/boot2/../btx/btx/btx -l boot2.ldr  -o boot2.ld -P 1 boot2.bin
btxld:No such file or directory
*** Error code 1

Stop in /usr/src/sys/boot/i386/boot2.
*** Error code 1

Stop in /usr/src/sys/boot/i386.
*** Error code 1

Stop in /usr/src/sys/boot.
*** Error code 1

Stop in /usr/src/sys.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
Any ideas?

I redid the csup to make sure I didn't miss anything.

Last edited by KernelPanic; 10th June 2008 at 08:00 PM.
Reply With Quote