[Pkg-ime-devel] Bug#793260: Bug#793260: marisa: change of type in system_error might break with GCC-5

GUO Yixuan culu.gyx at gmail.com
Fri Aug 14 23:13:47 UTC 2015


Hi,

On Wed, Jul 22, 2015 at 01:33:51PM +0000, Matthias Klose wrote:
> Package: src:marisa
> Severity: important
> Tags: sid stretch
> User: debian-gcc at lists.debian.org
> Usertags: gcc-pr66145
> 
> GCC PR libstdc++/66145 is a regression in GCC 5 which won't be fixed
> upstream in time for the GCC defaults change.  The work around is to
> rebuild the affected packages after GCC 5 is the default compiler.
> Please look at the code and decide, if the package is affected. If
> not, please just close the issue.  If it's a real issue, I'll add
> the packages affected to libstdc++6's Breaks attributes, with the
> version of the package at the time of the defaults change.
> 
> See https://wiki.debian.org/GCC5#libstdc.2B-.2B-_c.2B-.2B-11_incompatibilities_.284.9_and_5.29
> for further information.
> 
> To build with GCC 5,install the gcc, g++, gfortran, ... packages
> from experimental (apt-get -t experimental install g++).
> 

marisa is affected:

$ ag failure
lib/marisa/grimoire/io/reader.cc
139:    } catch (const std::ios_base::failure &) {
140:      MARISA_THROW(MARISA_IO_ERROR, "std::ios_base::failure");

lib/marisa/grimoire/io/writer.cc
140:    } catch (const std::ios_base::failure &) {
141:      MARISA_THROW(MARISA_IO_ERROR, "std::ios_base::failure");

and after rebuilding with g++-5

$ nm -D /usr/lib/x86_64-linux-gnu/libmarisa.so.0.0.0|c++filt |grep failure
                 U typeinfo for std::ios_base::failure[abi:cxx11]

so we need to rebuild it, perhaps also rename the package to
libmarisa0v5.

Regards,
Yixuan



More information about the Pkg-ime-devel mailing list