Re: PowerMac G5 fans run out of control with kernel 4.17.0-3-powerpc64 but not with 4.16.0-1-powerpc64

2018-08-27 Thread Bas Vermeulen
Hi Dennis, Your modules aren't stripped, which is what causes the huge initrd. Try: make INSTALL_MOD_STRIP=1 modules_install instead of make modules_install to fix this. Bas Vermeulen

Re: PPC64: gcc currently compiles for power4 by default, causing glibc's sqrtf to fail on e6500

2018-02-16 Thread Bas Vermeulen
emulation options earlier. Bas Vermeulen

Re: PPC64: fpsqrt instruction

2018-02-09 Thread Bas Vermeulen
Sorry about the delay. You can find the glibc-2.26 compiled with powerpc64 at http://blackstar.xs4all.nl/glibc-2.26-ppc64-powerpc64.tgz Bas Vermeulen On Tue, Feb 6, 2018 at 6:30 PM, Christian Zigotzky wrote: > Hi Bas, > > Thank you. Could you please upload the libm when you are fini

Re: PPC64: gcc currently compiles for power4 by default, causing glibc's sqrtf to fail on e6500

2018-02-09 Thread Bas Vermeulen
Taking extcont...@daedalean.ai out of the cc list (it has an auto replay I didn't know about, sorry). Bas Vermeulen On Fri, Feb 9, 2018 at 12:56 PM, Bas Vermeulen wrote: > diff of gcc -dM -E - without and with the patch applied: > > --- gcc-default 2018-01-28 18:06:14.11600 +

Re: PPC64: gcc currently compiles for power4 by default, causing glibc's sqrtf to fail on e6500

2018-02-09 Thread Bas Vermeulen
] -mtraceback=[default] - -mtune= [default] + -mtune= powerpc64 -muclibc[disabled] -mupdate[enabled] -mupper-regs[enabled] Bas Vermeulen

Re: PPC64: gcc currently compiles for power4 by default, causing glibc's sqrtf to fail on e6500

2018-02-09 Thread Bas Vermeulen
, and ought to work on all supported CPUs for the ppc64 port. Bas Vermeulen On Tue, Feb 6, 2018 at 7:35 PM, John Paul Adrian Glaubitz < glaub...@physik.fu-berlin.de> wrote: > On 02/06/2018 07:29 PM, Bas Vermeulen wrote: > > I get that. But configure in the gcc sources doesn

Re: PPC64: gcc currently compiles for power4 by default, causing glibc's sqrtf to fail on e6500

2018-02-06 Thread Bas Vermeulen
--with-cpu-32 and --with-cpu-64), and you won't find it there. Bas Vermeulen On Tue, Feb 6, 2018 at 7:25 PM, John Paul Adrian Glaubitz < glaub...@physik.fu-berlin.de> wrote: > On 02/06/2018 07:22 PM, Bas Vermeulen wrote: > > I just checked gcc's configure, and that doesn&

Re: PPC64: gcc currently compiles for power4 by default, causing glibc's sqrtf to fail on e6500

2018-02-06 Thread Bas Vermeulen
I just checked gcc's configure, and that doesn't take --with-cpu= as an argument. It doesn't fail when it has it, but it doesn't actually do anything with it either. So my patch would be the correct way to handle this. Bas Vermeulen On Tue, Feb 6, 2018 at 6:58 PM, John

Re: PPC64: fpsqrt instruction

2018-02-06 Thread Bas Vermeulen
Hi Christian, I am running into a similar problem with my T2080 (using an e6500). I'm currently rebuilding gcc to build for powerpc64 by default, eliminating those from being generated by default. Once that is done, I'll have to rebuild glibc with the new gcc compiler to update

Re: PPC64: gcc currently compiles for power4 by default, causing glibc's sqrtf to fail on e6500

2018-02-06 Thread Bas Vermeulen
Mostly because I didn't know/think of that. But you are right, that would be better. Bas Vermeulen On Tue, Feb 6, 2018 at 5:48 PM, John Paul Adrian Glaubitz < glaub...@physik.fu-berlin.de> wrote: > > > On Feb 6, 2018, at 5:26 PM, Bas Vermeulen wrote: > > I am evaluat

Re: PPC64: gcc currently compiles for power4 by default, causing glibc's sqrtf to fail on e6500

2018-02-06 Thread Bas Vermeulen
I am evaluating the following patch to gcc-7 to fix the problem. It's currently building, I'll follow up when I know it works. The patch is added to debian/rules.patch to get it included. Bas Vermeulen On Tue, Feb 6, 2018 at 5:16 PM, Lennart Sorensen < lsore...@csclub.uwaterloo.ca&

PPC64: gcc currently compiles for power4 by default, causing glibc's sqrtf to fail on e6500

2018-02-06 Thread Bas Vermeulen
fp sqrt). What would be the best way to solve this problem? Bas Vermeulen