From owner-freebsd-hackers@FreeBSD.ORG Sat Nov 22 03:14:18 2014 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 41D84173 for ; Sat, 22 Nov 2014 03:14:18 +0000 (UTC) Received: from mail-ie0-x232.google.com (mail-ie0-x232.google.com [IPv6:2607:f8b0:4001:c03::232]) (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 0D4A63B1 for ; Sat, 22 Nov 2014 03:14:18 +0000 (UTC) Received: by mail-ie0-f178.google.com with SMTP id tp5so6165748ieb.37 for ; Fri, 21 Nov 2014 19:14:17 -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=LKXlyKkYpskYV+1+vJ3gABuPo5IyhatrAyL+Ik/yq7g=; b=oyDYFuOGCGMRvjaAq/6cckaVk7jjspTjjZCXXwteSvSlImPPKXlbQOWnYakvYTww/C 83zpaDDq04lqxP0JKbM2PfcsE4c1SOytosuni+LVBQXQCLd7GgqOGJBbCHvhXAcPAuZN Tj9IddhLHy+E4uCgXeSk/bwPkFzWDdK4FSODfU6p9WueujyljDsYQMluYMGagybbov+Q AtxEhsCt09Ir7b1Sb5PfO47AkyukH8cXqtJ2rxYaappv5rzUe+J2cnxHCRuxiRLw4RkW pMnZYDnDQ83u7nB+RBmkZv6uBjAccj1XpiwgokoP+YcYnxcFKMwOaYrDEmOyXYeIr4s2 lG+Q== MIME-Version: 1.0 X-Received: by 10.43.66.9 with SMTP id xo9mr8568922icb.67.1416626057396; Fri, 21 Nov 2014 19:14:17 -0800 (PST) Received: by 10.64.147.164 with HTTP; Fri, 21 Nov 2014 19:14:17 -0800 (PST) Date: Fri, 21 Nov 2014 19:14:17 -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 03:14:18 -0000 > I was looking into whether we could easily fix /bin/sh /bin/sh's error message is badly broken and needs to be fixed. I previously posted a short list of things that should be improved. A high school student that knows C should be able to do it. Since there is one brain-dead error message there are likely more, so bonus points for looking through the source and fixing those as well. The F_DUPFD_CLOEXEC problem is unfortunate, but it is already released. And there is an easy workaround: just mv /bin/sh /bin/sh_10.1 and then copy 8.2's /bin/sh to the chroot. > or whether we should > just warn that you can't bootstrap from systems earlier than 8.4. Looks like you can, actually. Make a chroot with 10.1 binaries and sources. Add /dev/null replace 10.1's /bin/sh with 8.2's /bin/sh Add /etc/make.conf containing WITHOUT_CTF=true edit GENERIC, commenting out "makeoptions WITH_CTF=1" chroot cd /usr/src make buildkernel KERNCONF=GENERIC I haven't testing doing these steps and nothing else, so the list might be missing something.