Re: Build problem on ppc64be + musl

2021-08-17 Thread David Edelsohn
I believe that some OS (FreeBSD? NetBSD?) is trying to use ELFv2 with PPC64 BE. That is a separate issue and I do not believe that Musl Libc plans to support that configuration. AIX continues to use its ABI, which essentially is closely related to ELFv1 and uses the XCOFF file format and syntax.

Re: Build problem on ppc64be + musl

2021-08-17 Thread Niels Möller
David Edelsohn writes: > Musl Libc does not support ELFv1, so I don't understand how this > configuration is possible. If I understood the original report, musl always uses ELFv2 abi, for both little and big endian configurations. Which for big endian is incompatible with the way powerpc64

Re: Build problem on ppc64be + musl

2021-08-17 Thread David Edelsohn
On Tue, Aug 17, 2021 at 2:40 AM Niels Möller wrote: > > Maamoun TK writes: > > > Forcing ELFv2 abi doesn't work for big-endian mode as this mode has no > > support for ELFv2. ppc64 linux big-endian is deprecated, it' not unexpected > > to get such issues. Dropping big-endian support for powerpc

Re: Build problem on ppc64be + musl

2021-08-17 Thread Niels Möller
Maamoun TK writes: > Forcing ELFv2 abi doesn't work for big-endian mode as this mode has no > support for ELFv2. ppc64 linux big-endian is deprecated, it' not unexpected > to get such issues. Dropping big-endian support for powerpc could be an > option to solve this issue but that will be a