powerpc -mcpu=common equivalent ?
Daniel Walker
danielwa@cisco.com
Thu Feb 9 18:00:00 GMT 2017
Hi,
It looks like -mcpu=common (on the powerpc architecture) was removed. My
group is struggling to find a way to compile generic binaries for
PowerPC. We have been getting an LWSYNC instruction included in the
binaries, and some of our processors are getting a trap when this
instructions is executed. The platforms we are using are all Freescale,
they are p2020, t1042, and 8540.
Freescale support informed us that we should use -mcpu=common , which is
gone, we tried a number of other -mcpu setting including -mcpu=powerpc,
but none of them allow us to have generic binaries for all the platforms.
I suppose this is either a bug report that we're getting lwsync when we
shouldn't be getting it, or just a question of what the typical tune is
to make generic binaries ?
Thanks for any help,
Daniel
More information about the Gcc
mailing list