Bug#789250: bs1770gain: Fail to build on archs with strict alignment requirements

Petter Reinholdtsen pere at hungry.com
Fri Jun 19 06:55:46 UTC 2015


Package: bs1770gain
Version: 0.4.3-1
Severity: wishlist

The first build of bs1770gain on the autobuilders showed an error on at
least the mipsel architecture, that look like this:

ffsox_frame_convert.c: In function 'convert_s16i_s8i':
ffsox_frame_convert.c:143:6: error: cast increases required alignment of target type [-Werror=cast-align]
   rp=(R *)p->fr->frame->data[0]; \
      ^
ffsox_frame_convert.c:157:1: note: in expansion of macro 'CONVERT_II'
 CONVERT_II(s16,s8,int16_t,int8_t,CONVERT_INT_INT_II)
 ^
ffsox_frame_convert.c: In function 'convert_s32i_s8i':
ffsox_frame_convert.c:143:6: error: cast increases required alignment of target type [-Werror=cast-align]
   rp=(R *)p->fr->frame->data[0]; \
      ^
ffsox_frame_convert.c:158:1: note: in expansion of macro 'CONVERT_II'

I'm not quite sure how to fix it.

The full build log is available from
<URL: https://buildd.debian.org/status/fetch.php?pkg=bs1770gain&arch=mipsel&ver=0.4.3-1&stamp=1434650613 >

-- 
Happy hacking
Petter Reinholdtsen



More information about the pkg-multimedia-maintainers mailing list