From owner-freebsd-stable@FreeBSD.ORG Thu Feb 13 20:31:12 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 217D3D61; Thu, 13 Feb 2014 20:31:12 +0000 (UTC) Received: from dmz-mailsec-scanner-1.mit.edu (dmz-mailsec-scanner-1.mit.edu [18.9.25.12]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8973F10BC; Thu, 13 Feb 2014 20:31:11 +0000 (UTC) X-AuditID: 1209190c-f794a6d000000c27-b2-52fd2b8d42b7 Received: from mailhub-auth-2.mit.edu ( [18.7.62.36]) (using TLS with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by dmz-mailsec-scanner-1.mit.edu (Symantec Messaging Gateway) with SMTP id EE.1C.03111.D8B2DF25; Thu, 13 Feb 2014 15:31:09 -0500 (EST) Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by mailhub-auth-2.mit.edu (8.13.8/8.9.2) with ESMTP id s1DKV98q023426; Thu, 13 Feb 2014 15:31:09 -0500 Received: from multics.mit.edu (system-low-sipb.mit.edu [18.187.2.37]) (authenticated bits=56) (User authenticated as kaduk@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id s1DKV7uh018069 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 13 Feb 2014 15:31:08 -0500 Received: (from kaduk@localhost) by multics.mit.edu (8.12.9.20060308) id s1DKV7EB006216; Thu, 13 Feb 2014 15:31:07 -0500 (EST) Date: Thu, 13 Feb 2014 15:31:07 -0500 (EST) From: Benjamin Kaduk To: Ian Lepore Subject: Re: failing to link custom kernel on 10.0-release In-Reply-To: <1392323288.1145.91.camel@revolution.hippie.lan> Message-ID: References: <1392323288.1145.91.camel@revolution.hippie.lan> User-Agent: Alpine 1.10 (GSO 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrCIsWRmVeSWpSXmKPExsUixG6notur/TfI4NciG4vDzUIWT46/YXZg 8pjxaT5LAGMUl01Kak5mWWqRvl0CV8b3GW9YCxazV/Re92tgfMbaxcjBISFgInHybWEXIyeQ KSZx4d56ti5GLg4hgdlMElc/9UM5Gxkl2n5OYASpEhI4xCSx9hIPRKKBUWL3jT5mkASLgLZE 44cr7CA2m4CKxMw3G9lAbBEBBYkt81aD1TALyEmcebecCcQWFrCSeLblH5jNKWArsWvFZhYQ m1fAQWLxhb1g1wkJFEpMu18LEhYV0JFYvX8KVImgxMmZT1ggRlpKnPtznW0Co+AsJKlZSFIL GJlWMcqm5Fbp5iZm5hSnJusWJyfm5aUW6Rrq5WaW6KWmlG5iBAUmpyTPDsY3B5UOMQpwMCrx 8Ho8+BMkxJpYVlyZe4hRkoNJSZT3mubfICG+pPyUyozE4oz4otKc1OJDjBIczEoivBO1gHK8 KYmVValF+TApaQ4WJXHeWotfQUIC6YklqdmpqQWpRTBZGQ4OJQneyyCNgkWp6akVaZk5JQhp Jg5OkOE8QMPngQ0vLkjMLc5Mh8ifYlSUEue1BblIACSRUZoH1wtLHK8YxYFeEeZ9CdLOA0w6 cN2vgAYzAQ1OjfoNMrgkESEl1cCosMflOmfLccNN7Spcp9Y03LydPiH03MXplpfO3/SPXvlG q01Xsb5O99l6ue1ZXl98ayOUllQbzrLcsfH6rZUJ20445WcnrFHfHmbWK+ev+2/mRPsmWwYO T8U/fTO8uQIDeG5bHT/xvOvEQ+Z7liq7arYcZSl8zsjNPGvJvD9xkXdVa2RrXWqUWIozEg21 mIuKEwE5KCO59wIAAA== Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Feb 2014 20:31:12 -0000 On Thu, 13 Feb 2014, Ian Lepore wrote: > On Thu, 2014-02-13 at 15:18 -0500, Benjamin Kaduk wrote: >> Hi all, >> >> I'm trying to build this kernel config (amd64) on a 10-release machine: >> http://web.mit.edu/kaduk/freebsd/tmp/PALAVER >> >> It gets to "linking kernel.debug" and then spews a pile of errors about >> "undefined reference to '__mtx_assert'" for (presumably) every object >> file. >> >> I suspect that this is related to DEBUG_LOCKS, but what am I missing? >> >> Thanks, >> >> Ben Kaduk > > Quick guess without a lot of digging: You might need to add option > INVARIANT_SUPPORT. Oh, that's probably it. I got an error from INVARIANTS_SUPPORT (extra 'S') and then failed to check in sys/conf/NOTES, did not find it in sys/amd64/conf/NOTES, and assumed that the support had been set to "always-enabled" due to some vague memory of what hit head. Thanks for the prompt cluebat. -Ben