• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: "magic numbers incorrect" error trying to use atos on i386 binary
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: "magic numbers incorrect" error trying to use atos on i386 binary
      • From: "Peter O'Gorman" <email@hidden>
References: 
 >Re: "magic numbers incorrect" error trying to use atos on i386 binary (From: Greg Guerin <email@hidden>)

  • Prev by Date: Re: Java 5 and WO problem
  • Next by Date: Re: (no subject)
  • Previous by thread: Re: "magic numbers incorrect" error trying to use atos on i386 binary
  • Next by thread: Re: "magic numbers incorrect" error trying to use atos on i386 binary
  • Index(es):
    • Date
    • Thread