• 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: Eric Albert <email@hidden>
  • Date: Wed, 11 Jan 2006 04:09:41 -0800

On Jan 11, 2006, at 3:52 AM, Dirk Stegemann wrote:

My situation:

Dual-G4 867, Mac OS X 10.4.2 (8C46), Xcode 2.2:
Creates ppc binary using gcc 3.3, backward compatible to Mac OS X 10.2.8.


Developer Transition System, Mac OS X 10.4.3 (8F1111), Xcode 2.2:
Creates i386 binary using gcc 4.0.1

I used 'lipo' to create a universal binary, but PackageMaker (invoked via command line) complains about "malformed object (unknown flavor for flavor number 0 in LC_UNIXTHREAD command 16 can't byte swap it))".

I was just looking into another report of this tonight, so this is interesting.


Additional info:
1) when I run PackageMaker on the DTS to create the installer, there is no complain, although the binary seems to be broken as well.
2) when I also first run lipo, then PackageMaker on the DTS, same symptoms: no complain, but the binary is broken.
3) when I just build the package, filled with binaries which are *not* universal but just i386, everything's fine, so lipo seems to break the binary on creating the universal binary, no matter which lipo version (i386 or ppc) I run, although only the ppc version leads to the "malformed object" message later in PackageMaker.

Can you clarify (1) and (2)? What do you mean by "the binary seems to be broken"?


At the moment, I believe a workaround is to run PackageMaker on the DTK, but it sounds like that isn't working for you and I'm interested in knowing what's going on there.

-Eric

_______________________________________________
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: Stéphane Sudre <email@hidden>
    • Re: Lipo & PackageMaker Error ?
      • From: Dirk Stegemann <email@hidden>
References: 
 >Re: Lipo & PackageMaker Error ? (From: Dirk Stegemann <email@hidden>)

  • Prev by Date: Re: Lipo & PackageMaker Error ?
  • Next by Date: Re: Lipo & PackageMaker Error ?
  • Previous by thread: Re: Lipo & PackageMaker Error ?
  • Next by thread: Re: Lipo & PackageMaker Error ?
  • Index(es):
    • Date
    • Thread