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

I'v got some problems with atos and libCoreFoundation.so #7

Open
emil-palm opened this issue Aug 19, 2012 · 2 comments
Open

I'v got some problems with atos and libCoreFoundation.so #7

emil-palm opened this issue Aug 19, 2012 · 2 comments

Comments

@emil-palm
Copy link

Hi. First to say, awsome project i works just wonderful with dwarfdump but when i needed to use "atos" from the xcode toolchain i ran into the problem with libCoreFoundation.so not not beeing found.

i'v got libCoreFoundation.so* in /usr/local/lib/ and as you then can conclude i have installed opencflite-476.19.0 and made it work.

But when i open atos i get:

../xcode_3.2.6_and_ios_sdk_4.3/root/usr/bin/atos -arch armv7
Couldn't load libCoreFoundation.so for /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
NSNonOwnedPointerHashCallBacks: undefined symbol
OBJC_CLASS_$_NSAssertionHandler: undefined symbol
OBJC_CLASS_$_NSAutoreleasePool: undefined symbol
OBJC_CLASS_$_NSMutableString: undefined symbol
OBJC_CLASS_$_NSProcessInfo: undefined symbol
OBJC_CLASS_$_NSString: undefined symbol
_NSConcreteStackBlock: undefined symbol
objc_msgSend_fixup: undefined symbol
objc_msgSend_fixup: undefined symbol
objc_msgSend_fixup: undefined symbol
objc_msgSend_fixup: undefined symbol
objc_msgSend_fixup: undefined symbol
objc_msgSend_fixup: undefined symbol
objc_msgSend_fixup: undefined symbol
objc_msgSend_fixup: undefined symbol
OBJC_CLASS_$_NSMutableArray: undefined symbol
OBJC_CLASS_$_NSMutableDictionary: undefined symbol
__CFConstantStringClassReference: undefined symbol
__CFConstantStringClassReference: undefined symbol
__CFConstantStringClassReference: undefined symbol
__CFConstantStringClassReference: undefined symbol
__CFConstantStringClassReference: undefined symbol
__CFConstantStringClassReference: undefined symbol
__CFConstantStringClassReference: undefined symbol
__CFConstantStringClassReference: undefined symbol
__CFConstantStringClassReference: undefined symbol
__CFConstantStringClassReference: undefined symbol
__CFConstantStringClassReference: undefined symbol
__CFConstantStringClassReference: undefined symbol
__CFConstantStringClassReference: undefined symbol
__CFConstantStringClassReference: undefined symbol
__CFConstantStringClassReference: undefined symbol
__CFConstantStringClassReference: undefined symbol
__CFConstantStringClassReference: undefined symbol
__CFConstantStringClassReference: undefined symbol
__CFConstantStringClassReference: undefined symbol
__CFConstantStringClassReference: undefined symbol
AuthorizationCopyRights: undefined symbol
AuthorizationCreate: undefined symbol
AuthorizationFree: undefined symbol
AuthorizationFreeItemSet: undefined symbol
CSIsNull: undefined symbol
CSSourceInfoGetFilename: undefined symbol
CSSourceInfoGetLineNumber: undefined symbol
CSSymbolGetName: undefined symbol
CSSymbolGetRange: undefined symbol
CSSymbolOwnerGetBaseAddress: undefined symbol
CSSymbolOwnerGetName: undefined symbol
CSSymbolOwnerGetSourceInfoWithAddress: undefined symbol
CSSymbolOwnerGetSymbolWithAddress: undefined symbol
CSSymbolicatorCreateWithPathAndArchitecture: undefined symbol
CSSymbolicatorCreateWithTask: undefined symbol
CSSymbolicatorForeachSymbolOwnerAtTime: undefined symbol
CSSymbolicatorGetSymbolOwnerCountAtTime: undefined symbol
CSSymbolicatorGetSymbolOwnerWithAddressAtTime: undefined symbol
NSCountHashTable: undefined symbol
NSCreateHashTable: undefined symbol
NSEndHashTableEnumeration: undefined symbol
NSEnumerateHashTable: undefined symbol
NSHashInsert: undefined symbol
NSNextHashEnumeratorItem: undefined symbol
NXGetArchInfoFromCpuType: undefined symbol
errc: undefined symbol
getprogname: undefined symbol
objc_enumerationMutation: undefined symbol
objc_msgSend: undefined symbol
pidFromHint: undefined symbol
posix_spawnattr_setbinpref_np: undefined symbol
proc_name: undefined symbol
proc_pidinfo: undefined symbol
proc_pidpath: undefined symbol
psName: undefined symbol
task_for_pid: undefined symbol
task_stop_peeking: undefined symbol
Undefined function called

Any ideas on what im doing wrong?

Cheers
Emil

@shinh
Copy link
Owner

shinh commented Aug 19, 2012

You did nothing wrong. Unfortunately, current ld-mac doesn't work for atos. It might not easy to fix this issue because implementing CS* APIs might not be trivial.

I've recently contributed a few patches for binutils to support dwarf in mach-o and I guess you might be able to use addr2line in binutils HEAD.

@emil-palm
Copy link
Author

Where can i get that binutils version to test? cheers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants