• 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: Lipo & PackageMaker Error ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Lipo & PackageMaker Error ?


  • Subject: Re: Lipo & PackageMaker Error ?
  • From: Chris Espinosa <email@hidden>
  • Date: Sat, 12 Nov 2005 09:09:52 -0800

On Nov 12, 2005, at 8:28 AM, Greg Hurrell wrote:

El 12/11/2005, a las 4:07, Andrew Satori escribió:

Ok, I'm trying to package up a universal binary that was assembled via lipo (not xcode based)., When I get to the PackageMaker process, I get the following error:

: for architecture i386 object: file_name malformed object (unknown flavor for flavor number 0 in LC_UNIXTHREAD command 17 can't byte swap it)

I get a single google result, and that links to a DES client file for NeXTStep.

Any thoughts or suggestions on where to go next?

Andy

Don't know, but I'm getting a similar thing on a project of mine when I try stripping the prebinding information from my Universal Binary executable:


for architecture i386 object: file_name malformed object (unknown flavor for flavor number 0 in LC_UNIXTHREAD command 19 can't byte swap it)

for architecture i386 object: file_name malformed object (unknown flavor for flavor number 0 in LC_UNIXTHREAD command 11 can't byte swap it)

Old builds (prior to Xcode 2.2/Mac OS X 10.4.3) work. New builds (after upgrade to Xcode 2.2/Mac OS X 10.4.3) produce the errors.

I believe that you need to re-compile (or at least re-link) all your dylibs and executables with the gcc, ld, and cctools provided with Xcode 2.2 before using lipo and PackageMaker that came with 2.2. During the development of Xcode 2.2 we changed the definition of threadstate for Intel, and code that was built against the old definition needs to be rebuilt with the new tools.


Chris

_______________________________________________
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: Lipo & PackageMaker Error ?
      • From: Andrew Satori <email@hidden>
References: 
 >Lipo & PackageMaker Error ? (From: Andrew Satori <email@hidden>)
 >Re: Lipo & PackageMaker Error ? (From: Greg Hurrell <email@hidden>)

  • Prev by Date: Re: Java and Distributed Build
  • Next by Date: Installing XCode 2.2?
  • Previous by thread: Re: Lipo & PackageMaker Error ?
  • Next by thread: Re: Lipo & PackageMaker Error ?
  • Index(es):
    • Date
    • Thread