You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to compile master @ 620a61e on MacOS via a nix-shell, as that appears to be the most reliable way of creating reproducible builds on MacOS. However, it appears that the recent dynamic configs PR #6303 added a call to fdatasync which may not be available.
Would using fsync be a good alternative? According to the man-pages it is equivalent, but also syncs metadata, so causes more write operations.
The text was updated successfully, but these errors were encountered:
Apparently MacOS doesn't always have fdatasync, so use fsync. Even more importantly
check whether it succeeds!
Fixes: ElementsProject#6516
Signed-off-by: Rusty Russell <[email protected]>
Apparently MacOS doesn't always have fdatasync, so use fsync. Even more importantly
check whether it succeeds!
Fixes: ElementsProject#6516
Signed-off-by: Rusty Russell <[email protected]>
Apparently MacOS doesn't always have fdatasync, so use fsync. Even more importantly
check whether it succeeds!
Fixes: #6516
Signed-off-by: Rusty Russell <[email protected]>
litch
pushed a commit
to litch/lightning
that referenced
this issue
Aug 11, 2023
Apparently MacOS doesn't always have fdatasync, so use fsync. Even more importantly
check whether it succeeds!
Fixes: ElementsProject#6516
Signed-off-by: Rusty Russell <[email protected]>
Issue and Steps to Reproduce
I'm trying to compile
master
@ 620a61e on MacOS via anix-shell
, as that appears to be the most reliable way of creating reproducible builds on MacOS. However, it appears that the recent dynamic configs PR #6303 added a call tofdatasync
which may not be available.Would using
fsync
be a good alternative? According to the man-pages it is equivalent, but also syncs metadata, so causes more write operations.The text was updated successfully, but these errors were encountered: