koverstreet / bcachefs-tools

http://bcachefs.org
GNU General Public License v2.0
116 stars 88 forks source link

v1.9.1: build failed on x86 #307

Closed maravtdm closed 1 month ago

maravtdm commented 2 months ago

Hi,

On x86 architecture (Slackware), the build failed with this error :

libbcachefs/journal.h: In function ‘journal_res_get_fast’:
libbcachefs/journal.h:359:19: error: implicit declaration of function ‘atomic64_try_cmpxchg’; did you mean ‘atomic_try_cmpxchg’? [-Wimplicit-function-declaration]
  359 |         } while (!atomic64_try_cmpxchg(&j->reservations.counter,
      |                   ^~~~~~~~~~~~~~~~~~~~
      |                   atomic_try_cmpxchg

Same for Opensuse: https://build.opensuse.org/package/live_build_log/filesystems/bcachefs-tools/openSUSE_Tumbleweed/i586

maravtdm commented 1 month ago

Solved with latest release