Christian wrote 2009-12-22 06.13:
> Actually this is not a new issue but has been reported[0] back in
> August (how can I reply-to-all, not only to the poster?), but it's
> still present with the latest -svn checkout (r1686):
>
> -----------------------------------------------------------------------------------
> yadayada...
> -----------------------------------------------------------------------------------
>
>
>
> With the following diff compilation continues a bit (!) further but
> this is *completely* untested, I'm not even sure what
> fuse_biglock_vnode_operation_entries actually does. Again, it's only a
> compilation fix!
>
Yes, this has been discussed several times.
Obviously your "fix" is going to produce a 64-bit kext that will
eventually lead to kernel panics and/or corruptions in kernel state or
file system data because of the lack of proper locking.
A better solution at this point (if you just want it all to compile) is
to open fusefs.xcodeproj and disable the x86_64 architecture when building.
> OK, now that I got the "BUILD SUCCEEDED" message for "fusefs", it
> still fails building the MacFUSE library:
>
>
> -----------------------------------------------------------------------------------
> ...yadayada...
> -----------------------------------------------------------------------------------
>
>
> So ....what now? Hints welcome :-)
>
Well, you could add ppc64 as a build architecture in libfuse. This will
supposedly enable ppc64 users to compile 64-bit FUSE filesystem
binaries, but that's untested.
-----------------------------------------------------------------------------------
--- a/core/10.5/libfuse/fuse-2.7.3-macosx.patch
+++ b/core/10.5/libfuse/fuse-2.7.3-macosx.patch
@@ -37607,7 +37607,7 @@ diff -Naur old/darwin_configure.sh
new/darwin_configure.sh
+MACFUSE_SRCROOT=${MACFUSE_SRCROOT:-$1}
+MACFUSE_SRCROOT=${MACFUSE_SRCROOT:?}
+
-+CFLAGS="-D__FreeBSD__=10 -D_POSIX_C_SOURCE=200112L
-I$MACFUSE_SRCROOT/common -O -gdwarf-2 -arch i386 -arch ppc -arch x86_64
-isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5"
LDFLAGS="-arch i386 -arch ppc -arch x86_64 -framework CoreFoundation"
./configure --prefix=/usr/local --disable-dependency-tracking
--disable-static
++CFLAGS="-D__FreeBSD__=10 -D_POSIX_C_SOURCE=200112L
-I$MACFUSE_SRCROOT/common -O -gdwarf-2 -arch i386 -arch ppc -arch x86_64
-arch ppc64 -isysroot /Developer/SDKs/MacOSX10.5.sdk
-mmacosx-version-min=10.5" LDFLAGS="-arch i386 -arch ppc -arch x86_64
-arch ppc64 -framework CoreFoundation" ./configure --prefix=/usr/local
--disable-dependency-tracking --disable-static
diff -Naur old/darwin_configure_ino64.sh new/darwin_configure_ino64.sh
--- old/darwin_configure_ino64.sh 1969-12-31 16:00:00.000000000 -0800
+++ new/darwin_configure_ino64.sh 2009-10-18 19:42:37.000000000 -0700
@@ -37617,7 +37617,7 @@ diff -Naur old/darwin_configure_ino64.sh
new/darwin_configure_ino64.sh
+MACFUSE_SRCROOT=${MACFUSE_SRCROOT:-$1}
+MACFUSE_SRCROOT=${MACFUSE_SRCROOT:?}
+
-+CFLAGS="-D__DARWIN_64_BIT_INO_T=1 -D__FreeBSD__=10
-D_POSIX_C_SOURCE=200112L -I$MACFUSE_SRCROOT/common -O -gdwarf-2 -arch
i386 -arch ppc -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.5.sdk
-mmacosx-version-min=10.5" LDFLAGS="-arch i386 -arch ppc -arch x86_64
-framework CoreFoundation" ./configure --prefix=/usr/local
--disable-dependency-tracking --disable-static
++CFLAGS="-D__DARWIN_64_BIT_INO_T=1 -D__FreeBSD__=10
-D_POSIX_C_SOURCE=200112L -I$MACFUSE_SRCROOT/common -O -gdwarf-2 -arch
i386 -arch ppc -arch x86_64 -arch ppc64 -isysroot
/Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5" LDFLAGS="-arch
i386 -arch ppc -arch x86_64 -arch ppc64 -framework CoreFoundation"
./configure --prefix=/usr/local --disable-dependency-tracking
--disable-static
diff -Naur old/example/Makefile.am new/example/Makefile.am
--- old/example/Makefile.am 2008-02-19 11:51:22.000000000 -0800
+++ new/example/Makefile.am 2009-10-18 19:42:37.000000000 -0700
-----------------------------------------------------------------------------------
Cheers,
- Erik
--
You received this message because you are subscribed to the Google Groups
"MacFUSE" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/macfuse?hl=en.