Bug 125182 - sci-electronics/iverilog-0.8.1-r1 fails (gcc4)
|
Bug#:
125182
|
Product: Gentoo Linux
|
Version: 2005.1
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: plasmaroo@gentoo.org
|
Reported By: hetfield666@gmail.com
|
|
Component: GCC Porting
|
|
|
URL:
|
|
Summary: sci-electronics/iverilog-0.8.1-r1 fails (gcc4)
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2006-03-05 23:51 0000
|
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 ‘svector<std::string>::svector’ instead of
‘svector<std::string>::svector<std::string>’ to name the
constructor in a qualified name
svector.h:104: error: explicit specialization of
‘svector<std::string>::svector(unsigned int)’ must be introduced by
‘template <>’
svector.h:104: error: template-id ‘svector<>’ for
‘svector<std::string>::svector(unsigned int)’ does not match any
template declaration
svector.h:104: error: invalid function declaration
netlist.h:756: error: ISO C++ forbids declaration of ‘NetRamDq’
with no type
netlist.h:756: error: expected ‘;’ before ‘*’ token
netlist.h:1848: error: ISO C++ forbids declaration of ‘NetEvTrig’
with no type
netlist.h:1848: error: expected ‘;’ before ‘*’ token
netlist.h:1853: error: ISO C++ forbids declaration of ‘NetEvWait’
with no type
netlist.h:1853: error: expected ‘;’ before ‘*’ 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.
Ok, can you please try verilog-0.8.2? I believe that should fix some of the
issues. Thanks.
have you committed it? can't find in portage...
No, you need to rename the ebuild and digest it.
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 ‘PEString::’ on member
‘eval_const’
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.
InCVS with patch, thanks! Reopen if there are any issues.