From owner-freebsd-ports@FreeBSD.ORG Fri May 9 16:04:31 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6A8F36DC for ; Fri, 9 May 2014 16:04:31 +0000 (UTC) Received: from mail-ve0-f169.google.com (mail-ve0-f169.google.com [209.85.128.169]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 225AD612 for ; Fri, 9 May 2014 16:04:30 +0000 (UTC) Received: by mail-ve0-f169.google.com with SMTP id jx11so5460789veb.14 for ; Fri, 09 May 2014 09:04:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=cRGMOaIojrLdw9gFZD/r/OGP3sO+4BxiH8Jc+SEeioY=; b=E4oquDJvAjf6NlgOlfJ+FrlyluXb+pcQLQyV2LcMbwYvnzGfhasWignaI3v8489FpO n/6MuqpRzzu8Zo4fLuBw3hXby6BxN5ZMTyzpyrN6PNs1iJUE4bktLkDGl1KjSTCXQdUc O5rY/ZXx7+2uV+bXepDzXN8slNkvDfv/S9zdDTKKrQeLLYeTMA4+cQtUYeEAsk/89RmF boO4N1qNirYsCl6qdDP0/+ibD8Yx0w2oRlMKM5OngnjRNcMdO5hiX9JsgKmT/SU0UGfG Hyu1WG1cxY52H9GwAYSGzcwHacYUpwfnqs1qH0LFLlNAH78DifuncwC/WiTZ2Sv0jul/ 2ADw== X-Gm-Message-State: ALoCoQlCdvEEFXyD21mMtTitp4tCG1GPpZ8v7Yk5J10MiGVfqHqWxamLxn/ObSkUctrklcykn8Un X-Received: by 10.58.66.195 with SMTP id h3mr1243506vet.57.1399651463672; Fri, 09 May 2014 09:04:23 -0700 (PDT) MIME-Version: 1.0 Received: by 10.58.178.139 with HTTP; Fri, 9 May 2014 09:04:03 -0700 (PDT) X-Originating-IP: [209.74.10.193] In-Reply-To: References: From: Geoff Speicher Date: Fri, 9 May 2014 12:04:03 -0400 Message-ID: Subject: Re: devel/binutils and devel/gnulibiberty version mismatch To: freebsd-ports@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 Cc: Gerald Pfeifer , zeising@freebsd.org, Martin Matuska , Craig Leres , Joerg Wunsch X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 May 2014 16:04:31 -0000 Bringing in other parties for feedback, based on their mention in the binutils commit (svn link below). On Thu, May 8, 2014 at 8:41 AM, Geoff Speicher wrote: > On Wed, May 7, 2014 at 12:30 PM, Geoff Speicher < > geoff@sea-incorporated.com> wrote: > >> On Wed, May 7, 2014 at 12:05 PM, Geoff Speicher < >> geoff@sea-incorporated.com> wrote: >> >>> devel/binutils is at version 2.24, and as of 16-Dec-2013 no longer >>> installs libiberty [1], but does install libbfd, which gets linked against >>> the copy of libiberty (v2.24) in the build tree. >>> >>> To link an application against libbfd from devel/binutils, one must >>> install devel/gnulibiberty to resolve the missing symbols, but that port >>> uses libiberty from binutils v2.19.1 which doesn't contain all the symbols >>> from v2.24 (e.g. filename_ncmp at a minimum). >>> >>> There is a separate devel/libbfd port that matches the version in >>> devel/gnulibiberty but if your port requires ${LOCALBASE}/libbfd.a and >>> devel/gnulibiberty as build dependencies, and you already have >>> devel/binutils installed, then your port will fail when linking. >>> >>> Should I just mark the port as conflicting with devel/binutils or is >>> there a better workaround for this? >>> >>> [1] http://svnweb.freebsd.org/ports?view=revision&revision=336642 >>> >> >> Sorry for responding to myself, but it gets worse: the port I'm working >> on requires gcc from ports (at least on FreeBSD 8.4, because it needs a >> c++11 compiler), which depends on devel/binutils, so I can't conflict with >> binutils or else I don't have a compiler. >> >> Is there any reason why devel/libbfd and devel/gnulibiberty shouldn't be >> upgraded to v2.24? >> >> > Joerg, maintainer of devel/libbfd and devel/gnulibiberty (and cc'ed on > this response), and I have come to the conclusion that these two ports > should simply be removed in favor of devel/binutils (maintained by Martin, > also cc'ed). Until recently, only four ports required libbfd and/or > gnulibiberty: devel/avarice , > emulators/skyeye , > devel/fpc-bfd , and > archivers/tardy . Joerg > originally created the ports for libbfd and gnulibiberty to support his > port of devel/avarice, but that no longer needs them after the last upgrade > so he just dropped the dependencyleaving only three dependent ports, which can be changed to depend on > devel/binutils instead. > > Martin/Joerg, would the two of you be willing and able to coordinate to > change binutils so that it installs libiberty.a (and headers) again, > replace the dependencies for those three remaining ports, and remove the > two ports that are no longer needed? Let me know if there is anything I can > do to help. > > Geoff >