From owner-freebsd-arch@freebsd.org Fri Nov 20 01:56:26 2015 Return-Path: Delivered-To: freebsd-arch@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 47C1BA3267C for ; Fri, 20 Nov 2015 01:56:26 +0000 (UTC) (envelope-from marius@alchemy.franken.de) Received: from alchemy.franken.de (alchemy.franken.de [194.94.249.214]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "alchemy.franken.de", Issuer "alchemy.franken.de" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id D38231432; Fri, 20 Nov 2015 01:56:25 +0000 (UTC) (envelope-from marius@alchemy.franken.de) Received: from alchemy.franken.de (localhost [127.0.0.1]) by alchemy.franken.de (8.15.2/8.15.2/ALCHEMY.FRANKEN.DE) with ESMTPS id tAK1uLCn027051 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 20 Nov 2015 02:56:21 +0100 (CET) (envelope-from marius@alchemy.franken.de) Received: (from marius@localhost) by alchemy.franken.de (8.15.2/8.15.2/Submit) id tAK1uLMA027050; Fri, 20 Nov 2015 02:56:21 +0100 (CET) (envelope-from marius) Date: Fri, 20 Nov 2015 02:56:21 +0100 From: Marius Strobl To: John Baldwin Cc: freebsd-arch@freebsd.org Subject: Re: Supporting cross-debugging vmcores in libkvm (Testing needed) Message-ID: <20151120015621.GQ31931@alchemy.franken.de> References: <3121152.ujdxFEovO3@ralph.baldwin.cx> <5992121.1Qh8fceFnn@ralph.baldwin.cx> <20151117224505.GA85136@alchemy.franken.de> <2429833.yYfvNJzKe9@ralph.baldwin.cx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2429833.yYfvNJzKe9@ralph.baldwin.cx> User-Agent: Mutt/1.5.23 (2014-03-12) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (alchemy.franken.de [0.0.0.0]); Fri, 20 Nov 2015 02:56:21 +0100 (CET) X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Nov 2015 01:56:26 -0000 On Thu, Nov 19, 2015 at 11:16:24AM -0800, John Baldwin wrote: > On Tuesday, November 17, 2015 11:45:05 PM Marius Strobl wrote: > > On Mon, Nov 16, 2015 at 04:37:32PM -0800, John Baldwin wrote: > > > Hmm, it is true that libkvm now depends on libelf. My -j 16 tinderbox > > > builds did not trip over that, and lib/Makefile has libelf in its > > > "early" list of libraries (SUBDIR_ORDERED), so it seems like it should > > > be built before libkvm is tried? > > > > Well, I'd agree in principle but also just can say that -j16 builds > > reliably fail here: > > --- lib/libkvm__L --- > > /home/marius/co/build/head3/i386.i386/usr/home/marius/co/head3/src/tmp/usr/bin/ > > ld: cannot find -lelf > > cc: error: linker command failed with exit code 1 (use -v to see invocation) > > *** [libkvm.so.6] Error code 1 > > I found this. There are three(!) places I've had to annotate the libkvm now > depends on libelf though it seems only one of them is actually used by > buildworld (and that was the one I had missed). > Does this mean that the .WAITs in SUBDIR_ORDERED of lib/Makefile don't have the desired effect? I see other build failures which suggest that other .WAITs in tree just don't work as expected. Usually I only hit these with -j128 or higher, though. Marius