[Debian-med-packaging] Bug#624512: vxl: FTBFS on armel. typeinfo is not weak when templates are explicitly instantiated

Mathieu Malaterre mathieu.malaterre at gmail.com
Fri Apr 29 07:26:13 UTC 2011


Package: vxl
Severity: important
Tags: upstream


Hi,

  vxl fails to build on armel:

[ 85%] Building CXX object contrib/brl/bseg/bvxm/grid/CMakeFiles/bvxm_grid.dir/Templates/bvxm_voxel_slab+vnl_vector_fixed+int.3--.o
Linking CXX shared library ../../../../../lib/libbvxm_grid.so
CMakeFiles/bvxm_grid.dir/Templates/bvxm_voxel_grid+bsta_num_obs+bsta_mixture_fixed+bsta_num_obs+bsta_gauss_f1-.3---.o:(.data.rel.ro+0x0): multiple definition of `typeinfo for bvxm_voxel_grid<bsta_num_obs<bsta_mixture_fixed<bsta_num_obs<bsta_gaussian_sphere<float, 1u> >, 3u> > >'
CMakeFiles/bvxm_grid.dir/Templates/bvxm_voxel_grid+bsta_num_obs+bsta_mixture_fixed+bsta_num_obs+bsta_gaussian_sphere+float.1--.3---.o:(.data.rel.ro+0x0): first defined here
CMakeFiles/bvxm_grid.dir/Templates/bvxm_voxel_grid+bsta_num_obs+bsta_mixture_fixed+bsta_num_obs+bsta_gauss_f1-.3---.o:(.rodata+0x0): multiple definition of `typeinfo name for bvxm_voxel_grid<bsta_num_obs<bsta_mixture_fixed<bsta_num_obs<bsta_gaussian_sphere<float, 1u> >, 3u> > >'
CMakeFiles/bvxm_grid.dir/Templates/bvxm_voxel_grid+bsta_num_obs+bsta_mixture_fixed+bsta_num_obs+bsta_gaussian_sphere+float.1--.3---.o:(.rodata+0x0): first defined here
collect2: ld returned 1 exit status
make[3]: *** [lib/libbvxm_grid.so] Error 1
make[3]: Leaving directory `/build/buildd-vxl_1.14.0-6-armel-L8bP01/vxl-1.14.0/Build'

This is due to the fact that typeinfo on armel is not weak when template are explicitly instantiated.



-- System Information:
Debian Release: 6.0.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (200, 'testing'), (100, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.37-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash





More information about the Debian-med-packaging mailing list