I have been googling for this error but I cannot find anything
relevant. Could someone please let me know how to track down the issue
I am having. I am trying to build shared libs with coverage info, and
then linking an executable to this library. When linking the linker
tells me:
/usr/bin/c++ -g -O0 -Wall -W -Wshadow -Wunused-variable -Wunused-
parameter -Wunused-function -Wunused -Wno-system-headers -Wno-
deprecated -Woverloaded-virtual -Wwrite-strings -fprofile-arcs -ftest-
coverage -Wno-deprecated -fPIC -fprofile-arcs -ftest-coverage
"CMakeFiles/ProcessShader.dir/ProcessShader.o" -o ../../bin/
ProcessShader -rdynamic -L/tmp/2/VTK-cov/bin -lvtksys -ldl -lgcc -Wl,-
rpath,/tmp/2/VTK-cov/bin
/usr/bin/ld: ../../bin/ProcessShader: hidden symbol `__bb_fork_func'
in /usr/lib/gcc-lib/i486-linux/3.3.5/libgcc.a(_bb.oS) is referenced by
DSO
collect2: ld returned 1 exit status
Thanks for any info
-Mathieu
Ref: Debian/oldstable with gcc 3.3.5
$ gcc --
version
gcc (GCC) 3.3.5 (Debian 1:3.3.5-13)
The worse part is that symbol is there:
$ nm /usr/lib/gcc-lib/i486-linux/3.3.5/libgcc.a | grep fork
00001130 T __bb_fork_func
I just can't get it to work...