From owner-freebsd-hackers@FreeBSD.ORG Sat Nov 22 07:30:03 2014 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EEF7A510 for ; Sat, 22 Nov 2014 07:30:03 +0000 (UTC) Received: from mail-ig0-x22a.google.com (mail-ig0-x22a.google.com [IPv6:2607:f8b0:4001:c05::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BA93DD70 for ; Sat, 22 Nov 2014 07:30:03 +0000 (UTC) Received: by mail-ig0-f170.google.com with SMTP id r2so2746592igi.5 for ; Fri, 21 Nov 2014 23:30:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=/+AfKNMd2/UZfuJRpXYxhNyScWrLhKkf907XG+BeDHs=; b=rEM0biRHjO5zYjliro3NwDJ7ZIpxVi65jK824KvVq2AOFkTZVIRdTQkgPGQ7iWUUa2 8HvWqxDFumxaxtvyPH2iCqi1Kcg8rYROhTro1SAjuCYkWuzT+icIkEBVghtKhJwKsFWK CWD88Y6zil7pIwBKG/AZZktRdgI1Nr/yjt1A4qQcVy2ZNhnULY68rGoAB93/9caAdtQC fj9eAhGhZKTXLzGhhUQ/TVn8ytpFlsuFIYsbWkwrhMAoXRqy+FBO0ghYisHK4oU1H/Yz yW/ChcCHXrHT2jYQ4C4M/L1BovyGdsNckcfYhfYTR8c5FnolrhAS/P86s7YZh8xUx6jq YtCA== MIME-Version: 1.0 X-Received: by 10.50.164.226 with SMTP id yt2mr2065258igb.22.1416641403037; Fri, 21 Nov 2014 23:30:03 -0800 (PST) Received: by 10.64.147.164 with HTTP; Fri, 21 Nov 2014 23:30:02 -0800 (PST) Date: Fri, 21 Nov 2014 23:30:02 -0800 Message-ID: Subject: Re: Running 8 building 10 success (I think?) From: Dieter BSD To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Nov 2014 07:30:04 -0000 > 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.