On Wednesday 03 July 2002 6:21 pm, geof wrote:
> I've just finished to compile the 1_2_x CVS tree. And I don't get the
> illegal instruction error :o)
> So what is the difference between the 1.3.0CVS tree and the 1_2_xCVS which
> can cause my problem? Or how can I trace the problem?
> Please help
>                       geoffroy

The 1.2 tree uses SigC signals and slots to pass info around internally.
The 1.3 tree uses boost signals and slots.

The problems you are experiencing are the direct result of this change. It 
appears that the boost signals trigger a compiler bug in gcc 2.95 and 2.96. 
Basically, any static signals are not initialised correctly if that part of 
the code is compiled with -O2 optimization.

The apparent work-around is to rebuild your src tree, compiling with -O0 
optimization. 

I believe that you can do this by running configure --enable-optimization=0, 
but you should look closely here yourself as I'm not au fait with this option.

Hope this helps,
Angus

Reply via email to