Re: "magic numbers incorrect" error trying to use atos on i386 binary
Re: "magic numbers incorrect" error trying to use atos on i386 binary
- Subject: Re: "magic numbers incorrect" error trying to use atos on i386 binary
- From: Greg Hurrell <email@hidden>
- Date: Sat, 13 May 2006 18:57:01 +0200
El 13/05/2006, a las 16:08, Greg Guerin escribió:
Sorry, ignore that. Somehow I got to the end of the original post and
forgot the details at the beginning of it. If 'atos' is
complaining about
a thin i386 binary file, it's not a fat/thin problem.
However, it might be worth confirming that the file really is a thin
binary, and not a fat binary with one i386 element. That's the
only thing
I can think of, except "atos only works on native arch".
Yes, definitely confirmed that it is a thin binary containing the
i386 element...
$ lipo -info i386_unstripped
Non-fat file: i386_unstripped is architecture: i386
El 13/05/2006, a las 16:28, Peter O'Gorman escribió:
I assume that this is known, vaguely recall seeing it come up here
before, but it may be worth a bug report anyway. I reproduced by
building a minimal i386 binary on my ppc mac, and running atos on it
with a valid symbol address. "mach header magic numbers incorrect in
header".
Ok, thanks for the confirmation, Peter. I will definitely file a bug
report (r. 4547463).
As an experiment, I tried reproducing this by running atos on a thin
i386 binary extracted from a shipping Apple universal binary (iTunes):
# setup:
cd /Applications/iTunes.app/Contents/MacOS
lipo -info iTunes
lipo iTunes -thin i386 -output iTunes_i386
lipo -info iTunes_i386
# this works:
atos -o iTunes
# this fails (with the "mach header magic numbers incorrect" error):
atos -o iTunes_i386
Does anybody know of any workarounds? I don't have handy access to an
i386 machine and as such I am unable to interpret crash reports sent
in by users running on i386, and so it's a fairly critical issue for
me...
Cheers,
Greg
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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