From owner-freebsd-arch@FreeBSD.ORG Fri Nov 7 05:52:07 2014 Return-Path: Delivered-To: arch@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 077C38A8; Fri, 7 Nov 2014 05:52:07 +0000 (UTC) Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1on0110.outbound.protection.outlook.com [157.56.110.110]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E257FC39; Fri, 7 Nov 2014 05:52:05 +0000 (UTC) Received: from BL2PR05CA0038.namprd05.prod.outlook.com (10.255.226.38) by BN1PR05MB437.namprd05.prod.outlook.com (10.141.58.11) with Microsoft SMTP Server (TLS) id 15.1.16.15; Fri, 7 Nov 2014 05:52:04 +0000 Received: from BN1AFFO11FD051.protection.gbl (2a01:111:f400:7c10::188) by BL2PR05CA0038.outlook.office365.com (2a01:111:e400:c04::38) with Microsoft SMTP Server (TLS) id 15.1.16.15 via Frontend Transport; Fri, 7 Nov 2014 05:52:03 +0000 Received: from P-EMF01-SAC.jnpr.net (66.129.239.15) by BN1AFFO11FD051.mail.protection.outlook.com (10.58.53.66) with Microsoft SMTP Server (TLS) id 15.1.6.13 via Frontend Transport; Fri, 7 Nov 2014 05:52:03 +0000 Received: from magenta.juniper.net (172.17.27.123) by P-EMF01-SAC.jnpr.net (172.24.192.21) with Microsoft SMTP Server (TLS) id 14.3.146.0; Thu, 6 Nov 2014 21:52:02 -0800 Received: from chaos.jnpr.net (chaos.jnpr.net [172.21.16.28]) by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id sA75q0R04875; Thu, 6 Nov 2014 21:52:01 -0800 (PST) (envelope-from sjg@juniper.net) Received: from chaos (localhost [127.0.0.1]) by chaos.jnpr.net (Postfix) with ESMTP id 9BE0B580A3; Thu, 6 Nov 2014 21:52:00 -0800 (PST) To: Baptiste Daroussin Subject: Re: Overlinking in base In-Reply-To: <20141106130555.GP10388@ivaldir.etoilebsd.net> References: <20141105113839.GG10388@ivaldir.etoilebsd.net> <20141105125431.GD53947@kib.kiev.ua> <20141105125931.GJ10388@ivaldir.etoilebsd.net> <20141105133029.GH53947@kib.kiev.ua> <20141105134006.GL10388@ivaldir.etoilebsd.net> <3912.1415233494@chaos> <20141106130555.GP10388@ivaldir.etoilebsd.net> Comments: In-reply-to: Baptiste Daroussin message dated "Thu, 06 Nov 2014 14:05:55 +0100." From: "Simon J. Gerraty" X-Mailer: MH-E 8.0.3; nmh 1.3; GNU Emacs 22.3.1 Date: Thu, 6 Nov 2014 21:52:00 -0800 Message-ID: <20938.1415339520@chaos> MIME-Version: 1.0 Content-Type: text/plain X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:66.129.239.15; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(189002)(24454002)(199003)(68736004)(19580405001)(19580395003)(6806004)(76506005)(99396003)(57986006)(50986999)(86362001)(76176999)(120916001)(44976005)(69596002)(84676001)(87286001)(87936001)(88136002)(89996001)(117636001)(93886004)(97736003)(46102003)(104166001)(95666004)(92726001)(92566001)(62966003)(77156002)(4396001)(107046002)(31966008)(21056001)(50226001)(105596002)(106466001)(15975445006)(81156004)(64706001)(48376002)(50466002)(33716001)(110136001)(102836001)(47776003)(20776003)(42262002)(62816006); DIR:OUT; SFP:1102; SCL:1; SRVR:BN1PR05MB437; H:P-EMF01-SAC.jnpr.net; FPR:; MLV:sfv; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Antispam: UriScan:; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:BN1PR05MB437; X-Exchange-Antispam-Report-Test: UriScan:; X-Forefront-PRVS: 03883BD916 Received-SPF: SoftFail (protection.outlook.com: domain of transitioning juniper.net discourages use of 66.129.239.15 as permitted sender) Authentication-Results: spf=softfail (sender IP is 66.129.239.15) smtp.mailfrom=sjg@juniper.net; X-OriginatorOrg: juniper.net Cc: Konstantin Belousov , arch@freebsd.org, sjg@juniper.net X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Nov 2014 05:52:07 -0000 Baptiste Daroussin wrote: > I'am about to add something based on the following principle: > https://people.freebsd.org/~bapt/plop.diff This does much of what dpadd.mk does but with more overhead. Once you have a variable like DPADD that has all the libs you need in the right order, you can easily derrive the needed -l's (and even -L's if the libs are in non-standard locations).