Re: [PATCH] PowerPC: Don't assume all targets have GLIBC

2020-11-02 Thread Segher Boessenkool
On Fri, Oct 30, 2020 at 10:52:55PM -0400, Michael Meissner wrote: > On Fri, Oct 30, 2020 at 06:39:16PM -0500, Segher Boessenkool wrote: > > On Fri, Oct 30, 2020 at 06:50:30PM -0400, Michael Meissner wrote: > > > On Fri, Oct 30, 2020 at 03:54:06PM -0500, Segher Boessenkool wrote: > > > > But, time w

Re: [PATCH] PowerPC: Don't assume all targets have GLIBC

2020-10-30 Thread Michael Meissner via Gcc-patches
On Fri, Oct 30, 2020 at 06:39:16PM -0500, Segher Boessenkool wrote: > On Fri, Oct 30, 2020 at 06:50:30PM -0400, Michael Meissner wrote: > > On Fri, Oct 30, 2020 at 03:54:06PM -0500, Segher Boessenkool wrote: > > > But, time will fix all problems here. So, okay for trunk. Thanks! > > > > Note, I

Re: [PATCH] PowerPC: Don't assume all targets have GLIBC

2020-10-30 Thread Segher Boessenkool
On Fri, Oct 30, 2020 at 06:50:30PM -0400, Michael Meissner wrote: > On Fri, Oct 30, 2020 at 03:54:06PM -0500, Segher Boessenkool wrote: > > But, time will fix all problems here. So, okay for trunk. Thanks! > > Note, I discovered the ABI is not set to ELFv2 at the time the test is done, > so > I

Re: [PATCH] PowerPC: Don't assume all targets have GLIBC

2020-10-30 Thread Michael Meissner via Gcc-patches
t;From f03851e1a6dac72127e97629e259ad01a2b1e7b6 Mon Sep 17 00:00:00 2001 From: Michael Meissner Date: Fri, 30 Oct 2020 18:36:25 -0400 Subject: [PATCH] PowerPC: Don't assume all targets have GLIBC. gcc/ 2020-10-30 Michael Meissner * config/rs6000/rs6000.c (glibc_supports_ieee_128bit):

Re: [PATCH] PowerPC: Don't assume all targets have GLIBC

2020-10-30 Thread Segher Boessenkool
On Fri, Oct 30, 2020 at 04:00:30PM -0400, Michael Meissner wrote: > On Fri, Oct 30, 2020 at 01:52:13PM -0500, Segher Boessenkool wrote: > > On Fri, Oct 30, 2020 at 01:21:34PM -0400, Michael Meissner wrote: > > > David reminded me that not all targets support GLIBC. This patch should > > > fix my

Re: [PATCH] PowerPC: Don't assume all targets have GLIBC

2020-10-30 Thread Michael Meissner via Gcc-patches
On Fri, Oct 30, 2020 at 01:52:13PM -0500, Segher Boessenkool wrote: > On Fri, Oct 30, 2020 at 01:21:34PM -0400, Michael Meissner wrote: > > David reminded me that not all targets support GLIBC. This patch should > > fix my > > previous committed patch not to use TARGET_GLIBC_MAJOR or TARGET_GLIBC

Re: [PATCH] PowerPC: Don't assume all targets have GLIBC

2020-10-30 Thread Segher Boessenkool
On Fri, Oct 30, 2020 at 01:21:34PM -0400, Michael Meissner wrote: > David reminded me that not all targets support GLIBC. This patch should fix > my > previous committed patch not to use TARGET_GLIBC_MAJOR or TARGET_GLIBC_MINOR > unless they are defined. > + This support is only in little endi

[PATCH] PowerPC: Don't assume all targets have GLIBC

2020-10-30 Thread Michael Meissner via Gcc-patches
PowerPC: Don't assume all targets have GLIBC. David reminded me that not all targets support GLIBC. This patch should fix my previous committed patch not to use TARGET_GLIBC_MAJOR or TARGET_GLIBC_MINOR unless they are defined. I have done a bootstrap on a little endian power9 system and it was f