From owner-freebsd-ports@FreeBSD.ORG Sun Aug 26 16:10:49 2007 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 60FD716A417 for ; Sun, 26 Aug 2007 16:10:49 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.188]) by mx1.freebsd.org (Postfix) with ESMTP id B23AA13C480 for ; Sun, 26 Aug 2007 16:10:48 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: by mu-out-0910.google.com with SMTP id w9so1717855mue for ; Sun, 26 Aug 2007 09:10:47 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=TuAc1kYJc384Wiw/Gb8q1PHC65Esdd/1E65qCkYOlm7+xacvT53FZKLJscpKZaDzrk+qQpQDq6pMkguflEL/98NmabuqD2LirdBz69iSAFHAxlvrKBCnUmZ8O/ecZmFHL5US1GSvjS8qO1SAbUbb3ziCQq61jk0/ezrlxx0P6Do= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ExFcK8o0mHNRb4WW9PqKKcdFE7p7JkLPaBkfLjVIv5pKh1nTmAAPCD9NSoqPw/x0OxznnqELB8AXgmTHkND10SMfiZIpVKhXo9lApmXRzAA5Ere1EwAkUoRPCmCJ2pbpE9/u51rKpDEwrgdN1ZYZr9f0oLkT7OWjatcnr1gCmaA= Received: by 10.86.28.5 with SMTP id b5mr4124000fgb.1188144647050; Sun, 26 Aug 2007 09:10:47 -0700 (PDT) Received: by 10.86.71.6 with HTTP; Sun, 26 Aug 2007 09:10:47 -0700 (PDT) Message-ID: <790a9fff0708260910w1661cdap6e9523ce02da407a@mail.gmail.com> Date: Sun, 26 Aug 2007 11:10:47 -0500 From: "Scot Hetzel" To: "[LoN]Kamikaze" In-Reply-To: <46D15117.90706@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070805184359.GD21980@rot26.obsecurity.org> <46D15117.90706@gmx.de> Cc: ports@freebsd.org, ports-amd64@freebsd.org Subject: Re: [ports-amd64@freebsd.org: freehdl-0.0.4_1 failed on amd64 7] 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: Sun, 26 Aug 2007 16:10:49 -0000 On 8/26/07, [LoN]Kamikaze wrote: > Kris Kennaway wrote: > > FYI; can you please investigate and/or report to the developers? If > > you are already aware of this problem but do not yet have a fix, > > please mark the port BROKEN in the appropriate case, so that users do > > not unexpectedly encounter it. > > > > See http://pointyhat.freebsd.org for the full log. > > > > Thanks, > > Kris > > I cannot find a PR about this. So I'm just replying to the mail. > > The problem only appears when the gcc4 branch is used. The freehdl > developers > as well as me are mystified, because the gcc output does not contain any > hints > about the nature of the problem. > > I didn't find a way to check the gcc version in bsd.gcc.mk, so I don't know > how > to mark it broken properly. > > I had something like: > > .if GCC_VERSION >= 40 > BROKEN= gcc3 branch required > .endif > > in mind. Just add the following after bsd.ports.pre.mk: if ${OSVERSION} >= 700042 USE_GCC= 3.4 .endif This will allow the port to build on 7-CURRENT, and give you and the freehdl developers time to determine why the port fails to build with GCC 4.x OSVERSION=700042 is when GCC 4.x was imported into -CURRENT. Scot -- DISCLAIMER: No electrons were mamed while sending this message. Only slightly bruised.