Re: dyld: incompatible cpu-subtype
Re: dyld: incompatible cpu-subtype
- Subject: Re: dyld: incompatible cpu-subtype
- From: Ken Victor <email@hidden>
- Date: Thu, 25 Jan 2007 14:23:29 -0800
john,
thanx for the reply. i sorta figured that was the case...
i link against (only) the following 7 frameworks:
AddressBook.framework
Carbon.framework
Cocoa.framework
Foundation.framework
CoreData.framework
AppKit.framework
ExceptionHandling.framework
and all have the path (set to absolute):
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/
fwiw, only the following 4 show up in the "Link Binary With
Libraries" step for my target:
AddressBook.framework
Carbon.framework
Cocoa.framework
ExceptionHandling.framework
so... i dragged all the frameworks out of the link step and dragged
in the above 4 frameworks from the frameworks groups. now, instead of
the above message, i get the below crash report. note the app still
works fine natively on both a MacPro and a dual G5, but crashes under
rosetta on the MacPro.
tia,
ken
**********
Host Name: Kens-Quad
Date/Time: 2007-01-25 14:17:14.283 -0800
OS Version: 10.4.8 (Build 8N1250)
Report Version: 4
Command: Accounts
Path:
/Volumes/Disk2/Contracts/Accounts/code/build/Debug/Accounts.app/Contents/MacOS/Accounts
Parent: WindowServer [89]
Rosetta: Yes
Version: 1.1 (24)
PID: 15392
Thread: 0
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_INVALID_ADDRESS (0x0001) at 0xba80901c
Thread 0 Crashed:
0 com.victor.accounts 0xb813ac19 spin_lock_wrapper + 120269
1 com.victor.accounts 0xb8138a42 spin_lock_wrapper + 111606
2 com.victor.accounts 0xb81382b7 spin_lock_wrapper + 109675
3 com.victor.accounts 0xb807c36b 0xb8000000 + 508779
4 com.victor.accounts 0xb807c48b 0xb8000000 + 509067
5 com.victor.accounts 0xb811e179 spin_lock_wrapper + 2861
6 com.victor.accounts 0xb811e433 spin_lock_wrapper + 3559
7 com.victor.accounts 0xb81369a0 spin_lock_wrapper + 103252
8 com.victor.accounts 0xb80050f7 0xb8000000 + 20727
9 com.victor.accounts 0xb8137d58 spin_lock_wrapper + 108300
10 com.victor.accounts 0xb811dba3 spin_lock_wrapper + 1367
11 com.victor.accounts 0xb80038f2 0xb8000000 + 14578
12 com.victor.accounts 0xb8003819 0xb8000000 + 14361
Thread 0 crashed with X86 Thread State (32-bit):
eax: 0x82809000 ebx: 0xb813a94b ecx: 0x80d02340 edx: 0x00000000
edi: 0xba80901c esi: 0x00000001 ebp: 0xb7fff998 esp: 0xb7fff8f0
ss: 0x0000001f efl: 0x00010202 eip: 0xb813ac19 cs: 0x00000017
ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037
Binary Images Description:
0x8fe00000 - 0x8fe49fff dyld 46.1 /usr/lib/dyld
0xb8000000 - 0xb82d9fff com.victor.accounts 1.1 (24)
/Volumes/Disk2/Contracts/Accounts/code/build/Debug/Accounts.app/Contents/MacOS/Accounts
Translated Code Information:
NO CRASH REPORT
At 1:44 PM -0800 1/25/07, John Stiles wrote:
You are linking to a non-universal dylib or framework.
On Jan 25, 2007, at 1:40 PM, Ken Victor wrote:
something has changed on my system such that when i try to launch a
ppc build (or a universal build under rosetta) of my app on a
MacPro i get the following in the console window:
dyld: incompatible cpu-subtype
MyApp has exited due to signal 5 (SIGTRAP).
both a i386 build and a universal build launch and run fine on the MacPro.
note that i was able to do this several days ago, so obviously i've
changed something somewhere... can anyone point me to some
documentation that explains what is going on and how to fix it (or
simply suggest some things for me to try).
tia,
ken
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden