[GiNaC-devel] Compilation of cln fails with gcc 4.1.2 with -O2 and -ftracer

Sam Iam academicsam at gmail.com
Thu Oct 9 16:05:25 CEST 2008


Hi,

Sorry if this has been reported before.

When I try to compile cln (both 1.1.13 and 1.2.2) using gcc 4.1.2 with 
options -O2 and -ftracer, compilation fails.

-- session log --
localhost # cd /var/tmp/portage/sci-libs/cln-1.1.13/work/cln-1.1.13/src
localhost src # 
g++ -march=pentium4 -mtune=pentium4 -O2 -pipe -ftracer -I../include -I./base -c 
base/random cl_random_def.cc -o cl_random_def.o 
{standard input}: Assembler messages: 
{standard input}:65: Error: symbol `cl_module__cl_random_def__ctorend' is 
already defined 
----

This was reported on Gentoo bug tracker: 
http://bugs.gentoo.org/show_bug.cgi?id=237451

I found a post that might describe a similar problem. But I'm not sure.
http://lists.gforge.info.ucl.ac.be/pipermail/mozart-hackers/2003/001164.html

-- 
Sam


More information about the GiNaC-devel mailing list