From owner-freebsd-arch@FreeBSD.ORG Thu Feb 28 21:59:19 2013 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id DD7F4C44; Thu, 28 Feb 2013 21:59:19 +0000 (UTC) (envelope-from sjg@juniper.net) Received: from exprod7og119.obsmtp.com (exprod7og119.obsmtp.com [64.18.2.16]) by mx1.freebsd.org (Postfix) with ESMTP id 70271651; Thu, 28 Feb 2013 21:59:19 +0000 (UTC) Received: from P-EMHUB02-HQ.jnpr.net ([66.129.224.36]) (using TLSv1) by exprod7ob119.postini.com ([64.18.6.12]) with SMTP ID DSNKUS/TMPXUYwLp1YQowlF8YZrclo8C3GLK@postini.com; Thu, 28 Feb 2013 13:59:19 PST Received: from magenta.juniper.net (172.17.27.123) by P-EMHUB02-HQ.jnpr.net (172.24.192.33) with Microsoft SMTP Server (TLS) id 8.3.213.0; Thu, 28 Feb 2013 13:53:42 -0800 Received: from chaos.jnpr.net (chaos.jnpr.net [172.24.29.229]) by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id r1SLrg340733; Thu, 28 Feb 2013 13:53:42 -0800 (PST) (envelope-from sjg@juniper.net) Received: from chaos.jnpr.net (localhost [127.0.0.1]) by chaos.jnpr.net (Postfix) with ESMTP id D9DA758096; Thu, 28 Feb 2013 13:53:41 -0800 (PST) To: Brooks Davis Subject: Re: [RFC] external compiler support In-Reply-To: <20130228171947.GA20864@lor.one-eyed-alien.net> References: <20130227003517.GB7348@lor.one-eyed-alien.net> <28404C12-67F3-44F0-AB28-02B749472873@bsdimp.com> <51BB3E17-128A-4989-B272-D8B40D4B854B@bsdimp.com> <20130227175006.A604A58096@chaos.jnpr.net> <20130227195807.GA19255@lor.one-eyed-alien.net> <20130227202822.8F53B58096@chaos.jnpr.net> <20130227220520.GB19594@lor.one-eyed-alien.net> <20130227232632.74C2F58096@chaos.jnpr.net> <20130227235952.GE19594@lor.one-eyed-alien.net> <20130228013915.DF81E58096@chaos.jnpr.net> <20130228171947.GA20864@lor.one-eyed-alien.net> Comments: In-reply-to: Brooks Davis message dated "Thu, 28 Feb 2013 11:19:47 -0600." From: "Simon J. Gerraty" X-Mailer: MH-E 7.82+cvs; nmh 1.3; GNU Emacs 22.3.1 Date: Thu, 28 Feb 2013 13:53:41 -0800 Message-ID: <20130228215341.D9DA758096@chaos.jnpr.net> MIME-Version: 1.0 Content-Type: text/plain Cc: freebsd-arch@freebsd.org X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Feb 2013 21:59:19 -0000 On Thu, 28 Feb 2013 11:19:47 -0600, Brooks Davis writes: >> .meta files are great for finding out what the compiler is really doing ;= >-) > >I'm curious, is there a way to log failed fail accesses in metamode? I No, we deliberatly only log the successful syscalls - since those are the only ones relevant to make. You can run the compiler under ktrace to see all the failed searches. >Ah, I see. The only thing I know of that currently stops the base >system compiler from being used with --sysroot is that ld doesn't >support it unless it's compiled with a sysroot. This seems inane to me. >I've been tempted for a while to compile it with a default sysroot of >"/" to enable sysroot support. That would be good. >OK, that makes sense and should work. I think I'm inclined to go with >my current approach for now and then migrate to what ever form of >${CFLAGS_LAST} and friends that we end up with after we've debated the >issues there and decided how much abstraction we really want. Sure.