[Xorp-users] compile error, killed cc1plus

Pavlin Radoslavov pavlin@icir.org
Thu, 09 Dec 2004 11:06:50 -0800


> hi,
> i've problems to compile xorp-1.0.
> 
> here are the last lines of my compile trial:
> 
> g++ -DHAVE_CONFIG_H -I. -I. -I.. -I..    -g  -W -Wall -Wwrite-strings
> -Wcast-qual -Werror -Wpointer-arith -Wcast-align -Wstrict-prototypes
> -Woverloaded-virtual -ftemplate-depth-20 -c -o finder_client.o `test -f
> finder_client.cc || echo './'`finder_client.cc
> g++: Internal error: Getötet (program cc1plus)
> Please submit a full bug report.
> See <URL:http://gcc.gnu.org/bugs.html> for instructions.
> For Debian GNU/Linux specific bug reporting instructions,
> see <URL:file:///usr/share/doc/gcc-3.3/README.Bugs>.
> 
> make[3]: *** [finder_client.o] Fehler 1
> make[3]: Leaving directory `/home/mc/xorp-1.0/libxipc'
> make[2]: *** [all] Fehler 2
> make[2]: Leaving directory `/home/mc/xorp-1.0/libxipc'
> make[1]: *** [all-recursive] Fehler 1
> make[1]: Leaving directory `/home/mc/xorp-1.0'
> make: *** [all] Fehler 2
> 
> 
> it's a debian box with g++ 3.3.4.
> 
> any ideas?

Hmmm, looks like a compiler bug.
Can you try to compile the lastest XORP code from the anon-CVS
repository and see if you still trigger the same bug?
If this doesn't help, can you try a different gcc compiler?
It seems that the gcc-3.3.4 compiler is marked as "testing" in the
Debian packages, hence you may want to try some of the gcc-2.9x
"stable" compilers (or the gcc-3.3.5 "unstable" if you feel more
adventurous).

FYI, on FreeBSD we don't have a problem with gcc-3.3.4.

Regards,
Pavlin