[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#685845: Fails to build bsnes in wheezy



Package: g++-4.7
Version: 4.7.1-2
Severity: important
Control: fixed -1 4.7.1-6
Control: block 684840 by -1

Hi,

I think that bsnes 0.088-3 FTBFS in Wheezy (#684840), because of a bug
in gcc. Linking fails with an error message I can't make sense of:

> obj/ui-config.o: In function `void
nall::sort<nall::string>(nall::string*, unsigned
int)::{lambda(nall::string const&, nall::string
const&)#1}::_FUN(nall::string const&, nall::string const&)':
> /«PKGBUILDDIR»/bsnes/./nall/sort.hpp:73: multiple definition of `void
nall::sort<nall::string>(nall::string*, unsigned
int)::{lambda(nall::string const&, nall::string
const&)#1}::_FUN(nall::string const&, nall::string const&)'
> obj/ui-main.o:/«PKGBUILDDIR»/bsnes/./nall/sort.hpp:73: first defined here

This error appeared on and off with changing gcc versions:

gcc-4.7.0-12 FTBFS (#676727)
gcc-4.7.1-1  works
gcc-4.7.1-2 FTBFS
gcc-4.7.1-6  works

Judging from the gcc changelog, this could be related to the fix for PR
c++/53137, which was applied in 4.7.0-12 and 4.7.1-2, but not in 4.7.1-1.

How likely is it that a fix can make it into Wheezy?

Best regards,
Tobias Hansen


Reply to: