Running 8 building 10 success (I think?)

Dieter BSD dieterbsd at gmail.com
Sat Nov 22 07:30:04 UTC 2014


> Well, since you've supplied plenty of sarcasm but once again no actual
> information about what problem you ran into trying to build from sources
> the right way, without crazy hackery like runing a 10.1 chroot on an 8.2
> kernel, I guess I"m done with this.

Sorry, my sarcasm detector must be broken today.

What do you consider the right way?

I tried building a kernel without doing chroot, using 8.2's toolchain.
8.2's config failed.  Built 10.1 config.

CC='cc ' mkdep -f .depend -a   -nostdinc -DAHC_REG_PRETTY_PRINT=1 -D_KERNEL
 -DKLD_MODULE -DHAVE_KERNEL_OPTION_HEADERS -I. -I@ -I@/contrib/altq
 -I/ro/freebsd_10.1/obj/ro/freebsd_10.1/usr/src/sys/GENERIC -std=iso9899:1999
 aic7xxx_reg_print.c
 /ro/freebsd_10.1/usr/src/sys/modules/aic7xxx/ahc/../../../dev/aic7xxx/aic7xxx.c
 /ro/freebsd_10.1/usr/src/sys/modules/aic7xxx/ahc/../../../dev/aic7xxx/aic7xxx_93cx6.c
 /ro/freebsd_10.1/usr/src/sys/modules/aic7xxx/ahc/../../../dev/aic7xxx/aic7xxx_osm.c
 /ro/freebsd_10.1/usr/src/sys/modules/aic7xxx/ahc/../../../dev/aic7xxx/aic7770.c
cc: aic7xxx_reg_print.c: No such file or directory
mkdep: compile failed

The file is there, no idea why cc couldn't find it.
-rw-r--r--  1 root  wheel  10398 Nov 11 12:03
/ro/freebsd_10.1/usr/src/sys/modules/aic7xxx/ahc/../../../dev/aic7xxx/aic7770.c

mkdep hasn't changed, except for comments (so it "can't" be mkdep's fault)

Tried to build 10.1 make, but got tangled up in header file hell.

Attempts to build the toolchain or kernel after running chroot
both gave the incorrect "Out of file descriptors" error message.

Is this the info you are looking for?

Thank you again for finding that the error message was from sh,
and also for the WITHOUT_CTF bit.  Those two pieces of info
were very helpful.


More information about the freebsd-hackers mailing list