<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>125182</bug_id>
          
          <creation_ts>2006-03-05 23:51 0000</creation_ts>
          <short_desc>sci-electronics/iverilog-0.8.1-r1 fails (gcc4)</short_desc>
          <delta_ts>2006-03-10 11:38:45 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>GCC Porting</component>
          <version>2005.1</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>117482</blocked>
          
          <everconfirmed>1</everconfirmed>
          <reporter>hetfield666@gmail.com</reporter>
          <assigned_to>plasmaroo@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>hetfield666@gmail.com</who>
            <bug_when>2006-03-05 23:51:05 0000</bug_when>
            <thetext>checking for VPI subdirectories... .
configure: creating ./config.status
config.status: creating Makefile
mkdir dep
i686-pc-linux-gnu-g++ -DHAVE_CVS_IDENT=1 -DHAVE_CONFIG_H -I. -I.  -Wall -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -ffast-math -MD -c main.cc -o main.o
verinum.h:46: error: expected &amp;#8216;,&amp;#8217; or &amp;#8216;...&amp;#8217; before &amp;#8216;&amp;&amp;#8217; token
verinum.h:46: error: ISO C++ forbids declaration of &amp;#8216;string&amp;#8217; with no type
verinum.h:93: error: &amp;#8216;string&amp;#8217; does not name a type
verinum.h:110: error: expected initializer before &amp;#8216;&amp;&amp;#8217; token
verinum.h:111: error: expected initializer before &amp;#8216;&amp;&amp;#8217; token
verireal.h:42: error: ISO C++ forbids declaration of &amp;#8216;ostream&amp;#8217; with no type
verireal.h:42: error: &amp;#8216;ostream&amp;#8217; is neither function nor member function; cannot be declared friend
verireal.h:42: error: expected &amp;#8216;;&amp;#8217; before &amp;#8216;&amp;&amp;#8217; token
verireal.h:71: error: expected initializer before &amp;#8216;&amp;&amp;#8217; token
StringHeap.h:104: error: expected &amp;#8216;,&amp;#8217; or &amp;#8216;...&amp;#8217; before &amp;#8216;&amp;&amp;#8217; token
StringHeap.h:104: error: ISO C++ forbids declaration of &amp;#8216;string&amp;#8217; with no type
svector.h:104: error: invalid use of constructor as a template
svector.h:104: note: use &amp;#8216;svector&lt;std::string&gt;::svector&amp;#8217; instead of &amp;#8216;svector&lt;std::string&gt;::svector&lt;std::string&gt;&amp;#8217; to name the constructor in a qualified name
svector.h:104: error: explicit specialization of &amp;#8216;svector&lt;std::string&gt;::svector(unsigned int)&amp;#8217; must be introduced by &amp;#8216;template &lt;&gt;&amp;#8217;
svector.h:104: error: template-id &amp;#8216;svector&lt;&gt;&amp;#8217; for &amp;#8216;svector&lt;std::string&gt;::svector(unsigned int)&amp;#8217; does not match any template declaration
svector.h:104: error: invalid function declaration
netlist.h:756: error: ISO C++ forbids declaration of &amp;#8216;NetRamDq&amp;#8217; with no type
netlist.h:756: error: expected &amp;#8216;;&amp;#8217; before &amp;#8216;*&amp;#8217; token
netlist.h:1848: error: ISO C++ forbids declaration of &amp;#8216;NetEvTrig&amp;#8217; with no type
netlist.h:1848: error: expected &amp;#8216;;&amp;#8217; before &amp;#8216;*&amp;#8217; token
netlist.h:1853: error: ISO C++ forbids declaration of &amp;#8216;NetEvWait&amp;#8217; with no type
netlist.h:1853: error: expected &amp;#8216;;&amp;#8217; before &amp;#8216;*&amp;#8217; token
make: *** [main.o] Error 1

!!! ERROR: sci-electronics/iverilog-0.8.1-r1 failed.
Call stack:
  ebuild.sh, line 1933:   Called dyn_compile
  ebuild.sh, line 971:   Called src_compile

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>plasmaroo@gentoo.org</who>
            <bug_when>2006-03-06 10:28:03 0000</bug_when>
            <thetext>Ok, can you please try verilog-0.8.2? I believe that should fix some of the issues. Thanks.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hetfield666@gmail.com</who>
            <bug_when>2006-03-06 11:22:15 0000</bug_when>
            <thetext>have you committed it? can&apos;t find in portage...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>plasmaroo@gentoo.org</who>
            <bug_when>2006-03-06 11:52:56 0000</bug_when>
            <thetext>No, you need to rename the ebuild and digest it.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hetfield666@gmail.com</who>
            <bug_when>2006-03-07 00:47:22 0000</bug_when>
            <thetext>sigh...sob..0.8.2 fails too.

i&apos;ve switched to gcc 4.1.0 however

configure: creating ./config.status
config.status: creating Makefile
mkdir dep
i686-pc-linux-gnu-g++ -DHAVE_CVS_IDENT=1 -DHAVE_CONFIG_H -I. -I.  -Wall -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -ffast-math -MD -c main.cc -o main.o
PExpr.h:327: error: extra qualification &amp;#8216;PEString::&amp;#8217; on member &amp;#8216;eval_const&amp;#8217;
make: *** [main.o] Error 1

!!! ERROR: sci-electronics/iverilog-0.8.2 failed.
Call stack:
  ebuild.sh, line 1933:   Called dyn_compile
  ebuild.sh, line 971:   Called src_compile

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.


fix is so easy:

line 27
verinum* /*PEString::*/eval_const(const Design*, const NetScope*) const;
(pretty stupid error...not gcc fault..)

plese bump and add that patch , mark closed after that.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>plasmaroo@gentoo.org</who>
            <bug_when>2006-03-10 11:38:45 0000</bug_when>
            <thetext>InCVS with patch, thanks! Reopen if there are any issues.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>