Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66]) by www.NetBSD.org (Postfix) with ESMTP id DDD6063E252 for ; Wed, 7 Mar 2012 12:55:49 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id D18D514A557; Wed, 7 Mar 2012 12:55:55 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 4823614A556 for ; Wed, 7 Mar 2012 12:55:54 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id 5cnOVj9Swaad for ; Wed, 7 Mar 2012 12:55:53 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id 6D61D14A555 for ; Wed, 7 Mar 2012 12:55:53 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 89203175DD; Wed, 7 Mar 2012 12:55:53 +0000 (UTC) MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Date: Wed, 7 Mar 2012 12:55:53 +0000 From: "Havard Eidnes" Subject: CVS commit: pkgsrc/mk/wrapper To: pkgsrc-changes@NetBSD.org Reply-To: he@netbsd.org X-Mailer: log_accum Message-Id: <20120307125553.89203175DD@cvs.netbsd.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk Module Name: pkgsrc Committed By: he Date: Wed Mar 7 12:55:53 UTC 2012 Modified Files: pkgsrc/mk/wrapper: transform-gcc Log Message: Rewrite any -R into -Wl,-R. -R is the old form of -Wl,-R, but our gcc re-orders them so that all -R args come at the front of the "ld" invocation. This messes up the relative search order, and is at least partly responsible for "the pixman problem" experienced on (at least) NetBSD 5.1. This is as close as a general fix as I can think of, and should fix PR#46130, although it possibly doesn't fix every instance of this more general problem. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 pkgsrc/mk/wrapper/transform-gcc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.