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

Bug#853709: xbubble: ftbfs with GCC-7



Control: severity -1 important

On 17.08.2017 11:23, Adrian Bunk wrote:
> Control: reassign -1 gcc-7
> Control: forwarded -1 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81876
> Control: affects -1 src:xbubble
> 
> On Tue, Jan 31, 2017 at 09:36:49AM +0000, Matthias Klose wrote:
>> ...
>> gcc -DHAVE_CONFIG_H -I. -I. -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -g -DDATADIR=\"/usr/share/xbubble\"  -O3 -finline-functions -ffast-math -funroll-loops -fno-strict-aliasing -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wchar-subscripts -Wcomment -Wformat -Wwrite-strings -Wno-unused-variable -Wno-unused-function -Wno-unused-label -Werror -g -c cell.c
>> cell.c: In function 'cell_array_lower':
>> cell.c:138:19: error: assuming signed overflow does not occur when assuming that (X - c) <= X is always true [-Werror=strict-overflow]
>>        ca->cell[i] = EMPTY_CELL;
>> ...
> 
> gcc upstream confirmed that this is a gcc regression.

the package can work around that by either not using -Werror, or by using
-Wno-error=strict-overflow

by reassigning you stop tracking the xubble build failure.


Reply to: