• 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: Crash on G3
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Crash on G3


  • Subject: Re: Crash on G3
  • From: Trygve Inda <email@hidden>
  • Date: Tue, 18 Apr 2006 04:51:52 +0000
  • Thread-topic: Crash on G3

>>
>> On Apr 17, 2006, at 21:20 , Trygve Inda wrote:
>>
>>>>
>>>> On Apr 17, 2006, at 08:17 , Trygve Inda wrote:
>>>>
>>>>> A user reports a crash with:
>>>>>
>>>>>>> PID:    213
>>>>>>> Thread: Unknown
>>>>>>>
>>>>>>> Link (dyld) error:
>>>>>>>
>>>>>>> incompatible cpu-subtype
>>>>>>> **********
>>>>>
>>>>> I have Xcode 2.2.1 and instruction scheduling set to G4 but it says
>>>>> it will
>>>>> run on older processors. This is on 10.4.6 so it is not a Panther/
>>>>> Tiger
>>>>> issue.
>>>>>
>>>>> Why is my code not working on G3 systems?
>>>>
>>>> Looks like you set up the compilation to produce code specific to a
>>>> G4.  If that's the case, it explains why it won't run on a G3 (and
>>>> the "incompatible" error, above).
>>>>
>>>> Regards,
>>>>
>>>> Justin
>>>>
>>>
>>> Where is this setting?
>>>
>>> The only thing I see in Xcode is under instruction scheduling in
>>> the Target
>>> Info panel. It is set to PowerPC G4 [-mtune=G4] but the notes at
>>> the bottom
>>> of the panel say Generated code will run on older processors.
>>
>> I made an inference based on what you provided.  If that is the only
>> G4 setting in your project, then the problem is elsewhere.
>>
>> Unfortunately, with what you've provided, it is impossible to tell
>> what is going wrong (at least, for me).  I don't suppose you tried to
>> track down the errant process/library, and figure out what the cpu
>> subtype is?
>>
>> Regards,
>>
>> Justin
>
> It is on a users machine and not here. One theory is that Xcode is set to
> $(NATIVE_ARCH) (note this is not a Universal Binary app yet). And Xcode is
> running on a G4.
>
> I assumed based on the Xcode description that $(NATIVE_ARCH) would become
> ppc, but perhaps it is becoming ppc7400 and thus G4 code which runs on a G5
> but not G3.
>
> Trygve


PS: In the build details of Xcode it looks like it is using ppc which should
run on a G3.

Gcc-4.0 -x c -arch ppc -pipe.....

Really confused here. It worked as a CodeWarrior build.

Trygve


 _______________________________________________
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: Crash on G3
      • From: Devang Patel <email@hidden>
    • Re: Crash on G3
      • From: "Justin C. Walker" <email@hidden>
References: 
 >Re: Crash on G3 (From: Trygve Inda <email@hidden>)

  • Prev by Date: Re: Crash on G3
  • Next by Date: Re: Crash on G3
  • Previous by thread: Re: Crash on G3
  • Next by thread: Re: Crash on G3
  • Index(es):
    • Date
    • Thread