• 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: xcode 1.2, -fast and ppc_intrinsics.h
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: xcode 1.2, -fast and ppc_intrinsics.h


  • Subject: Re: xcode 1.2, -fast and ppc_intrinsics.h
  • From: Mark Eissler <email@hidden>
  • Date: Wed, 28 Apr 2004 12:18:05 -0400

I would like to use -fast too, but in my attempt to use this a.m. I get a huge number of warnings of the following sort:

type-punning to incomplete type might break strict-aliasing rules

This can appear multiple times for a single source file. I'm still trying to figure out how these classes are incomplete. All of my symbols are defined. Maybe I'm missing some that must be defined as well to make a defined type complete in Obj-C? The docs don't discuss this if that's the case.

If I build with optimization set at -O3 I don't have any problems (that is, I must not have warnings turned on for whatever is causing the type-punning warnings).

-mark

On Apr 24, 2004, at 11:51 PM, Brian Barnes wrote:

I bug reported this one earlier, still not working. I was wondering if I could be told why it's not working (really curious) and if there's any work around.

My program can compile fine with:

-fstrict-aliasing -ffast-math -funroll-loops -falign-loops-max-skip=15 -falign-jumps-max-skip=15 -falign-loops=16 -falign-jumps=16 -falign-functions=16 -malign-natural -mdynamic-no-pic -mcpu=7400 -force_cpusubtype_ALL

But if I use:

-fast -mcpu=G4 (or 7400, or whatever)

It blows up with:

ld: Undefined symbols:
_astrcmp.104
___frsqrtes.94
___fmadds.82
___frsqrte.93

All from ppc_intrinsics.h, which seems to have an alternate copy under the "3.3-fast" directory. I include ppc_intrinsics by:

#include <ppc_intrinsics.h>

Maybe I should link directly with the fast version? I'd really like to use fast :)

[>] Brian
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.



--
Mark Eissler, email@hidden
Mixtur Interactive, Inc.
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: xcode 1.2, -fast and ppc_intrinsics.h
      • From: "email@hidden" <email@hidden>
References: 
 >xcode 1.2, -fast and ppc_intrinsics.h (From: Brian Barnes <email@hidden>)

  • Prev by Date: Re: Error when opening project in 1.2
  • Next by Date: Can't use install option with native build targets
  • Previous by thread: xcode 1.2, -fast and ppc_intrinsics.h
  • Next by thread: Re: xcode 1.2, -fast and ppc_intrinsics.h
  • Index(es):
    • Date
    • Thread