From owner-svn-ports-head@FreeBSD.ORG Mon Jul 21 12:16:40 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C375F12C; Mon, 21 Jul 2014 12:16:40 +0000 (UTC) Received: from shepard.synsport.net (mail.synsport.com [208.69.230.148]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0B6B72DAC; Mon, 21 Jul 2014 12:16:40 +0000 (UTC) Received: from [192.168.0.22] (unknown [130.255.19.191]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by shepard.synsport.net (Postfix) with ESMTP id 328AD43B4E; Mon, 21 Jul 2014 07:16:13 -0500 (CDT) Message-ID: <53CD047B.7080104@marino.st> Date: Mon, 21 Jul 2014 14:15:55 +0200 From: John Marino Reply-To: marino@freebsd.org User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Tijl Coosemans Subject: Re: svn commit: r362304 - head/x11-toolkits/pango References: <201407200815.s6K8FG8b003096@svn.freebsd.org> <20140720132259.156d687e@kalimero.tijl.coosemans.org> <53CBA770.2010409@marino.st> <20140720113124.GD26778@ivaldir.etoilebsd.net> <20140720165256.1f4d5d07@kalimero.tijl.coosemans.org> <53CBF2D7.4070005@marino.st> <20140721013342.6c17ecdc@kalimero.tijl.coosemans.org> <53CCABFA.7090202@marino.st> <20140721121214.1d1f3ef5@kalimero.tijl.coosemans.org> <53CCF19B.3060906@marino.st> <20140721132621.64ef394c@kalimero.tijl.coosemans.org> In-Reply-To: <20140721132621.64ef394c@kalimero.tijl.coosemans.org> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: svn-ports-head@freebsd.org, kwm@FreeBSD.org, Baptiste Daroussin , svn-ports-all@freebsd.org, marino@freebsd.org, ports-committers@freebsd.org X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jul 2014 12:16:40 -0000 On 7/21/2014 13:26, Tijl Coosemans wrote: > On Mon, 21 Jul 2014 12:55:23 +0200 John Marino wrote: >> Everything that uses a pango function that has a libm symbol must also >> link with libm. > > This is a completely false statement. If X links to Y and Y uses Z > symbols, you do not have to link X with Z. Y links with Z and that is > enough. Otherwise X would have to link with its entire dependency > tree. If the linker doesn't follow Y's link to Z, how is it supposed to resolve Z references? so yes, you do have to link X with Z -- that's what explicit linking requires. Following indirect links (like your Y -> Z) example is the original ld behavior. The latest binutils linkers don't do this be default. You either had to pass a flag to change how it's built during configuration (or maybe patch the linker, not sure) to restore the original behavior. John