[Dart] [Coverage] hidden symbol `__bb_init_func' dart

Andy Cedilnik andy.cedilnik at kitware.com
Wed Apr 25 07:15:01 EDT 2007


Hello Matt,

Make sure to pass the profiling flags to the linker too.

http://www.vtk.org/Wiki/CTest:FAQ#How_can_I_perform_coverage_test.3F

Andy

On 4/25/07, Mathieu Malaterre <mathieu.malaterre at gmail.com> wrote:
> Hello,
>
>   I am pretty sure there is a document somewhere that explain what to
> do, but I cannot find it anymore. I am building my project with shared
> libs (gcc), but when using
>
> -fprofile-arcs -ftest-coverage
>
>  I am getting:
>
> /usr/bin/ld: ../bin/testbla: hidden symbol `__bb_init_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 your help !
>
> --
> Mathieu
> _______________________________________________
> Dart mailing list
> Dart at public.kitware.com
> http://public.kitware.com/mailman/listinfo/dart
>


-- 
-------------------------------------------
Andy Cedilnik
Kitware Inc.
http://www.kitware.com
Phone: +1 518 371 3971 x110


More information about the Dart mailing list