Bug 125184 - sci-mathematics/ginac-1.2.3 fails (gcc4)
Bug#: 125184 Product:  Gentoo Linux Version: 2005.1 Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: sci@gentoo.org Reported By: hetfield666@gmail.com
Component: GCC Porting
URL: 
Summary: sci-mathematics/ginac-1.2.3 fails (gcc4)
Keywords:  
Status Whiteboard: 
Opened: 2006-03-06 00:17 0000
Description:   Opened: 2006-03-06 00:17 0000
make[2]: Entering directory
`/var/tmp/portage/ginac-1.2.3/work/GiNaC-1.2.3/ginac'
if /bin/sh ../libtool --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.
-I. -I..     -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer
-mmmx -msse -ffast-math -MT add.lo -MD -MP -MF ".deps/add.Tpo" -c -o add.lo
add.cpp; \
then mv -f ".deps/add.Tpo" ".deps/add.Plo"; else rm -f ".deps/add.Tpo"; exit 1;
fi
mkdir .libs
 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -O3 -mtune=pentium3
-march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -ffast-math -MT add.lo
-MD -MP -MF .deps/add.Tpo -c add.cpp  -fPIC -DPIC -o .libs/add.o
add.cpp:35: error: no matching function for call to
'GiNaC::registered_class_options::print_func(void (GiNaC::add::*)(const
GiNaC::print_context&, unsigned int)const)'
registrar.h:73: note: candidates are: GiNaC::registered_class_options&
GiNaC::registered_class_options::print_func(const GiNaC::print_functor&) [with
Ctx = GiNaC::print_context]
add.cpp:35: error: request for member 'print_func' in
'&GiNaC::add::do_print_latex', which is of non-class type 'void
(GiNaC::add::*)(const GiNaC::print_latex&, unsigned int)const'
add.cpp:35: error: request for member 'print_func' in
'&GiNaC::add::do_print_csrc', which is of non-class type 'void
(GiNaC::add::*)(const GiNaC::print_csrc&, unsigned int)const'
add.cpp:35: error: request for member 'print_func' in
'&GiNaC::expairseq::do_print_tree', which is of non-class type 'void
(GiNaC::expairseq::*)(const GiNaC::print_tree&, unsigned int)const'
add.cpp:35: error: expected primary-expression before '(' token
add.cpp:35: error: no matching function for call to
'GiNaC::registered_class_options::print_func(void (GiNaC::add::*)(const
GiNaC::print_context&, unsigned int)const)'
registrar.h:73: note: candidates are: GiNaC::registered_class_options&
GiNaC::registered_class_options::print_func(const GiNaC::print_functor&) [with
Ctx = GiNaC::print_context]
add.cpp:35: error: expected primary-expression before '>' token
add.cpp:35: error: request for member 'print_func' in
'&GiNaC::add::do_print_latex', which is of non-class type 'void
(GiNaC::add::*)(const GiNaC::print_latex&, unsigned int)const'
add.cpp:35: error: expected primary-expression before '>' token
add.cpp:35: error: request for member 'print_func' in
'&GiNaC::add::do_print_csrc', which is of non-class type 'void
(GiNaC::add::*)(const GiNaC::print_csrc&, unsigned int)const'
add.cpp:35: error: expected primary-expression before '>' token
add.cpp:35: error: request for member 'print_func' in
'&GiNaC::expairseq::do_print_tree', which is of non-class type 'void
(GiNaC::expairseq::*)(const GiNaC::print_tree&, unsigned int)const'
add.cpp:35: error: expected primary-expression before '>' token
make[2]: *** [add.lo] Error 1
make[2]: Leaving directory
`/var/tmp/portage/ginac-1.2.3/work/GiNaC-1.2.3/ginac'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/ginac-1.2.3/work/GiNaC-1.2.3'
make: *** [all] Error 2

!!! ERROR: sci-mathematics/ginac-1.2.3 failed.
Call stack:
  ebuild.sh, line 1933:   Called dyn_compile
  ebuild.sh, line 971:   Called src_compile

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if
relevant.

------- Comment #1 From Markus Dittrich 2006-03-15 07:21:33 0000 -------
Hi Patrizio,

Thanks for your report. Unfortunately, ginac-1.2.3 is horribly
broken on gcc-4.1. Hence, I bumped it to the most stable
version (1.3.3) and together with a small patch it compiles fine
for me using gcc-4.1.

Thanks,
Markus