• 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: Bad Arm7 code generation?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bad Arm7 code generation?


  • Subject: Re: Bad Arm7 code generation?
  • From: Jean-Denis MUYS <email@hidden>
  • Date: Fri, 12 Aug 2011 14:04:17 +0000
  • Thread-topic: Bad Arm7 code generation?

On 12 août 2011, at 14:49, Jonas Maebe wrote:

>
> On 12 Aug 2011, at 14:31, Jean-Denis MUYS wrote:
>
>> "Unrolling" the build output reveals a bit more information:
>>
>> /var/folders/sj/_9x5rtbj59bb6wqhgy_ydlxr0000gn/T/cc-jCp4JC.s:703:bad instruction `lock'
>> /var/folders/sj/_9x5rtbj59bb6wqhgy_ydlxr0000gn/T/cc-jCp4JC.s:704:bad instruction `xaddl r1,(r0)'
>> clang: error: assembler command failed with exit code 1 (use -v to see invocation)
>> Command /Xcode4.2/Platforms/iPhoneOS.platform/Developer/usr/bin/clang failed with exit code 1
>>
>> So it seems the assembler phase of the llvm compiler was fed a corrupt source file. That source file was the output of the compiler:
>
> That looks like code from a macro containing inline Intel assembler for an atomic "add & exchange". I guess one of the headers you are using was somehow preprocessed for Intel rather than for ARM.
>

This rings a bell! I have shuffled a few header files around earlier. Where is the result of header preprocessing stored?

Jean-Denis



 _______________________________________________
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

References: 
 >Bad Arm7 code generation? (From: Jean-Denis MUYS <email@hidden>)
 >Re: Bad Arm7 code generation? (From: Jonas Maebe <email@hidden>)

  • Prev by Date: Re: Bad Arm7 code generation?
  • Next by Date: Re: Xcode's Windows Still Open After Force Quit
  • Previous by thread: Re: Bad Arm7 code generation?
  • Next by thread: Re: Xcode's Windows Still Open After Force Quit
  • Index(es):
    • Date
    • Thread