Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use relaxed memory order for atomic counters #1233

Merged
merged 1 commit into from
Aug 21, 2023

Use relaxed memory order for atomic counters

0ed03a1
Select commit
Loading
Failed to load commit list.
Merged

Use relaxed memory order for atomic counters #1233

Use relaxed memory order for atomic counters
0ed03a1
Select commit
Loading
Failed to load commit list.
Cirrus CI / freebsd:13.0 failed Aug 21, 2023 in 1m 18s

Task Summary

Instruction main failed in 01:23

Details

ℹ️ Scheduling was delayed due to a concurrency limit on community tasks

✅ 00:01 clone
❌ 01:23 main

     ^
lib/cpu.hpp:28:14: noteIn file included from : candidate function not viable: no known conversion from 'cpusetid_t *' (aka 'int *') to 'const std::set<int>' for 2nd argument
  static int setaffinity(const pthread_t thread_id, const std::set<int> cpus);
             ^
src/fs_movefile.cpp:32:
src/ugid.hpp:34:2: warning: "using ugid_rwlock.hpp" [-W#warnings]
#warning "using ugid_rwlock.hpp"
 ^
lib/cpu.cppsrc/fs_readahead.cpp:49:3: error: unknown type name 'cpu_set_t'; did you mean 'cpusetid_t'?
:  cpu_set_t cpuset;28:
10  ^~~~~~~~~:
   cpusetid_tfatal error
: 'sys/sysmacros.h' file not found
#include <sys/sysmacros.h>
         ^~~~~~~~~~~~~~~~~
/usr/include/sys/types.h:86:22: note: 'cpusetid_t' declared here
typedef __cpusetid_t    cpusetid_t;
                        ^
lib/cpu.cpp1: error51 generated:.
3gmake[1]: *** [Makefile:151: build/.src/fs_readahead.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....
: error: use of undeclared identifier 'CPU_ZERO'
  CPU_ZERO(&cpuset);
  ^
lib/cpu.cpp:53:5: error: use of undeclared identifier 'CPU_SET'
    CPU_SET(cpu,&cpuset);
    ^
lib/cpu.cpp:55:10: error: no matching function for call to 'setaffinity'
  return CPU::setaffinity(thread_id_,&cpuset);
         ^~~~~~~~~~~~~~~~
lib/cpu.cpp:34:6: note: candidate function not viable: no known conversion from 'cpusetid_t *' (aka 'int *') to 'const int' for 2nd argument; remove &
CPU::setaffinity(const pthread_t thread_id_,
     ^
lib/cpu.cpp:46:6: note: candidate function not viable: no known conversion from 'cpusetid_t *' (aka 'int *') to 'const std::set<int>' for 2nd argument
CPU::setaffinity(const pthread_t     thread_id_,
     ^
lib/cpu.cpp:71:3: error: unknown type name 'cpu_set_t'; did you mean 'cpusetid_t'?
  cpu_set_t cpuset;
  ^~~~~~~~~
  cpusetid_t
/usr/include/sys/types.h:86:22: note: 'cpusetid_t' declared here
typedef __cpusetid_t    cpusetid_t;
                        ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
gmake[2]: *** [Makefile:126: build/cpu.o] Error 1
gmake[2]: Leaving directory '/tmp/cirrus-ci-build/libfuse'
gmake[1]: *** [Makefile:105: objects] Error 2
gmake[1]: Leaving directory '/tmp/cirrus-ci-build/libfuse'
gmake: *** [Makefile:257: libfuse] Error 2
gmake: *** Waiting for unfinished jobs....
1 warning generated.
gmake[1]: Leaving directory '/tmp/cirrus-ci-build'
gmake: *** [Makefile:120: objects] Error 2

Exit status: 2