From owner-freebsd-ports@FreeBSD.ORG Thu May 8 12:42:12 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 1991321E for ; Thu, 8 May 2014 12:42:12 +0000 (UTC) Received: from mail-ve0-f171.google.com (mail-ve0-f171.google.com [209.85.128.171]) (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 C8F3CB21 for ; Thu, 8 May 2014 12:42:11 +0000 (UTC) Received: by mail-ve0-f171.google.com with SMTP id oz11so3157994veb.16 for ; Thu, 08 May 2014 05:42:10 -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=Ut3ShVQpqQvG+hYXQRtNobi0PCsXR3h2fbUYmG6+V9M=; b=iic2fZc0Qz0R9IV9KTRXtfe778YReM0xzriwTqvrPBG2IM6JycD8bokLMNMsu1ms6M l1KovS1NbWbmDq0Vo5Hq1sbzS1LRj9nolG/XXNhtelNcklVfJOioKwQMr2CVUL/Xdi1g 1tUsR3o3SJP/nyyG5MnXoDrzDkFSiiK5vYsFWhAhpRAgng7RjJAGzn8UOKCq74w5dETF UDG5UyJub4kQAMx0F7gyoz2L37tqszL4s67c77joTdcGKRtDJfu/zjgVjqrlH5qqgAiM 6O99who34C1U5GPKVZcWKRtKvBQnB06dmS61ithkp7QdaiSVo/y0CN84NFCQQ5K9C5xV C+4Q== X-Gm-Message-State: ALoCoQlMlx0cet1ONAPzBKyDc32PSJYqkUu5c9WIG39BGPk+zz7pdUynRRztf2au9OBGvlacFV+T X-Received: by 10.58.230.103 with SMTP id sx7mr2655935vec.28.1399552930120; Thu, 08 May 2014 05:42:10 -0700 (PDT) MIME-Version: 1.0 Received: by 10.58.178.139 with HTTP; Thu, 8 May 2014 05:41:50 -0700 (PDT) X-Originating-IP: [209.74.10.193] In-Reply-To: References: From: Geoff Speicher Date: Thu, 8 May 2014 08:41:50 -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: Martin Matuska , 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: Thu, 08 May 2014 12:42:12 -0000 On Wed, May 7, 2014 at 12:30 PM, Geoff Speicher 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