Re: unknown required load command 0x80000022 once again
Re: unknown required load command 0x80000022 once again
- Subject: Re: unknown required load command 0x80000022 once again
- From: Ken Thomases <email@hidden>
- Date: Mon, 3 May 2010 13:54:35 -0500
On May 3, 2010, at 12:59 PM, mogambo wrote:
>> You could, of course, build with "-mmacosx-version-min=10.5", but then
>> you'd have to be careful to make the code Leopard-compatible. If it's not
>> using any Snow Leopard-specific APIs, the simplest way is to switch to the
>> 10.5 SDK, too.
>
> I switched to "-mmacosx-version-min=10.5", but mount() returns EFAULT. The
> manpage for mount(2) says:
> EFAULT: Dir pointer outside the process's allocated address space
Have you actually tried debugging to make sure this has to do with architecture issues? My very emphatic guess is that this is just a plain old-fashioned bug, totally unrelated to architecture issues.
> I have not looked at the mount() code, but I can understand the requirement
> that the mount utility, the kernel and the VFS driver all need to be of one
> architecture.
Is this a requirement you've seen documented, or is it just your guess in trying to explain the above error?
I would definitely expect that the kernel and driver must match, but not that anything in userland would have to. The Mac OS X kernel is perfectly capable of running both 32-bit and 64-bit user processes, whether it itself is running 32- or 64-bit.
Regards,
Ken
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden