[PATCH libgpg-error] syscfg: Add ppc64le cross build support

Daniel Kahn Gillmor dkg at fifthhorseman.net
Fri Mar 16 23:46:51 CET 2018


On Fri 2018-03-16 12:49:14 -0400, Brad Bishop wrote:
>> On Mar 16, 2018, at 12:14 PM, Daniel Kahn Gillmor <dkg at fifthhorseman.net> wrote:
>> 
>> hi Brad--
>> 
>> On Wed 2018-03-14 17:09:01 -0400, Brad Bishop wrote:
>>> * src/syscfg/lock-obj-pub.ppc64le-unknown-linux-gnu.h: New.
>>> * src/Makefile.am (lock_obj_pub): Add.
>> 
>> this looks the same as
>> src/syscfg/lock-obj-pub.powerpc64le-unknown-linux-gnu.h
>> 
>> what platform are you building on that produces this triplet?
>
> Thanks for having a look!
>
> $ uname -a
> Linux zzzzzz 4.4.0-112-generic #135-Ubuntu SMP Fri Jan 19 11:48:46 UTC 2018 ppc64le ppc64le ppc64le GNU/Linux
>
> So I’m building on ppc64le for an arm target.  Does that answer the question
> completely?  It seemed like there was some support for aliasing in mkheader
> (powerpc64le does indeed == ppc64le) but I couldn’t figure it out.

sorry, this is still confusing to me, but probably because i haven't
really internalized the "triplet" platform labeling scheme well enough
(i mean, i'm still calling it "triplet" and there are usually 4 fields!)

i guess i'm asking why some 64-bit little-endian powerpc machines would
get reported as powerpc64le and others would be ppc64le, if they're the
same underlying hardware.

perhaps someone with more of an understanding of the nuances of
different platforms can weigh in here.  i don't know enough to be able
to make this call.

   --dkg



More information about the Gnupg-devel mailing list