FTBFS on riscv64
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| spaln (Ubuntu) |
Fix Released
|
Undecided
|
Sergio Durigan Junior | ||
Bug Description
spaln is currently FTBFSing on riscv64 due to LTO:
makmdm.cc: In function ‘void exp_qdt(double (*)[20], double*, double, int)’:
makmdm.cc:395:15: warning: unused variable ‘q’ [-Wunused-variable]
395 | static double q[2][20][20] = {
| ^
lto-wrapper: warning: using serial compilation of 9 LTRANS jobs
lto-wrapper: note: see the ‘-flto’ option documentation for more information
makmdm.cc: At global scope:
makmdm.cc:395:15: warning: ‘q’ defined but not used [-Wunused-variable]
sortgrcd.cc: In function ‘int count_record(const char*, const char*, size_t)’:
sortgrcd.cc:997:25: warning: ISO C++ forbids variable length array ‘buf’ [-Wvla]
997 | char buf[rcdsize];
| ^~~
lto-wrapper: warning: using serial compilation of 2 LTRANS jobs
lto-wrapper: note: see the ‘-flto’ option documentation for more information
spaln.cc: In function ‘blkaln.constprop’:
spaln.cc:797:46: warning: argument 1 value ‘18446744073709
797 | Gsinfo* GsI = new Gsinfo[nparalog + 1];
| ^
/usr/include/
128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc)
| ^
/tmp/ccUyjgRb.
./src/iolib.
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:85: spaln] Error 1
| Changed in spaln (Ubuntu): | |
| status: | Confirmed → New |
| no longer affects: | lto-disabled-list (Ubuntu) |

The fix has been uploaded to Debian.
https:/ /tracker. debian. org/news/ 1375023/ accepted- spaln-249adfsg- 3-source- into-unstable/
This bug will be closed once the package is sync'ed.