From owner-freebsd-ports@FreeBSD.ORG Wed May 7 16:34:54 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 5D458A46 for ; Wed, 7 May 2014 16:34:54 +0000 (UTC) Received: from mail-ve0-f172.google.com (mail-ve0-f172.google.com [209.85.128.172]) (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 0603EE70 for ; Wed, 7 May 2014 16:34:53 +0000 (UTC) Received: by mail-ve0-f172.google.com with SMTP id oz11so1601926veb.31 for ; Wed, 07 May 2014 09:34:47 -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:from:date:message-id:subject:to :content-type; bh=C7VXdnMN6UV/gHqtLj/p+5Fx8Ck1fN9yZ7AkE/k7H+8=; b=SyETSwy1DswPAWHb4GuenVkRhaHkGcsqDAHk8hp51SQwz5De6EZAsseE35pAkOGM/n fUBGsZeaRQ53fTgIWtwjPb7cTFCKX9VMehXjKTbkyt4A5rCO5Pv6TdupESKljaCHLIxG 8xpD58zPlOx74wslpw0/lhFAft6wrNo3TDVLG2UM36eE7EKm2veWr6BKjC9dSx8sobrk 7n5OjdiHuEH/+8SNRJKFagO/40tIjrTff7G1Hiz+8PtfAU/78c8S9BUfsR7JqCq2DQxc kqW6J71HodNHHKhKRVk8D/8g0S7H9e6ejK3tOR9YQrSPYCwIdc8LfLgrhMinhW9YFJEi UFXA== X-Gm-Message-State: ALoCoQn4PKLHOVxAQfXkYGw2W3FKhJwozo8Fme8hsIfm9j1JEvazlK2tsKIchapFIQtgA28hrj+o X-Received: by 10.58.150.68 with SMTP id ug4mr1495249veb.50.1399478742244; Wed, 07 May 2014 09:05:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.58.178.139 with HTTP; Wed, 7 May 2014 09:05:22 -0700 (PDT) X-Originating-IP: [209.74.10.193] From: Geoff Speicher Date: Wed, 7 May 2014 12:05:22 -0400 Message-ID: Subject: 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 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: Wed, 07 May 2014 16:34:54 -0000 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