[Bug 1993202] Re: FTBFS on riscv64

Sergio Durigan Junior 1993202 at bugs.launchpad.net
Mon Oct 17 21:18:00 UTC 2022


** No longer affects: lto-disabled-list (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to lto-disabled-list in Ubuntu.
https://bugs.launchpad.net/bugs/1993202

Title:
  FTBFS on riscv64

Status in spaln package in Ubuntu:
  New

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 ‘18446744073709551615’ exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=]
    797 |         Gsinfo* GsI = new Gsinfo[nparalog + 1];
        |                                              ^
  /usr/include/c++/12/new:128:26: note: in a call to allocation function ‘operator new []’ declared here
    128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc)
        |                          ^
  /tmp/ccUyjgRb.ltrans8.ltrans.o: in function `Ftable::setpath(char const*, char const*) [clone .constprop.0]':
  ./src/iolib.cc:431:(.text+0x3f7a): relocation truncated to fit: R_RISCV_PCREL_HI20 against `.LC24'
  collect2: error: ld returned 1 exit status
  make[2]: *** [Makefile:85: spaln] Error 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/spaln/+bug/1993202/+subscriptions




More information about the foundations-bugs mailing list