Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

osxfusefs.kext does not load on OS X 10.5/ppc #9

Closed
bfleischer opened this issue Sep 6, 2011 · 0 comments
Assignees
Milestone

Comments

@bfleischer
Copy link
Member

@bfleischer bfleischer commented Sep 6, 2011

The kernel extension does not load on OS X 10.5/ppc, if build with Xcode 3.2 and LLVM-GCC 4.2. LLVM-GCC 4.2 seems to ignore the compiler flag "-mlong-branch" (ppc only), which is implied by the flag "-mkernel". This causes relocation overflow errors when loading osxfusefs.kext on OS X 10.5/ppc. Using GCC 4.2 fixes this issue.

kld(): /Library/Filesystems/osxfusefs.fs/Support/osxfusefs.kext/Contents/MacOS/osxfusefs relocation overflow for relocation entry 16 in section (__TEXT,__text) (displacement too large)
kld(): /Library/Filesystems/osxfusefs.fs/Support/osxfusefs.kext/Contents/MacOS/osxfusefs relocation overflow for relocation entry 21 in section (__TEXT,__text) (displacement too large)
kld(): /Library/Filesystems/osxfusefs.fs/Support/osxfusefs.kext/Contents/MacOS/osxfusefs relocation overflow for relocation entry 36 in section (__TEXT,__text) (displacement too large)
kld(): /Library/Filesystems/osxfusefs.fs/Support/osxfusefs.kext/Contents/MacOS/osxfusefs relocation overflow for relocation entry 39 in section (__TEXT,__text) (displacement too large)
kld(): /Library/Filesystems/osxfusefs.fs/Support/osxfusefs.kext/Contents/MacOS/osxfusefs relocation overflow for relocation entry 46 in section (__TEXT,__text) (displacement too large)
kld(): /Library/Filesystems/osxfusefs.fs/Support/osxfusefs.kext/Contents/MacOS/osxfusefs relocation overflow for relocation entry 47 in section (__TEXT,__text) (displacement too large)
kld(): /Library/Filesystems/osxfusefs.fs/Support/osxfusefs.kext/Contents/MacOS/osxfusefs relocation overflow for relocation entry 52 in section (__TEXT,__text) (displacement too large)
kld(): /Library/Filesystems/osxfusefs.fs/Support/osxfusefs.kext/Contents/MacOS/osxfusefs relocation overflow for relocation entry 57 in section (__TEXT,__text) (displacement too large)
...
@ghost ghost assigned bfleischer Sep 6, 2011
bfleischer added a commit that referenced this issue Sep 6, 2011
The kernel extension does not load on OS X 10.5/ppc, if build with Xcode 3.2
and LLVM-GCC 4.2. LLVM-GCC 4.2 seems to ignore the compiler flag
"-mlong-branch" (ppc only), which is implied by the flag "-mkernel". This
causes relocation overflow errors when loading osxfusefs.kext on OS X 10.5/ppc.
Using GCC 4.2 fixes this issue.

Closes issue #9: osxfusefs.kext does not load on OS X 10.5/ppc
@bfleischer bfleischer closed this Sep 6, 2011
bfleischer added a commit that referenced this issue Nov 4, 2011
The kernel extension does not load on OS X 10.5/ppc, if build with Xcode 3.2
and LLVM-GCC 4.2. LLVM-GCC 4.2 seems to ignore the compiler flag
"-mlong-branch" (ppc only), which is implied by the flag "-mkernel". This
causes relocation overflow errors when loading osxfusefs.kext on OS X 10.5/ppc.
Using GCC 4.2 fixes this issue.

Closes issue #9: osxfusefs.kext does not load on OS X 10.5/ppc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.