On Sun, Sep 08, 2024 at 01:52:58AM +0200, Santiago Vila wrote:
> Package: src:mlucas
> Version: 20.1.1-1
> Severity: serious
> Tags: ftbfs
>
> Dear maintainer:
>
> During a rebuild of all packages in unstable, your package failed to build:
>
> --------------------------------------------------------------------------------
> [...]
> debian/rules binary
In file included from upstream/src/radix144_ditN_cy_dif1.c:2236:
> upstream/src/radix144_main_carry_loop.h: In function ‘cy144_process_chunk’:
> upstream/src/radix144_main_carry_loop.h:144:29: error: assignment to ‘vec_dbl
> *’ {aka ‘struct double_x4 *’} from incompatible pointer type ‘vec_dbl **’
> {aka ‘struct double_x4 **’} [-Wincompatible-pointer-types]
> 144 | tm1 = rad9_iptr; // Stash
> head-of-array-ptrs in tmps to workaround GCC's "not directly addressable"
> macro arglist stupidity
> | ^
> upstream/src/radix144_main_carry_loop.h:145:29: error: assignment to ‘vec_dbl
> *’ {aka ‘struct double_x4 *’} from incompatible pointer type ‘vec_dbl **’
> {aka ‘struct double_x4 **’} [-Wincompatible-pointer-types]
> 145 | tm2 = rad9_optr;
> | ^
> upstream/src/radix144_main_carry_loop.h:634:29: error: assignment to ‘vec_dbl
> *’ {aka ‘struct double_x4 *’} from incompatible pointer type ‘vec_dbl **’
> {aka ‘struct double_x4 **’} [-Wincompatible-pointer-types]
> 634 | tm0 = rad9_iptr; // Can't use tm1 here
> since use that for s1p00 offsets in loop body
> | ^
> upstream/src/radix144_main_carry_loop.h:635:29: error: assignment to ‘vec_dbl
> *’ {aka ‘struct double_x4 *’} from incompatible pointer type ‘vec_dbl **’
> {aka ‘struct double_x4 **’} [-Wincompatible-pointer-types]
> 635 | tm2 = rad9_optr; // Stash
> head-of-array-ptrs in tmps to workaround GCC's "not directly addressable"
> macro arglist stupidity
> | ^
> make[1]: *** [Makefile:8486:
> upstream/src/mlucas_avx2-radix144_ditN_cy_dif1.o] Error 1
> make[1]: *** Waiting for unfinished jobs....
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_build: error: make -j2 returned exit code 2
> make: *** [debian/rules:19: binary] Error 25
> dpkg-buildpackage: error: debian/rules binary subprocess returned exit status
> 2
Hello,
The package build successfully by setting CFLAGS =
-Wno-incompatible-pointer-types
Cheers,
--
Bill. <[email protected]>
Imagine a large red swirl here.