Re: [cfarm-users] PowerPC 32 bit abi on gcc110.fsffrance.org

2019-09-09 Thread Bruno Haible via cfarm-users
Segher Boessenkool wrote: > $ sh config.sub powerpc64-elfv2-linux > powerpc64-elfv2-linux-gnu > > No, that is not the same thing. It is BE, and it uses ELFv1! > > > $ :|powerpc64-elfv2-linux-gcc -dM -E -|grep BYTE_ORDER > #define __BYTE_ORDER__ __ORDER_BIG_ENDIAN__ > > $ :|powerpc64-elfv2-linu

Re: [cfarm-users] PowerPC 32 bit abi on gcc110.fsffrance.org

2019-09-09 Thread Segher Boessenkool via cfarm-users
On Tue, Sep 10, 2019 at 12:14:13AM +0200, Bruno Haible wrote: > Boessenkool wrote: > > > not on powerpc64-elfv2-linux!). > > > > I think you mean powerpc64le-linux? > > Yes, this is the same thing. The ABI indicator for this ABI is the > preprocessor define _CALL_ELF=2; it is used on the distros

Re: [cfarm-users] PowerPC 32 bit abi on gcc110.fsffrance.org

2019-09-09 Thread David Edelsohn via cfarm-users
On Mon, Sep 9, 2019 at 6:22 PM Bruno Haible via cfarm-users wrote: > > Kaz Kylheku wrote: > > What I'm now wondering is whether my context saving/restoring assembly > > code for PPC has any ABI "gotcha" in it. I've only tested in on the > > above gcc110 machine. > > The compilefarm covers all vari

Re: [cfarm-users] PowerPC 32 bit abi on gcc110.fsffrance.org

2019-09-09 Thread Bruno Haible via cfarm-users
Kaz Kylheku wrote: > What I'm now wondering is whether my context saving/restoring assembly > code for PPC has any ABI "gotcha" in it. I've only tested in on the > above gcc110 machine. The compilefarm covers all variations of PowerPC ABIs (except for Mac OS X <= 10.5, which no one uses any more)

Re: [cfarm-users] PowerPC 32 bit abi on gcc110.fsffrance.org

2019-09-09 Thread Bruno Haible via cfarm-users
Segher Boessenkool wrote: > > not on powerpc64-elfv2-linux!). > > I think you mean powerpc64le-linux? Yes, this is the same thing. The ABI indicator for this ABI is the preprocessor define _CALL_ELF=2; it is used on the distros named powerpc64le-linux. Bruno

Re: [cfarm-users] PowerPC 32 bit abi on gcc110.fsffrance.org

2019-09-09 Thread Segher Boessenkool via cfarm-users
On Mon, Sep 09, 2019 at 11:16:44PM +0200, Bruno Haible via cfarm-users wrote: > Paulo César Pereira de Andrade wrote: > > When testing on gcc110.fsffrance.org I got confused as there were no > > function descriptors, and the float abi to call varargs functions did > > not match. > > Indeed, func

Re: [cfarm-users] PowerPC 32 bit abi on gcc110.fsffrance.org

2019-09-09 Thread Kaz Kylheku via cfarm-users
On 2019-09-09 14:16, Bruno Haible via cfarm-users wrote: Paulo César Pereira de Andrade wrote: When testing on gcc110.fsffrance.org I got confused as there were no function descriptors, and the float abi to call varargs functions did not match. Indeed, function descriptors are a difference b

Re: [cfarm-users] PowerPC 32 bit abi on gcc110.fsffrance.org

2019-09-09 Thread Bruno Haible via cfarm-users
Paulo César Pereira de Andrade wrote: > When testing on gcc110.fsffrance.org I got confused as there were no > function descriptors, and the float abi to call varargs functions did > not match. Indeed, function descriptors are a difference between the ABIs as well: On powerpc-aix and powerpc64-

Re: [cfarm-users] PowerPC 32 bit abi on gcc110.fsffrance.org

2019-09-09 Thread Paulo César Pereira de Andrade via cfarm-users
Em sáb, 7 de set de 2019 às 21:39, Bruno Haible escreveu: Hi Bruno and thanks to all that replied. > > Just testing for hopefully soon new release of GNU Lightning, I noticed > > now when building with -m32 it appears to have a different abi that I > > could not find any description searchi