From owner-freebsd-ports@FreeBSD.ORG Fri Mar 26 07:19:07 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA6F4106566C for ; Fri, 26 Mar 2010 07:19:07 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.153]) by mx1.freebsd.org (Postfix) with ESMTP id 5928D8FC08 for ; Fri, 26 Mar 2010 07:19:06 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id d23so2204612fga.13 for ; Fri, 26 Mar 2010 00:19:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:cc:content-type; bh=G2UlxMPa0kQsmIoynXscy3nY03HDl6pisca+e+lQDYw=; b=tFX8cU/8O8kEvi+3B4RLe6gbVqkjRbX8AsOBN3ZBvLyjOna8BRoo5JfyLUscwm2BO4 khdT/Vk3enGQv3iEM1P/FnQxdFwxdCHImDW8H653etn5c7AusrBqFlaYNkgCQafonays tyw3MX0U4C+mOqgBz61pmQCvjidayLiK+w30k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=sNY4U11FeAH/sFVccP76SlTBBvqBFtWvXBzkKrNyzIKKGzFaynkUqlMw5EcPOYiiG6 kpQcgedHFFvt0KeFjQE/G0jjOa5BaoTHjVcglJicij//4YPOt8MCYAsF+2Y8QAKPOxco tUGp2EXT+Ok4+8xqP7BT+MXjdHzk5rsuWcdPE= MIME-Version: 1.0 Received: by 10.239.167.14 with HTTP; Fri, 26 Mar 2010 00:19:05 -0700 (PDT) In-Reply-To: <3fcfb0ba1003251803p15b4012exf8cae140c6f88d32@mail.gmail.com> References: <3fcfb0ba1003251803p15b4012exf8cae140c6f88d32@mail.gmail.com> Date: Fri, 26 Mar 2010 08:19:05 +0100 Received: by 10.239.182.204 with SMTP id r12mr41632hbg.193.1269587945827; Fri, 26 Mar 2010 00:19:05 -0700 (PDT) Message-ID: From: Rene Ladan To: CeDeROM Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-ports@freebsd.org Subject: Re: default binutils - linker 2.15 versus 2.20 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Mar 2010 07:19:07 -0000 2010/3/26 CeDeROM : > Hello world! > > I have problems building applications requiring ld 2.20 (located at > /usr/local/bin) where ld 2.15 (located at /usr/bin) is being invoked > with c++ (gcc4.2.1). Why there are two linkers on the system? Is it > possible to update the default linker to version 2.20? > An upgrade is not possible because binutils switched to GPL3 after version 2.17 and GLP3 code is not allowed in the base system. One possible solution would be to tell the applications to use /usr/local/bin/ld explicitly. Rene -- http://www.rene-ladan.nl/ GPG fingerprint = E738 5471 D185 7013 0EE0 4FC8 3C1D 6F83 12E1 84F6 (subkeys.pgp.net)