courtneyellis / macfuse

Automatically exported from code.google.com/p/macfuse
0 stars 0 forks source link

Powerpc MacFUSE apps fail on Intel CPU #391

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
1) Compile hello world app on Intel Mac
   with gcc -arch ppc hello.c -lfuse

2) run with 
   ./a.out -d mount_point

Expected result: hello world file system + debug output

Actual result: 

unique: 0, opcode: ??? (436207616), nodeid: 0, insize: 56
   unique: 0, error: -5 (Input/output error), outsize: 16
fuse: writing device: Invalid argument
mount_fusefs: failed to mount /Users/gchilds/UnNeko/fs/mp@/dev/fuse0:
Socket is not connected
Unhandled transform (1) for ioctl group = 70 (F), number = 3, length = 4
Illegal instruction

Notes: the large opcode (436207616) is actually just 26
byteswapped, which is the first opcode that you see when
running the Intel version. Most likely an endianness problem. 

Original issue reported on code.google.com by rfistman@gmail.com on 19 Oct 2008 at 4:28

GoogleCodeExporter commented 8 years ago
http://groups.google.com/group/macfuse/browse_thread/thread/32a38a06f68c778e/ca8
9f215e8ee72e3?
lnk=gst&q=rosetta#ca89f215e8ee72e3

MacFUSE isn't supported by Rosetta, and vice versa. It never will be.

Original comment by si...@gmail.com on 19 Oct 2008 at 6:40