Open ymbstm opened 5 months ago
Hmm, I cannot make anything from the description you provided...
Could you provide the info below at least.
For sched_yield()
, I'm not sure we must to do it now because we need to consider supporting older OSs. May be the best time is when we update the main target of OS from RHEL7/8 to RHEL9. (See #456)
I don't believe sched_yield()
is an item of this issue at all.
Description I am trying to compile LTFS on CentOS, but the build process fails with errors related to the FUSE API version and deprecated pthread_yield function.
Steps to Reproduce Run ./configure Run make Encounter errors during the build process Expected behavior The build should complete successfully without errors.
Actual behavior The build fails with the following errors:
An error message stating that only FUSE API version 30 or greater is supported. Compilation warnings about the deprecated pthread_yield, with the suggestion to use sched_yield instead. Environment OS: CentOS FUSE version: 3.10.2 Compiler: GCC Error Logs plaintext
FUSE 3.10.2 should support the required API version 30, but the build script seems not to recognize this. The usage of deprecated pthread_yield needs replacement with sched_yield across the project to resolve the deprecation warnings and potential future build failures.