← Back to team overview

enterprise-support team mailing list archive

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

 

Public bug reported:

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

** Summary changed:

- squid: build failure for Impish RISCV
+ squid: build failure for Impish RISC-V

** Changed in: squid (Ubuntu)
     Assignee: (unassigned) => Heinrich Schuchardt (xypron)

** Changed in: squid (Ubuntu)
       Status: New => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Server/Client Support Team, which is subscribed to squid in Ubuntu.
Matching subscriptions: Ubuntu Server/Client Support Team
https://bugs.launchpad.net/bugs/1934891

Title:
  squid: build failure for Impish RISC-V

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


Follow ups