[Bug 1934891] [NEW] squid: build failure for Impish RISC-V

Launchpad Bug Tracker 1934891 at bugs.launchpad.net
Wed Jul 7 12:32:22 UTC 2021


You have been subscribed to a public bug by Ubuntu Foundations Team Bug Bot (crichton):

Building Squid for Impish on RISC-V fails.

Two problems were identified. Upstream merge request have been created:

https://github.com/squid-cache/squid/pull/855 for

tools.cc: In function ‘void enter_suid()’:
tools.cc:585:11: error: ignoring return value of ‘int setuid(__uid_t)’
declared with attribute ‘warn_unused_result’ [-Werror=unused-result]
  585 |     setuid(0);
      |     ~~~~~~^~~

https://github.com/squid-cache/squid/pull/856 for

/usr/riscv64-linux-gnu/include/c++/10/ostream:611:
undefined reference to __atomic_compare_exchange_1

With suggested patches building succeeds.

Best regards

Heinrich

** Affects: squid (Ubuntu)
     Importance: Undecided
     Assignee: Heinrich Schuchardt (xypron)
         Status: In Progress


** Tags: patch
-- 
squid: build failure for Impish RISC-V
https://bugs.launchpad.net/bugs/1934891
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list