[Debian-med-packaging] Bug#1015357: bart: ftbfs with LTO (link time optimization) enabled

Matthias Klose doko at debian.org
Tue Jul 19 17:50:33 BST 2022


Package: src:bart
Version: 0.7.00-3
Severity: minor
Tags: sid bookworm
User: debian-gcc at lists.debian.org
Usertags: ftbfs-lto

This package currently fails to build (at least on the amd64
architecture) with link time optimizations enabled.  For a background
for LTO please see

https://wiki.debian.org/ToolChain/LTO

The goal is to enable this optimization by default in an upcoming
Debian release in dpkg-buildflags for 64bit architectures.  The goal
is to get this package to build with link time optimizations, or to
explicitly disable link time optimizations for this package build.

To reproduce the build failure, enable the lto optimization in
testing/unstable by adding "optimize=+lto" to DEB_BUILD_MAINT_OPTIONS
in the debian/rules file, or if this macro is unset, just set it:

export DEB_BUILD_MAINT_OPTIONS = optimize=+lto

Please try to fix the build with lto enabled, fixing the packaging or
forwarding the issue upstream. If the issue cannot be fixed,
explicitly disallow building the package with lto by adding to your
rules file:

export DEB_BUILD_MAINT_OPTIONS = optimize=-lto

or adding that string to your existing setting of DEB_BUILD_MAINT_OPTIONS.

The full build log can be found at:
http://qa-logs.debian.net/2022/06/09/dpkglto/bart_0.7.00-3_unstable_dpkglto.log
The last lines of the build log are at the end of this report.

[...]
      |                                   ^~~~~~~~~~~~
./ar_lock.sh rsU lib/libbox.a src/wave.o
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -MMD -MF src/.lrmatrix.d -iquote /<<PKGBUILDDIR>>/src/ -I/usr//include/ -I/usr//include -DFFTWTHREADS -DMAIN_LIST="avg, bench, bin, bitmask, cabs, caldir, calmat, carg, casorati, cc, ccapply, cdf97, circshift, conj, conv, conway, copy, cpyphs, creal, crop, delta, ecalib, ecaltwo, estdelay, estdims, estshift, estvar, extract, fakeksp, fft, fftmod, fftrot, fftshift, filter, flatten, flip, fmac, homodyne, index, invert, itsense, join, looklocker, lrmatrix, mandelbrot, mip, moba, mobafit, nlinv, noise, normalize, nrmse, nufft, ones, pattern, phantom, pics, pocsense, poisson, pol2mask, poly, repmat, reshape, resize, rmfreq, rof, roistat, rss, rtnlinv, sake, saxpy, scale, sdot, show, signal, slice, spow, sqpics, squeeze, ssa, std, svd, tgv, threshold, toimg, traj, transpose, twixread, upat, var, vec, version, walsh, wave, wavelet, wavepsf, whiten, window, wshfl, zeros, zexp, ()" -include src/main.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -fopenmp -c -o src/lrmatrix.o src/lrmatrix.c
./ar_lock.sh rsU lib/libbox.a src/lrmatrix.o
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -MMD -MF src/.estdims.d -iquote /<<PKGBUILDDIR>>/src/ -I/usr//include/ -I/usr//include -DFFTWTHREADS -DMAIN_LIST="avg, bench, bin, bitmask, cabs, caldir, calmat, carg, casorati, cc, ccapply, cdf97, circshift, conj, conv, conway, copy, cpyphs, creal, crop, delta, ecalib, ecaltwo, estdelay, estdims, estshift, estvar, extract, fakeksp, fft, fftmod, fftrot, fftshift, filter, flatten, flip, fmac, homodyne, index, invert, itsense, join, looklocker, lrmatrix, mandelbrot, mip, moba, mobafit, nlinv, noise, normalize, nrmse, nufft, ones, pattern, phantom, pics, pocsense, poisson, pol2mask, poly, repmat, reshape, resize, rmfreq, rof, roistat, rss, rtnlinv, sake, saxpy, scale, sdot, show, signal, slice, spow, sqpics, squeeze, ssa, std, svd, tgv, threshold, toimg, traj, transpose, twixread, upat, var, vec, version, walsh, wave, wavelet, wavepsf, whiten, window, wshfl, zeros, zexp, ()" -include src/main.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -fopenmp -c -o src/estdims.o src/estdims.c
./ar_lock.sh rsU lib/libbox.a src/estdims.o
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -MMD -MF src/.estshift.d -iquote /<<PKGBUILDDIR>>/src/ -I/usr//include/ -I/usr//include -DFFTWTHREADS -DMAIN_LIST="avg, bench, bin, bitmask, cabs, caldir, calmat, carg, casorati, cc, ccapply, cdf97, circshift, conj, conv, conway, copy, cpyphs, creal, crop, delta, ecalib, ecaltwo, estdelay, estdims, estshift, estvar, extract, fakeksp, fft, fftmod, fftrot, fftshift, filter, flatten, flip, fmac, homodyne, index, invert, itsense, join, looklocker, lrmatrix, mandelbrot, mip, moba, mobafit, nlinv, noise, normalize, nrmse, nufft, ones, pattern, phantom, pics, pocsense, poisson, pol2mask, poly, repmat, reshape, resize, rmfreq, rof, roistat, rss, rtnlinv, sake, saxpy, scale, sdot, show, signal, slice, spow, sqpics, squeeze, ssa, std, svd, tgv, threshold, toimg, traj, transpose, twixread, upat, var, vec, version, walsh, wave, wavelet, wavepsf, whiten, window, wshfl, zeros, zexp, ()" -include src/main.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -fopenmp -c -o src/estshift.o src/estshift.c
./ar_lock.sh rsU lib/libbox.a src/estshift.o
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -MMD -MF src/.estdelay.d -iquote /<<PKGBUILDDIR>>/src/ -I/usr//include/ -I/usr//include -DFFTWTHREADS -DMAIN_LIST="avg, bench, bin, bitmask, cabs, caldir, calmat, carg, casorati, cc, ccapply, cdf97, circshift, conj, conv, conway, copy, cpyphs, creal, crop, delta, ecalib, ecaltwo, estdelay, estdims, estshift, estvar, extract, fakeksp, fft, fftmod, fftrot, fftshift, filter, flatten, flip, fmac, homodyne, index, invert, itsense, join, looklocker, lrmatrix, mandelbrot, mip, moba, mobafit, nlinv, noise, normalize, nrmse, nufft, ones, pattern, phantom, pics, pocsense, poisson, pol2mask, poly, repmat, reshape, resize, rmfreq, rof, roistat, rss, rtnlinv, sake, saxpy, scale, sdot, show, signal, slice, spow, sqpics, squeeze, ssa, std, svd, tgv, threshold, toimg, traj, transpose, twixread, upat, var, vec, version, walsh, wave, wavelet, wavepsf, whiten, window, wshfl, zeros, zexp, ()" -include src/main.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -fopenmp -c -o src/estdelay.o src/estdelay.c
./ar_lock.sh rsU lib/libbox.a src/estdelay.o
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -MMD -MF src/.wavepsf.d -iquote /<<PKGBUILDDIR>>/src/ -I/usr//include/ -I/usr//include -DFFTWTHREADS -DMAIN_LIST="avg, bench, bin, bitmask, cabs, caldir, calmat, carg, casorati, cc, ccapply, cdf97, circshift, conj, conv, conway, copy, cpyphs, creal, crop, delta, ecalib, ecaltwo, estdelay, estdims, estshift, estvar, extract, fakeksp, fft, fftmod, fftrot, fftshift, filter, flatten, flip, fmac, homodyne, index, invert, itsense, join, looklocker, lrmatrix, mandelbrot, mip, moba, mobafit, nlinv, noise, normalize, nrmse, nufft, ones, pattern, phantom, pics, pocsense, poisson, pol2mask, poly, repmat, reshape, resize, rmfreq, rof, roistat, rss, rtnlinv, sake, saxpy, scale, sdot, show, signal, slice, spow, sqpics, squeeze, ssa, std, svd, tgv, threshold, toimg, traj, transpose, twixread, upat, var, vec, version, walsh, wave, wavelet, wavepsf, whiten, window, wshfl, zeros, zexp, ()" -include src/main.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -fopenmp -c -o src/wavepsf.o src/wavepsf.c
./ar_lock.sh rsU lib/libbox.a src/wavepsf.o
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -MMD -MF src/.wshfl.d -iquote /<<PKGBUILDDIR>>/src/ -I/usr//include/ -I/usr//include -DFFTWTHREADS -DMAIN_LIST="avg, bench, bin, bitmask, cabs, caldir, calmat, carg, casorati, cc, ccapply, cdf97, circshift, conj, conv, conway, copy, cpyphs, creal, crop, delta, ecalib, ecaltwo, estdelay, estdims, estshift, estvar, extract, fakeksp, fft, fftmod, fftrot, fftshift, filter, flatten, flip, fmac, homodyne, index, invert, itsense, join, looklocker, lrmatrix, mandelbrot, mip, moba, mobafit, nlinv, noise, normalize, nrmse, nufft, ones, pattern, phantom, pics, pocsense, poisson, pol2mask, poly, repmat, reshape, resize, rmfreq, rof, roistat, rss, rtnlinv, sake, saxpy, scale, sdot, show, signal, slice, spow, sqpics, squeeze, ssa, std, svd, tgv, threshold, toimg, traj, transpose, twixread, upat, var, vec, version, walsh, wave, wavelet, wavepsf, whiten, window, wshfl, zeros, zexp, ()" -include src/main.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -fopenmp -c -o src/wshfl.o src/wshfl.c
src/wshfl.c: In function ‘main_wshfl’:
src/wshfl.c:1158:17: warning: argument 9 of variable length array ‘const struct linop_s *[0:(sizetype) num_funs]’ is null but the corresponding bound argument 7 value is 1 [-Wnonnull]
 1158 |                 lsqr2_create(&lsqr_conf, italgo,    iconf,    (const float*) init, A, NULL, nr_penalties, thresh_ops, NULL,   NULL):
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/wshfl.c:41:
src/iter/lsqr.h:30:35: note: in a call to function ‘lsqr2_create’
   30 | extern const struct operator_p_s* lsqr2_create(const struct lsqr_conf* conf,
      |                                   ^~~~~~~~~~~~
./ar_lock.sh rsU lib/libbox.a src/wshfl.o
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -MMD -MF src/.rtnlinv.d -iquote /<<PKGBUILDDIR>>/src/ -I/usr//include/ -I/usr//include -DFFTWTHREADS -DMAIN_LIST="avg, bench, bin, bitmask, cabs, caldir, calmat, carg, casorati, cc, ccapply, cdf97, circshift, conj, conv, conway, copy, cpyphs, creal, crop, delta, ecalib, ecaltwo, estdelay, estdims, estshift, estvar, extract, fakeksp, fft, fftmod, fftrot, fftshift, filter, flatten, flip, fmac, homodyne, index, invert, itsense, join, looklocker, lrmatrix, mandelbrot, mip, moba, mobafit, nlinv, noise, normalize, nrmse, nufft, ones, pattern, phantom, pics, pocsense, poisson, pol2mask, poly, repmat, reshape, resize, rmfreq, rof, roistat, rss, rtnlinv, sake, saxpy, scale, sdot, show, signal, slice, spow, sqpics, squeeze, ssa, std, svd, tgv, threshold, toimg, traj, transpose, twixread, upat, var, vec, version, walsh, wave, wavelet, wavepsf, whiten, window, wshfl, zeros, zexp, ()" -include src/main.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -fopenmp -c -o src/rtnlinv.o src/rtnlinv.c
./ar_lock.sh rsU lib/libbox.a src/rtnlinv.o
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -MMD -MF src/.mobafit.d -iquote /<<PKGBUILDDIR>>/src/ -I/usr//include/ -I/usr//include -DFFTWTHREADS -DMAIN_LIST="avg, bench, bin, bitmask, cabs, caldir, calmat, carg, casorati, cc, ccapply, cdf97, circshift, conj, conv, conway, copy, cpyphs, creal, crop, delta, ecalib, ecaltwo, estdelay, estdims, estshift, estvar, extract, fakeksp, fft, fftmod, fftrot, fftshift, filter, flatten, flip, fmac, homodyne, index, invert, itsense, join, looklocker, lrmatrix, mandelbrot, mip, moba, mobafit, nlinv, noise, normalize, nrmse, nufft, ones, pattern, phantom, pics, pocsense, poisson, pol2mask, poly, repmat, reshape, resize, rmfreq, rof, roistat, rss, rtnlinv, sake, saxpy, scale, sdot, show, signal, slice, spow, sqpics, squeeze, ssa, std, svd, tgv, threshold, toimg, traj, transpose, twixread, upat, var, vec, version, walsh, wave, wavelet, wavepsf, whiten, window, wshfl, zeros, zexp, ()" -include src/main.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -fopenmp -c -o src/mobafit.o src/mobafit.c
./ar_lock.sh rsU lib/libbox.a src/mobafit.o
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -MMD -MF src/.ecalib.d -iquote /<<PKGBUILDDIR>>/src/ -I/usr//include/ -I/usr//include -DFFTWTHREADS -DMAIN_LIST="avg, bench, bin, bitmask, cabs, caldir, calmat, carg, casorati, cc, ccapply, cdf97, circshift, conj, conv, conway, copy, cpyphs, creal, crop, delta, ecalib, ecaltwo, estdelay, estdims, estshift, estvar, extract, fakeksp, fft, fftmod, fftrot, fftshift, filter, flatten, flip, fmac, homodyne, index, invert, itsense, join, looklocker, lrmatrix, mandelbrot, mip, moba, mobafit, nlinv, noise, normalize, nrmse, nufft, ones, pattern, phantom, pics, pocsense, poisson, pol2mask, poly, repmat, reshape, resize, rmfreq, rof, roistat, rss, rtnlinv, sake, saxpy, scale, sdot, show, signal, slice, spow, sqpics, squeeze, ssa, std, svd, tgv, threshold, toimg, traj, transpose, twixread, upat, var, vec, version, walsh, wave, wavelet, wavepsf, whiten, window, wshfl, zeros, zexp, ()" -include src/main.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -fopenmp -c -o src/ecalib.o src/ecalib.c
./ar_lock.sh rsU lib/libbox.a src/ecalib.o
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -MMD -MF src/.ecaltwo.d -iquote /<<PKGBUILDDIR>>/src/ -I/usr//include/ -I/usr//include -DFFTWTHREADS -DMAIN_LIST="avg, bench, bin, bitmask, cabs, caldir, calmat, carg, casorati, cc, ccapply, cdf97, circshift, conj, conv, conway, copy, cpyphs, creal, crop, delta, ecalib, ecaltwo, estdelay, estdims, estshift, estvar, extract, fakeksp, fft, fftmod, fftrot, fftshift, filter, flatten, flip, fmac, homodyne, index, invert, itsense, join, looklocker, lrmatrix, mandelbrot, mip, moba, mobafit, nlinv, noise, normalize, nrmse, nufft, ones, pattern, phantom, pics, pocsense, poisson, pol2mask, poly, repmat, reshape, resize, rmfreq, rof, roistat, rss, rtnlinv, sake, saxpy, scale, sdot, show, signal, slice, spow, sqpics, squeeze, ssa, std, svd, tgv, threshold, toimg, traj, transpose, twixread, upat, var, vec, version, walsh, wave, wavelet, wavepsf, whiten, window, wshfl, zeros, zexp, ()" -include src/main.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -fopenmp -c -o src/ecaltwo.o src/ecaltwo.c
./ar_lock.sh rsU lib/libbox.a src/ecaltwo.o
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -MMD -MF src/.caldir.d -iquote /<<PKGBUILDDIR>>/src/ -I/usr//include/ -I/usr//include -DFFTWTHREADS -DMAIN_LIST="avg, bench, bin, bitmask, cabs, caldir, calmat, carg, casorati, cc, ccapply, cdf97, circshift, conj, conv, conway, copy, cpyphs, creal, crop, delta, ecalib, ecaltwo, estdelay, estdims, estshift, estvar, extract, fakeksp, fft, fftmod, fftrot, fftshift, filter, flatten, flip, fmac, homodyne, index, invert, itsense, join, looklocker, lrmatrix, mandelbrot, mip, moba, mobafit, nlinv, noise, normalize, nrmse, nufft, ones, pattern, phantom, pics, pocsense, poisson, pol2mask, poly, repmat, reshape, resize, rmfreq, rof, roistat, rss, rtnlinv, sake, saxpy, scale, sdot, show, signal, slice, spow, sqpics, squeeze, ssa, std, svd, tgv, threshold, toimg, traj, transpose, twixread, upat, var, vec, version, walsh, wave, wavelet, wavepsf, whiten, window, wshfl, zeros, zexp, ()" -include src/main.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -fopenmp -c -o src/caldir.o src/caldir.c
./ar_lock.sh rsU lib/libbox.a src/caldir.o
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -MMD -MF src/.walsh.d -iquote /<<PKGBUILDDIR>>/src/ -I/usr//include/ -I/usr//include -DFFTWTHREADS -DMAIN_LIST="avg, bench, bin, bitmask, cabs, caldir, calmat, carg, casorati, cc, ccapply, cdf97, circshift, conj, conv, conway, copy, cpyphs, creal, crop, delta, ecalib, ecaltwo, estdelay, estdims, estshift, estvar, extract, fakeksp, fft, fftmod, fftrot, fftshift, filter, flatten, flip, fmac, homodyne, index, invert, itsense, join, looklocker, lrmatrix, mandelbrot, mip, moba, mobafit, nlinv, noise, normalize, nrmse, nufft, ones, pattern, phantom, pics, pocsense, poisson, pol2mask, poly, repmat, reshape, resize, rmfreq, rof, roistat, rss, rtnlinv, sake, saxpy, scale, sdot, show, signal, slice, spow, sqpics, squeeze, ssa, std, svd, tgv, threshold, toimg, traj, transpose, twixread, upat, var, vec, version, walsh, wave, wavelet, wavepsf, whiten, window, wshfl, zeros, zexp, ()" -include src/main.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -fopenmp -c -o src/walsh.o src/walsh.c
./ar_lock.sh rsU lib/libbox.a src/walsh.o
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -MMD -MF src/.cc.d -iquote /<<PKGBUILDDIR>>/src/ -I/usr//include/ -I/usr//include -DFFTWTHREADS -DMAIN_LIST="avg, bench, bin, bitmask, cabs, caldir, calmat, carg, casorati, cc, ccapply, cdf97, circshift, conj, conv, conway, copy, cpyphs, creal, crop, delta, ecalib, ecaltwo, estdelay, estdims, estshift, estvar, extract, fakeksp, fft, fftmod, fftrot, fftshift, filter, flatten, flip, fmac, homodyne, index, invert, itsense, join, looklocker, lrmatrix, mandelbrot, mip, moba, mobafit, nlinv, noise, normalize, nrmse, nufft, ones, pattern, phantom, pics, pocsense, poisson, pol2mask, poly, repmat, reshape, resize, rmfreq, rof, roistat, rss, rtnlinv, sake, saxpy, scale, sdot, show, signal, slice, spow, sqpics, squeeze, ssa, std, svd, tgv, threshold, toimg, traj, transpose, twixread, upat, var, vec, version, walsh, wave, wavelet, wavepsf, whiten, window, wshfl, zeros, zexp, ()" -include src/main.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -fopenmp -c -o src/cc.o src/cc.c
./ar_lock.sh rsU lib/libbox.a src/cc.o
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -MMD -MF src/.ccapply.d -iquote /<<PKGBUILDDIR>>/src/ -I/usr//include/ -I/usr//include -DFFTWTHREADS -DMAIN_LIST="avg, bench, bin, bitmask, cabs, caldir, calmat, carg, casorati, cc, ccapply, cdf97, circshift, conj, conv, conway, copy, cpyphs, creal, crop, delta, ecalib, ecaltwo, estdelay, estdims, estshift, estvar, extract, fakeksp, fft, fftmod, fftrot, fftshift, filter, flatten, flip, fmac, homodyne, index, invert, itsense, join, looklocker, lrmatrix, mandelbrot, mip, moba, mobafit, nlinv, noise, normalize, nrmse, nufft, ones, pattern, phantom, pics, pocsense, poisson, pol2mask, poly, repmat, reshape, resize, rmfreq, rof, roistat, rss, rtnlinv, sake, saxpy, scale, sdot, show, signal, slice, spow, sqpics, squeeze, ssa, std, svd, tgv, threshold, toimg, traj, transpose, twixread, upat, var, vec, version, walsh, wave, wavelet, wavepsf, whiten, window, wshfl, zeros, zexp, ()" -include src/main.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -fopenmp -c -o src/ccapply.o src/ccapply.c
./ar_lock.sh rsU lib/libbox.a src/ccapply.o
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -MMD -MF src/.calmat.d -iquote /<<PKGBUILDDIR>>/src/ -I/usr//include/ -I/usr//include -DFFTWTHREADS -DMAIN_LIST="avg, bench, bin, bitmask, cabs, caldir, calmat, carg, casorati, cc, ccapply, cdf97, circshift, conj, conv, conway, copy, cpyphs, creal, crop, delta, ecalib, ecaltwo, estdelay, estdims, estshift, estvar, extract, fakeksp, fft, fftmod, fftrot, fftshift, filter, flatten, flip, fmac, homodyne, index, invert, itsense, join, looklocker, lrmatrix, mandelbrot, mip, moba, mobafit, nlinv, noise, normalize, nrmse, nufft, ones, pattern, phantom, pics, pocsense, poisson, pol2mask, poly, repmat, reshape, resize, rmfreq, rof, roistat, rss, rtnlinv, sake, saxpy, scale, sdot, show, signal, slice, spow, sqpics, squeeze, ssa, std, svd, tgv, threshold, toimg, traj, transpose, twixread, upat, var, vec, version, walsh, wave, wavelet, wavepsf, whiten, window, wshfl, zeros, zexp, ()" -include src/main.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -fopenmp -c -o src/calmat.o src/calmat.c
./ar_lock.sh rsU lib/libbox.a src/calmat.o
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -MMD -MF src/.svd.d -iquote /<<PKGBUILDDIR>>/src/ -I/usr//include/ -I/usr//include -DFFTWTHREADS -DMAIN_LIST="avg, bench, bin, bitmask, cabs, caldir, calmat, carg, casorati, cc, ccapply, cdf97, circshift, conj, conv, conway, copy, cpyphs, creal, crop, delta, ecalib, ecaltwo, estdelay, estdims, estshift, estvar, extract, fakeksp, fft, fftmod, fftrot, fftshift, filter, flatten, flip, fmac, homodyne, index, invert, itsense, join, looklocker, lrmatrix, mandelbrot, mip, moba, mobafit, nlinv, noise, normalize, nrmse, nufft, ones, pattern, phantom, pics, pocsense, poisson, pol2mask, poly, repmat, reshape, resize, rmfreq, rof, roistat, rss, rtnlinv, sake, saxpy, scale, sdot, show, signal, slice, spow, sqpics, squeeze, ssa, std, svd, tgv, threshold, toimg, traj, transpose, twixread, upat, var, vec, version, walsh, wave, wavelet, wavepsf, whiten, window, wshfl, zeros, zexp, ()" -include src/main.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -fopenmp -c -o src/svd.o src/svd.c
during IPA pass: modref
src/svd.c:70:1: internal compiler error: tree code ‘c_maybe_const_expr’ is not supported in LTO streams
   70 | }
      | ^
0xd61471 internal_error(char const*, ...)
	???:0
0x101d1ba DFS::DFS(output_block*, tree_node*, bool, bool, bool)
	???:0
0x101c39b lto_output_tree(output_block*, tree_node*, bool, bool)
	???:0
0x1366e50 produce_asm_for_decls()
	???:0
0x1306e5e symbol_table::compile()
	???:0
0x1304d84 symbol_table::finalize_compilation_unit()
	???:0
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <file:///usr/share/doc/gcc-11/README.Bugs> for instructions.
The bug is not reproducible, so it is likely a hardware or OS problem.
make[2]: *** [Makefile:602: src/svd.o] Error 1
rm src/moba.o src/var.o src/pocsense.o src/walsh.o src/toimg.o src/reshape.o src/fft.o src/rof.o src/cabs.o src/invert.o src/avg.o src/nlinv.o src/zexp.o src/cc.o src/ecalib.o src/roistat.o src/mobafit.o src/estdelay.o src/circshift.o src/slice.o src/wavelet.o src/copy.o src/mip.o src/sdot.o src/poly.o src/itsense.o src/ones.o src/squeeze.o src/cpyphs.o src/casorati.o src/fmac.o src/mandelbrot.o src/flip.o src/tgv.o src/carg.o src/wavepsf.o src/repmat.o src/fftshift.o src/cdf97.o src/sqpics.o src/fftmod.o src/saxpy.o src/nufft.o src/ccapply.o src/rtnlinv.o src/version.o src/delta.o src/conv.o src/resize.o src/extract.o src/bitmask.o src/flatten.o src/normalize.o src/pics.o src/wshfl.o src/zeros.o src/calmat.o src/creal.o src/conj.o src/spow.o src/ecaltwo.o src/estshift.o src/caldir.o src/conway.o src/estdims.o src/nrmse.o src/fftrot.o src/index.o src/pol2mask.o src/lrmatrix.o src/wave.o src/rss.o src/threshold.o src/vec.o src/crop.o src/std.o src/scale.o src/transpose.o src/sake.o src/window.o src/noise.o src/filter.o src/join.o src/show.o src/bench.o src/pattern.o
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:282: default] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 "INSTALL=install --strip-program=true" returned exit code 2
make: *** [debian/rules:23: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Debian-med-packaging mailing list