From owner-freebsd-current@FreeBSD.ORG Sun Oct 26 13:18:53 2014 Return-Path: Delivered-To: freebsd-current@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 9B4B08D3 for ; Sun, 26 Oct 2014 13:18:53 +0000 (UTC) Received: from tensor.andric.com (unknown [IPv6:2001:7b8:3a7:1:2d0:b7ff:fea0:8c26]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "tensor.andric.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5D620829 for ; Sun, 26 Oct 2014 13:18:53 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7::ac44:5633:9f66:7bdb] (unknown [IPv6:2001:7b8:3a7:0:ac44:5633:9f66:7bdb]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 5DC9EB80A; Sun, 26 Oct 2014 14:18:47 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.0 \(1990.1\)) Subject: Re: buildkernel fails on head From: Dimitry Andric In-Reply-To: <2096535.O1qKY0qN4C@quad> Date: Sun, 26 Oct 2014 14:18:47 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <1D4E40EA-D2AB-499F-8DAF-E0DAB4985DA9@FreeBSD.org> References: <2096535.O1qKY0qN4C@quad> To: Maxim V FIlimonov X-Mailer: Apple Mail (2.1990.1) Cc: FreeBSD-Current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Oct 2014 13:18:53 -0000 On 25 Oct 2014, at 23:39, Maxim V FIlimonov wrote: >=20 > I'm trying to build the current FreeBSD kernel, and that's what I get: >=20 > % sudo make buildkernel >=20 > -------------------------------------------------------------- >>>> Kernel build for GENERIC started on Sun Oct 26 01:39:13 MSK 2014 > -------------------------------------------------------------- > =3D=3D=3D> GENERIC > mkdir -p /usr/obj/usr/src/head/sys >=20 > -------------------------------------------------------------- >>>> stage 1: configuring the kernel > -------------------------------------------------------------- > cd /usr/src/head/sys/amd64/conf; =20 > = PATH=3D/usr/obj/usr/src/head/tmp/legacy/usr/sbin:/usr/obj/usr/src/head/tmp= /legacy/usr/bin:/usr/obj/usr/src/head/tmp/legacy/usr/games:/usr/obj/usr/sr= c/head/tmp/legacy/bin:/usr/obj/usr/src/head/tmp/usr/sbin:/usr/obj/usr/src/= head/tmp/usr/bin:/usr/obj/usr/src/head/tmp/usr/games:/sbin:/bin:/usr/sbin:= /usr/bin =20 > config -d /usr/obj/usr/src/head/sys/GENERIC -I = '/usr/src/head/sys/amd64/conf'=20 > '/usr/src/head/sys/amd64/conf/GENERIC' > config: illegal option -- I > usage: config [-CgmpV] [-d destdir] sysname > config -x kernel > *** Error code 64 >=20 > Stop. > make[1]: stopped in /usr/src/head > *** Error code 1 >=20 > Stop. > make: stopped in /usr/src/head >=20 >=20 > is there a workaround for that? Is the kernel build broken? Your config executable is too old. Most likely, you need to run "make kernel-toolchain" first. -Dimitry