Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 125182 - sci-electronics/iverilog-0.8.1-r1 fails (gcc4)
Summary: sci-electronics/iverilog-0.8.1-r1 fails (gcc4)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Tim Yamin (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 117482
  Show dependency tree
 
Reported: 2006-03-05 23:51 UTC by Patrizio Bassi
Modified: 2006-03-10 11:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrizio Bassi 2006-03-05 23:51:05 UTC
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 ‘,’ or ‘...’ before ‘&’ token
verinum.h:46: error: ISO C++ forbids declaration of ‘string’ with no type
verinum.h:93: error: ‘string’ does not name a type
verinum.h:110: error: expected initializer before ‘&’ token
verinum.h:111: error: expected initializer before ‘&’ token
verireal.h:42: error: ISO C++ forbids declaration of ‘ostream’ with no type
verireal.h:42: error: ‘ostream’ is neither function nor member function; cannot be declared friend
verireal.h:42: error: expected ‘;’ before ‘&’ token
verireal.h:71: error: expected initializer before ‘&’ token
StringHeap.h:104: error: expected ‘,’ or ‘...’ before ‘&’ token
StringHeap.h:104: error: ISO C++ forbids declaration of ‘string’ with no type
svector.h:104: error: invalid use of constructor as a template
svector.h:104: note: use &#8216;svector<std::string>::svector&#8217; instead of &#8216;svector<std::string>::svector<std::string>&#8217; to name the constructor in a qualified name
svector.h:104: error: explicit specialization of &#8216;svector<std::string>::svector(unsigned int)&#8217; must be introduced by &#8216;template <>&#8217;
svector.h:104: error: template-id &#8216;svector<>&#8217; for &#8216;svector<std::string>::svector(unsigned int)&#8217; does not match any template declaration
svector.h:104: error: invalid function declaration
netlist.h:756: error: ISO C++ forbids declaration of &#8216;NetRamDq&#8217; with no type
netlist.h:756: error: expected &#8216;;&#8217; before &#8216;*&#8217; token
netlist.h:1848: error: ISO C++ forbids declaration of &#8216;NetEvTrig&#8217; with no type
netlist.h:1848: error: expected &#8216;;&#8217; before &#8216;*&#8217; token
netlist.h:1853: error: ISO C++ forbids declaration of &#8216;NetEvWait&#8217; with no type
netlist.h:1853: error: expected &#8216;;&#8217; before &#8216;*&#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.
Comment 1 Tim Yamin (RETIRED) gentoo-dev 2006-03-06 10:28:03 UTC
Ok, can you please try verilog-0.8.2? I believe that should fix some of the issues. Thanks.
Comment 2 Patrizio Bassi 2006-03-06 11:22:15 UTC
have you committed it? can't find in portage...
Comment 3 Tim Yamin (RETIRED) gentoo-dev 2006-03-06 11:52:56 UTC
No, you need to rename the ebuild and digest it.
Comment 4 Patrizio Bassi 2006-03-07 00:47:22 UTC
sigh...sob..0.8.2 fails too.

i'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 &#8216;PEString::&#8217; on member &#8216;eval_const&#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.
Comment 5 Tim Yamin (RETIRED) gentoo-dev 2006-03-10 11:38:45 UTC
InCVS with patch, thanks! Reopen if there are any issues.