This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

blitz build error




Hello,
I can't compile blitz.
I use the egcs compiler under linux ( slackware 3.4).
the configuration of my computer :
AMD K6 233; 64 Mbit;
Linux slackware 3.4.
egcs-1.0.3a
blitz-0.4
i don't have any problem to compile egcs.
when i build blitz i have the following message :

If you're curious about which tests passed and failed and why, see
this file:
-rw-r--r--   1 root     users       13226 Aug 11 20:11 logfile
cp config.h ./../blitz/config.h
make[1]: Leaving directory `/blitz-19980807/compiler'
make[1]: Entering directory `/blitz-19980807/src'
g++ -ftemplate-depth-30 -I./.. -c ./globals.cpp
In file included from ../blitz/array.h:2525,
                 from ./globals.cpp:13:
../blitz/array/zip.h:33: Internal compiler error 90.
../blitz/array/zip.h:33: Please submit a full bug report to
`egcs-bugs@cygnus.com'.
make[1]: *** [globals.o] Error 1
make[1]: Leaving directory `/blitz-19980807/src'
make: *** [all] Error 1

Internal compiler error ... is a myster  for me.
thank you for help.
                                               Eric Chereau
____________________________________________________________________________

Eric Chereau         WEB : http://www.infonie.fr/public_html/e.chereau
1 rue de l'Adamine   E.mail : e.chereau@infonie.fr
37510 Ballan-mire
France
____________________________________________________________________________


 
 
 
Does your compiler implement namespaces?
g++ -ftemplate-depth-30 ./namespac.cpp
bzjunk.cpp:3: sorry, not implemented: namespace
bzjunk.cpp:19: redefinition of `class keyboard'
bzjunk.cpp:8: previous definition here
bzjunk.cpp:38: sorry, not implemented: using directive
bzjunk.cpp: In function `int main()':
bzjunk.cpp:42: no matching function for call to `keyboard::keyboard ()'
bzjunk.cpp:22: candidates are: keyboard::keyboard(const keyboard &)
bzjunk.cpp:43: no matching function for call to `keyboard::getkey ()'
bzjunk.cpp:45: `music' undeclared (first use this function)
bzjunk.cpp:45: (Each undeclared identifier is reported only once
bzjunk.cpp:45: for each function it appears in.)
bzjunk.cpp:45: parse error before `::'
bzjunk.cpp:46: `y' undeclared (first use this function)
bzjunk.cpp:48: parse error before `using'
Failed:  BZ_NAMESPACES
 
 
 
What about exceptions?
g++ -ftemplate-depth-30 ./except.cpp
Success: BZ_EXCEPTIONS
 
 
 
Run-Time Type Identification?
g++ -ftemplate-depth-30 ./rtti.cpp
Success: BZ_RTTI
 
 
 
Member constants?
g++ -ftemplate-depth-30 ./membcnst.cpp
Success: BZ_MEMBER_CONSTANTS
 
 
 
Does your compiler cling to the old 'for' scoping rules?
g++ -ftemplate-depth-30 ./oldfor.cpp
bzjunk.cpp: In function `int main()':
bzjunk.cpp:12: warning: name lookup of `i' changed for new ANSI `for' scoping
bzjunk.cpp:7: warning:   using obsolete binding at `i'
Success: BZ_OLD_FOR_SCOPING
 
 
 
How about the 'explicit' keyword?
g++ -ftemplate-depth-30 ./explicit.cpp
Success: BZ_EXPLICIT
 
 
 
What about the 'mutable' keyword?
g++ -ftemplate-depth-30 ./mutable.cpp
Success: BZ_MUTABLE
 
 
 
Does your compiler recognize 'typename'?
g++ -ftemplate-depth-30 ./typename.cpp
Success: BZ_TYPENAME
 
 
 
Just on the off chance... the NCEG 'restrict' keyword?
g++ -ftemplate-depth-30 ./restrict.cpp
bzjunk.cpp:6: parse error before `,'
bzjunk.cpp: In function `void add(...)':
bzjunk.cpp:9: `length' undeclared (first use this function)
bzjunk.cpp:9: (Each undeclared identifier is reported only once
bzjunk.cpp:9: for each function it appears in.)
bzjunk.cpp:10: `a' undeclared (first use this function)
bzjunk.cpp:10: `b' undeclared (first use this function)
bzjunk.cpp:10: `c' undeclared (first use this function)
Failed:  BZ_NCEG_RESTRICT
 
 
 
Does it recognize bool as a built-in type?
g++ -ftemplate-depth-30 ./bool.cpp
Success: BZ_BOOL
 
 
 
What about const_cast<>?
g++ -ftemplate-depth-30 ./constcst.cpp
Success: BZ_CONST_CAST
 
 
 
static_cast<>?
g++ -ftemplate-depth-30 ./statcast.cpp
Success: BZ_STATIC_CAST
 
 
 
reinterpret_cast<>?
g++ -ftemplate-depth-30 ./reinterp.cpp
Success: BZ_REINTERPRET_CAST
 
 
 
dynamic_cast<>?
g++ -ftemplate-depth-30 ./dynamic.cpp
Success: BZ_DYNAMIC_CAST
 
 
 
Will it handle basic templates? (If not, just give up now.)
g++ -ftemplate-depth-30 ./template.cpp
Success: BZ_TEMPLATES
 
 
 
Partial specialization?
g++ -ftemplate-depth-30 ./partial.cpp
Success: BZ_PARTIAL_SPECIALIZATION
 
 
 
Partial ordering?
g++ -ftemplate-depth-30 ./porder.cpp
Success: BZ_PARTIAL_ORDERING
 
 
 
Default template parameters?
g++ -ftemplate-depth-30 ./default.cpp
Success: BZ_DEFAULT_TEMPLATE_PARAMETERS
 
 
 
Member templates?
g++ -ftemplate-depth-30 ./membtmpl.cpp
Success: BZ_MEMBER_TEMPLATES
 
 
 
Member templates outside the class declaration?
g++ -ftemplate-depth-30 ./membtmp2.cpp
Success: BZ_MEMBER_TEMPLATES_OUTSIDE_CLASS
 
 
 
Does it recognize the full specialization syntax?
g++ -ftemplate-depth-30 ./fullspec.cpp
Success: BZ_FULL_SPECIALIZATION_SYNTAX
 
 
 
Function templates with non-type parameters?
g++ -ftemplate-depth-30 ./nontype.cpp
Success: BZ_FUNCTION_NONTYPE_PARAMETERS
 
 
 
Template-qualified base class specifiers?
g++ -ftemplate-depth-30 ./elabbase.cpp
Success: BZ_TEMPLATE_QUALIFIED_BASE_CLASS
 
 
 
Template-qualified return types (necessary for vector type promotion)?
g++ -ftemplate-depth-30 ./elabret.cpp
Success: BZ_TEMPLATE_QUALIFIED_RETURN_TYPE
 
 
 
Explicit template function qualification?
g++ -ftemplate-depth-30 ./tempqual.cpp
Success: BZ_EXPLICIT_TEMPLATE_FUNCTION_QUALIFICATION
 
 
 
Templates as template arguments?
g++ -ftemplate-depth-30 ./temptemp.cpp
bzjunk.cpp:10: parse error before `template'
bzjunk.cpp: In function `int main()':
bzjunk.cpp:20: confused by earlier errors, bailing out
Failed:  BZ_TEMPLATES_AS_TEMPLATE_ARGUMENTS
 
 
 
Use of the template keyword as a qualifier?
g++ -ftemplate-depth-30 ./tempkey.cpp
Success: BZ_TEMPLATE_KEYWORD_QUALIFIER
 
 
 
Function matching with argument types which are template scope-qualified?
g++ -ftemplate-depth-30 ./tempqmt.cpp
Success: BZ_TEMPLATE_SCOPED_ARGUMENT_MATCHING
 
 
 
Will it support the vector type promotion mechanism?
g++ -ftemplate-depth-30 ./promote.cpp
Success: BZ_TYPE_PROMOTION
 
 
 
Numeric traits promotions (sum type, etc.)?
g++ -ftemplate-depth-30 ./numtrait.cpp
Success: BZ_USE_NUMTRAIT
 
 
 
Can your compiler handle computations inside an enum?
g++ -ftemplate-depth-30 ./enumcomp.cpp
bzjunk.cpp:21: warning: comparison between `enum foo::{anonymous}' and `enum bar::{anonymous}'
Success: BZ_ENUM_COMPUTATIONS
 
 
 
Does it handle (int) casts in enum computations?
g++ -ftemplate-depth-30 ./enumcmp2.cpp
Success: BZ_ENUM_COMPUTATIONS_WITH_CAST
 
 
 
Is static initialization of template instances handled properly?
g++ -ftemplate-depth-30 ./tempstat.cpp
bzjunk.cpp:34: parse error before `items'
bzjunk.cpp:37: warning: ANSI C++ forbids declaration `allocate' with no type or storage class
bzjunk.cpp:37: warning: ANSI C++ forbids initialization of member `allocate'
bzjunk.cpp:38: warning: ANSI C++ forbids declaration `references_' with no type or storage class
bzjunk.cpp:38: warning: ANSI C++ forbids initialization of member `references_'
bzjunk.cpp:39: warning: ANSI C++ forbids declaration `ownData_' with no type or storage class
bzjunk.cpp:39: warning: ANSI C++ forbids initialization of member `ownData_'
bzjunk.cpp:42: parse error before `,'
bzjunk.cpp:43: semicolon missing after declaration of `class MemoryBlock<P_type>'
bzjunk.cpp:43: declaration of template `template <class P_type> int MemoryBlock(...)'
bzjunk.cpp:17: conflicts with previous declaration `template <class P_type> class MemoryBlock<P_type>'
bzjunk.cpp:17: previous non-function declaration `template <class P_type> class MemoryBlock<P_type>'
bzjunk.cpp:43: conflicts with function declaration `template <class P_type> int MemoryBlock(...)'
bzjunk.cpp:52: destructors must be member functions
bzjunk.cpp:52: virtual outside class declaration
bzjunk.cpp: In function `void MemoryBlock()':
bzjunk.cpp:17: previous non-function declaration `template <class P_type> class MemoryBlock<P_type>'
bzjunk.cpp:52: conflicts with function declaration `void MemoryBlock()'
bzjunk.cpp:53: `dataBlockAddress_' undeclared (first use this function)
bzjunk.cpp:53: (Each undeclared identifier is reported only once
bzjunk.cpp:53: for each function it appears in.)
bzjunk.cpp:53: `ownData_' undeclared (first use this function)
bzjunk.cpp: In function `void addReference()':
bzjunk.cpp:61: `references_' undeclared (first use this function)
bzjunk.cpp: At top level:
bzjunk.cpp:64: syntax error before `*'
bzjunk.cpp:69: syntax error before `*'
bzjunk.cpp:74: syntax error before `('
bzjunk.cpp: In function `void removeReference()':
bzjunk.cpp:81: `references_' undeclared (first use this function)
bzjunk.cpp: At top level:
bzjunk.cpp:88: non-member function `references()' cannot have `const' method qualifier
bzjunk.cpp: In function `int references()':
bzjunk.cpp:89: `references_' undeclared (first use this function)
bzjunk.cpp: At top level:
bzjunk.cpp:92: parse error before `protected'
bzjunk.cpp:99: `T_type' was not declared in this scope
bzjunk.cpp:99: confused by earlier errors, bailing out
Failed:  BZ_TEMPLATE_STATIC_INIT
 
 
 
Does it have complex<T>?
g++ -ftemplate-depth-30 ./complex.cpp
Success: BZ_HAVE_COMPLEX
 
 
 
Does it have numeric_limits<T>?
g++ -ftemplate-depth-30 ./numlimit.cpp
bzjunk.cpp:3: limits: No such file or directory
Failed:  BZ_HAVE_NUMERIC_LIMITS
 
 
 
Does it have valarray<T>?
g++ -ftemplate-depth-30 ./valarray.cpp
bzjunk.cpp:3: valarray: No such file or directory
Failed:  BZ_HAVE_VALARRAY
 
 
 
Complex math functions?
g++ -ftemplate-depth-30 ./compmath.cpp
bzjunk.cpp: In function `int main()':
bzjunk.cpp:34: `class complex<double>' used where a floating point value was expected
bzjunk.cpp:34: aggregate value used where a float was expected
bzjunk.cpp:35: `class complex<double>' used where a floating point value was expected
bzjunk.cpp:35: aggregate value used where a float was expected
Failed:  BZ_HAVE_COMPLEX_MATH1
 
 
 
More complex math functions?
g++ -ftemplate-depth-30 ./compmth2.cpp
bzjunk.cpp: In function `int main()':
bzjunk.cpp:15: `class complex<double>' used where a floating point value was expected
bzjunk.cpp:15: aggregate value used where a float was expected
bzjunk.cpp:16: `class complex<double>' used where a floating point value was expected
bzjunk.cpp:16: aggregate value used where a float was expected
bzjunk.cpp:17: `class complex<double>' used where a floating point value was expected
bzjunk.cpp:17: aggregate value used where a float was expected
bzjunk.cpp:18: `class complex<double>' used where a floating point value was expected
bzjunk.cpp:18: aggregate value used where a float was expected
bzjunk.cpp:18: `class complex<double>' used where a floating point value was expected
bzjunk.cpp:18: aggregate value used where a float was expected
bzjunk.cpp:19: `class complex<double>' used where a floating point value was expected
bzjunk.cpp:19: aggregate value used where a float was expected
bzjunk.cpp:20: `class complex<double>' used where a floating point value was expected
bzjunk.cpp:20: aggregate value used where a float was expected
bzjunk.cpp:21: `class complex<double>' used where a floating point value was expected
bzjunk.cpp:21: aggregate value used where a float was expected
Failed:  BZ_HAVE_COMPLEX_MATH2
 
 
 
IEEE Math library?
g++ -ftemplate-depth-30 ./ieeemath.cpp
bzjunk.cpp: In function `int main()':
bzjunk.cpp:33: warning: implicit declaration of function `int logb(...)'
bzjunk.cpp:36: warning: implicit declaration of function `int trunc(...)'
/tmp/cca155601.o: In function `main':
/tmp/cca155601.o(.text+0xd9): undefined reference to `logb'
/tmp/cca155601.o(.text+0x107): undefined reference to `trunc'
collect2: ld returned 1 exit status
Failed:  BZ_HAVE_IEEE_MATH
 
 
 
System V Math library?
g++ -ftemplate-depth-30 ./sysvmath.cpp
bzjunk.cpp: In function `int main()':
bzjunk.cpp:22: warning: implicit declaration of function `int _class(...)'
bzjunk.cpp:23: warning: implicit declaration of function `int ilogb(...)'
bzjunk.cpp:24: warning: implicit declaration of function `int itrunc(...)'
bzjunk.cpp:25: warning: implicit declaration of function `int nearest(...)'
bzjunk.cpp:26: warning: implicit declaration of function `int rsqrt(...)'
bzjunk.cpp:27: warning: implicit declaration of function `int uitrunc(...)'
bzjunk.cpp:33: warning: implicit declaration of function `int nextafter(...)'
bzjunk.cpp:34: warning: implicit declaration of function `int remainder(...)'
bzjunk.cpp:35: warning: implicit declaration of function `int scalb(...)'
bzjunk.cpp:36: warning: implicit declaration of function `int unordered(...)'
/tmp/cca155691.o: In function `main':
/tmp/cca155691.o(.text+0x29): undefined reference to `_class'
/tmp/cca155691.o(.text+0x37): undefined reference to `ilogb'
/tmp/cca155691.o(.text+0x45): undefined reference to `itrunc'
/tmp/cca155691.o(.text+0x53): undefined reference to `nearest'
/tmp/cca155691.o(.text+0x61): undefined reference to `rsqrt'
/tmp/cca155691.o(.text+0x6f): undefined reference to `uitrunc'
/tmp/cca155691.o(.text+0xdb): undefined reference to `nextafter'
/tmp/cca155691.o(.text+0xef): undefined reference to `remainder'
/tmp/cca155691.o(.text+0x103): undefined reference to `scalb'
/tmp/cca155691.o(.text+0x117): undefined reference to `unordered'
collect2: ld returned 1 exit status
Failed:  BZ_HAVE_SYSTEM_V_MATH
 
 
 
Are C math functions in <cmath> and std::?
g++ -ftemplate-depth-30 ./mathscop.cpp
bzjunk.cpp:6: sorry, not implemented: namespace
bzjunk.cpp: In function `int main()':
bzjunk.cpp:13: parse error before `using'
bzjunk.cpp:15: `blitz' undeclared (first use this function)
bzjunk.cpp:15: (Each undeclared identifier is reported only once
bzjunk.cpp:15: for each function it appears in.)
bzjunk.cpp:15: parse error before `::'
Failed:  BZ_MATH_FN_IN_NAMESPACE_STD
 
 
 
Are complex math functions in std::?
g++ -ftemplate-depth-30 ./cmthscop.cpp
bzjunk.cpp:6: sorry, not implemented: namespace
bzjunk.cpp: In function `int main()':
bzjunk.cpp:15: parse error before `using'
bzjunk.cpp:17: `blitz' undeclared (first use this function)
bzjunk.cpp:17: (Each undeclared identifier is reported only once
bzjunk.cpp:17: for each function it appears in.)
bzjunk.cpp:17: parse error before `::'
Failed:  BZ_COMPLEX_MATH_IN_NAMESPACE_STD
 
 
 
ISO C++ Standard library?
g++ -ftemplate-depth-30 ./std.cpp
Success: BZ_HAVE_STD
 
 
 
Standard template library?
g++ -ftemplate-depth-30 ./stl.cpp
Success: BZ_HAVE_STL
 
 
 
What about getrusage()?
g++ -ftemplate-depth-30 ./getruse.cpp
Success: BZ_HAVE_RUSAGE

ZIP.H


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]