Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Jan 2002 15:29:44 -0800 (PST)
From:      Joachim Strömbergson <watchman@ludd.luth.se>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/33588: Update of Icarus Verilog port to 0.5
Message-ID:  <200201052329.g05NTiW69058@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         33588
>Category:       ports
>Synopsis:       Update of Icarus Verilog port to 0.5
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 05 15:30:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Joachim Strömbergson
>Release:        4.4-STABLE
>Organization:
InformAsic
>Environment:
FreeBSD fetis.informasic.com 4.4-STABLE FreeBSD 4.4-STABLE #0: Sun Nov 18 12:45:24 CET 2001     js@fetis.informasic.com:/usr/obj/usr/src/sys/UP4X  i386

>Description:
The port of Icarus Verilog is quite out of date. The current stable
version, 0.5 has been out for almost a year.

The author of Icarus strongly recommends that the port should instead
be based on version 0.5 due to the big changes/improvements in
functionality and performance as well as bug fixes. He was frankly
quite surprised that it hadn't been updated.

I notified the port maintainer two months ago by email, but haven't
received any response nor have the port been updated. (I guess that
was the wrong way to do it. ;-)

>How-To-Repeat:
Install the port and try to compile a design. It's sooooo slow.


>Fix:
The diffs below will update the port to 0.5. It has been tested. There
is however one problem, and I will state it here:

The tool is using bison for building. Somewhere between version 1.28
and 1.30 of bison, there was a change to the semantics/functionality
of the "-d" flag in bison. The build process for Icarus uses the "-d"
flag and the port will fail if built using bison 1.30+ (and possibly
1.29).

The reason for the failure is that bison up to version 1.28 would
generate a header file called "parser.cc.h" when the "-d" flag is
used with the input "parse.cc". Bison 1.30 would instead generate a
header file called "parse.hh" for the same input.

I have notified the author of Icarus about this problem, and future
versions will probably handle this.

The changes for solving this in the port would require a small patch
to the Makefile.in on row 170. And some way to add version detection
for bison in the ports.

Here are the diffs. Could someone commit them, please?

/Joachim



--- /usr/ports/cad/iverilog/distinfo    Tue Feb 13 12:02:15 2001
+++ distinfo    Sat Jan  5 23:31:08 2002
@@ -1 +1,2 @@
-MD5 (verilog-0.4.tar.gz) = d2b0c7c1480ffb2ad1b440bded97e419
+MD5 (verilog-0.5.tar.gz) = 255cf69ebd4677bc3a6624a074776c6e



--- /usr/ports/cad/iverilog/Makefile    Sat May 19 10:51:50 2001
+++ datorprylar/ports/iverilog/Makefile Sat Jan  5 23:47:32 2002
@@ -7,7 +7,7 @@
 #
 
 PORTNAME=      iverilog
-PORTVERSION=   0.4
+PORTVERSION=   0.5
 CATEGORIES=    cad
 MASTER_SITES=  ftp://icarus.com/pub/eda/verilog/v${PORTVERSION}/
 DISTNAME=      verilog-${PORTVERSION}

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201052329.g05NTiW69058>