Bug#710337: libitpp: FTBFS on armhf - multiple typeinfo definitions linking itpp_gtests

Aaron M. Ucko ucko at debian.org
Thu May 30 01:48:32 UTC 2013


Source: libitpp
Version: 4.3.0-1
Severity: serious
Justification: fails to build from source (but built successfully in the past)

The armhf build of libitpp failed when trying to link itpp_gtests,
with reports of multiply defined typeinfo nodes:

  [...]
  CMakeFiles/itpp_gtests.dir/multilateration_test.cpp.o:(.rodata+0x70): multiple definition of `typeinfo name for itpp::Array<itpp::Fading_Generator*>'
  CMakeFiles/itpp_gtests.dir/commfunc_test.cpp.o:(.rodata+0x60): first defined here
  CMakeFiles/itpp_gtests.dir/multilateration_test.cpp.o:(.rodata+0x98): multiple definition of `typeinfo for itpp::Array<itpp::Fading_Generator*>'
  CMakeFiles/itpp_gtests.dir/commfunc_test.cpp.o:(.rodata+0x88): first defined here
  collect2: ld returned 1 exit status
  make[3]: *** [gtests/itpp_gtests] Error 1
  make[2]: *** [gtests/CMakeFiles/itpp_gtests.dir/all] Error 2
  make[3]: Leaving directory `/«PKGBUILDDIR»/build'
  make[1]: *** [all] Error 2

I'm not sure why these are clashing, as I would have expected them to
be safely weak; perhaps it's a compiler bug, in which case you could
try conditionally build-depending on, and then explicitly using,
g++-4.7 or g++-4.8.

Could you please take a look?

Thanks!



More information about the debian-science-maintainers mailing list