Bug#915934: libeigen3-dev: cannot build with Eigen anymore after upgrade of gcc-8 to 8.2.0-11

Adrian Bunk bunk at debian.org
Sat Dec 8 16:30:55 GMT 2018


Control: reassign -1 gcc-8 8.2.0-11
Control: retitle -1 gcc fails to compile Eigen code
Control: affects -1 libeigen3-dev
Control: forwarded -1 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87531

On Sat, Dec 08, 2018 at 12:50:53AM +0100, Johannes 'josch' Schauer wrote:
> Package: libeigen3-dev
> Version: 3.3.5-2
> Severity: grave
> Justification: renders package unusable
> 
> Hi,
> 
> steps to reproduce:
> 
> --%<---------------------------
> #include "eigen3/Eigen/Eigen"
> int main(int argc, char* argv[]) { return 0; }
> -->%---------------------------
> 
> $ gcc main.cc
> In file included from /usr/include/eigen3/Eigen/SparseCore:50,
>                  from /usr/include/eigen3/Eigen/Sparse:26,
>                  from /usr/include/eigen3/Eigen/Eigen:2,
>                  from main.cc:1:
> /usr/include/eigen3/Eigen/src/SparseCore/SparseBlock.h: In member function 'Eigen::internal::sparse_matrix_block_impl<SparseMatrixType, BlockRows, BlockCols>::BlockType& Eigen::internal::sparse_matrix_block_impl<SparseMatrixType, BlockRows, BlockCols>::operator=(const BlockType&)':
> /usr/include/eigen3/Eigen/src/SparseCore/SparseBlock.h:216:33: error: expected primary-expression before '>' token
>        return operator=<BlockType>(other);
>                                  ^
> 
> This did not happen with snapshot 20181207T090635Z where src:gcc-8
> packages were still in version 8.2.0-10. It started happening one
> dinstall later in snapshot 20181207T153749Z where src:gcc-8 version
> 8.2.0-11 got uploaded.

This appears to be a gcc regression, reassigning.

> Thanks!
> 
> cheers, josch

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed



More information about the debian-science-maintainers mailing list