[OE-core] [PATCH 2/2] libatomics-ops: force omit frame pointer for x86 builds

Paul Barker paul at paulbarker.me.uk
Thu Jul 18 09:19:49 UTC 2013


On 18 July 2013 09:57, Jesse Zhang <sen.zhang at windriver.com> wrote:
>
> But, I looked at the upstream git repo, and it builds fine. I located
> two relevant commits and made a patch. Please see the new fix below
> (also pushed to my contrib repo).
>
> I'm not sure what the code does exactly, but it at least builds now
> with whatever flags.

If you want to know, see
http://en.wikipedia.org/wiki/Position-independent_code for the meaning
of PIC and GOT in this context. The rest is probably just gcc
weirdness and the way it uses registers to store the frame pointer.

--
Paul Barker

Email: paul at paulbarker.me.uk
http://www.paulbarker.me.uk



More information about the Openembedded-core mailing list