[alsa-devel] alsa-tools FTBFS on armel: gcc-6 narrowing conversions

Elimar Riesebieter riesebie at lxtec.de
Sat Sep 17 14:14:53 CEST 2016


* Takashi Sakamoto <o-takashi at sakamocchi.jp> [2016-09-15 22:11 +0900]:

> Hi,
> 
> On Sep 15 2016 14:51, Takashi Iwai wrote:
> > On Mon, 12 Sep 2016 18:52:18 +0200,
> > Elimar Riesebieter wrote:
> >>
> >> Hi all,
> >>
> >> in Debian a FTBFS was discovered in building alsa-tools:
> >>
> >> | arm-linux-gnueabi-g++ -DPACKAGE_NAME=\"hdspmixer\" -DPACKAGE_TARNAME=\"hdspmixer\" -DPACKAGE_VERSION=\"1.11\" -DPACKAGE_STRING=\"hdspmixer\ 1.11\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hdspmixer\" -DVERSION=\"1.11\" -DSTDC_HEADERS=1 -DHAVE_LIBASOUND=1 -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security   -I/usr/include/freetype2   -D_THREAD_SAFE -D_REENTRANT -fno-exceptions -MT channelmap.o -MD -MP -MF .deps/channelmap.Tpo -c -o channelmap.o channelmap.cxx
> >> | channelmap.cxx:59:1: error: narrowing conversion of '-1' from 'int' to 'char' inside { } [-Wnarrowing]
> >> |  };
> >> |  ^
> >>
> >> More Details can be found at:
> >> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=837590
> >>
> >> Could this be fixed for next release?
> > 
> > Yes, this was already fixed in git tree.
> 
> This issue was fixed by this commit.
> 
> gcc6 narrowing error
> http://git.alsa-project.org/?p=alsa-tools.git;a=commit;h=70118f5f93a4179a0df61925e64baf873f126be0

Thanks for the hint!

Elimar
-- 
  "Talking much about oneself can also
   be a means to conceal oneself."
         -Friedrich Nietzsche


More information about the Alsa-devel mailing list