Skip to content

Commit ca8a703

Browse files
roxellbhcopeland
authored andcommitted
check-environment: fix fuse3 test on 32-bit architectures
The fuse3 test program fails on i386 cross-compilation: error: static assertion failed: "fuse: off_t must be 64bit" fuse3 requires _FILE_OFFSET_BITS=64. Without it 32-bit architectures like i386 have 32-bit off_t and the assertion in fuse_common.h fails. Fixes: 3ba39a8 ("check-environment: fix fuse3 test program") Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
1 parent 3ba39a8 commit ca8a703

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tuxmake/runtime/bin/tuxmake-check-environment

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ int main(int argc, char *argv[])
120120
PROGRAM
121121

122122
my $fuse_program_fuse3 = <<PROGRAM;
123+
#define _FILE_OFFSET_BITS 64
123124
#define FUSE_USE_VERSION 30
124125
#include <fuse3/fuse.h>
125126
int main(int argc, char *argv[])

0 commit comments

Comments
 (0)