|
Message-Id: <a43aeb5d-3704-4540-969e-085790ff0477@www.fastmail.com> Date: Thu, 04 Jun 2020 22:39:30 +0200 From: "Daniel Kolesa" <daniel@...aforge.org> To: "Segher Boessenkool" <segher@...nel.crashing.org>, "Rich Felker" <dalias@...c.org> Cc: Michal Suchánek <msuchanek@...e.de>, "Joseph Myers" <joseph@...esourcery.com>, libc-alpha@...rceware.org, eery@...erfox.es, musl@...ts.openwall.com, "Will Springer" <skirmisher@...tonmail.com>, "Palmer Dabbelt via binutils" <binutils@...rceware.org>, "via libc-dev" <libc-dev@...ts.llvm.org>, linuxppc-dev@...ts.ozlabs.org Subject: Re: Re: ppc64le and 32-bit LE userland compatibility On Thu, Jun 4, 2020, at 19:33, Segher Boessenkool wrote: > On Thu, Jun 04, 2020 at 01:18:44PM -0400, Rich Felker wrote: > > On Thu, Jun 04, 2020 at 12:12:32PM -0500, Segher Boessenkool wrote: > > > On Tue, Jun 02, 2020 at 05:13:25PM +0200, Daniel Kolesa wrote: > > > > well, ppc64le already cannot be run on those, as far as I know (I > > > > don't think it's possible to build ppc64le userland without VSX in > > > > any configuration) > > > > > > VSX is required by the ELFv2 ABI: > > > > > > """ > > > Specifically, to use this ABI and ABI-compliant programs, OpenPOWER- > > > compliant processors must implement the following categories: > > > > This is not actually ABI but IBM policy laundered into an ABI > > document, which musl does not honor. > > It is the ABI. If you think it should be different, make your own ABI, > don't pretend the existing ABI is different than what it is. Thank you. > Well then - in that case, what do you suggest that I do? Void currently ships an ELFv2 (or apparently not, I guess) 64-bit big endian port that works on 970/G5 up. It is important to me that it stays that way (a large amount of users are running 970s, so introducing a VSX dependency means I might as well abandon the port entirely). It currently works out of box - there are no changes required in glibc, and nearly the entire userland builds and works (about ~11500 out of ~12000 software packages, those that don't work either don't work on ppc64le either, or have issues related to endianness, or some other unrelated reason). I'd like to eventually get this into a state where I don't have to worry about glibc arbitrarily breaking it - which means it would be necessary to stabilize it upstream. While I can probably maintain a downstream patchset when it comes to it, I'd much prefer if I didn't have to - but this sounds like an official ELFv2 glibc BE port would be impossible unless the VSX requirement (and thus IEEE 128-bit long double and so on) was in place, which would defeat the point of the port. Is there *any* way I can take that would make upstreams of all parts of the toolchain happy? I explicitly don't want to go back to ELFv1. While at it, I'd like to transition to ld64 long double format, to match musl and improve software compatibility, which I feel will raise more objections from IBM side. > > Segher > Daniel
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.