Unable to boot debian ports debian-9.0-powerpc-NETINST-1.iso image in QEMU

2018-02-10 Thread Mark Cave-Ayland
Hi all, As part of my work on QEMU I regularly test various PPC images, and I've discovered that the latest debian ports powerpc image from https://cdimage.debian.org/cdimage/ports/9.0/powerpc/iso-cd/ doesn't appear to work under QEMU: $ ./qemu-system-ppc -cdrom debian-9.0-powerpc-NETINST-1.

Re: Unable to boot debian ports debian-9.0-powerpc-NETINST-1.iso image in QEMU

2018-02-10 Thread Frank Scheiner
Hi Mark, On 02/10/2018 10:22 AM, Mark Cave-Ayland wrote: $ ./qemu-system-ppc -cdrom debian-9.0-powerpc-NETINST-1.iso -boot d -M mac99 -nographic [...] Trying cd:,\\:tbxi... [...] :-1,: Unable to open file, Invalid device Can't open config file Welcome to yaboot version 1.3.17 boot: My existing

Re: Unable to boot debian ports debian-9.0-powerpc-NETINST-1.iso image in QEMU

2018-02-10 Thread Mark Cave-Ayland
On 10/02/18 13:39, Frank Scheiner wrote: Hi Mark, On 02/10/2018 10:22 AM, Mark Cave-Ayland wrote: $ ./qemu-system-ppc -cdrom debian-9.0-powerpc-NETINST-1.iso -boot d -M mac99 -nographic [...] Trying cd:,\\:tbxi... [...] :-1,: Unable to open file, Invalid device Can't open config file Welcome

Re: Unable to boot debian ports debian-9.0-powerpc-NETINST-1.iso image in QEMU

2018-02-10 Thread John Paul Adrian Glaubitz
On 02/10/2018 10:22 AM, Mark Cave-Ayland wrote: > My existing Jessie test image (debian-8.5.0-powerpc-netinst.iso) works fine, > so it looks like there is a regression somewhere in the boot loader > configuration. > Does anyone know what has changed between these two images that could cause > th

Re: Detecting PowerPC SPE libraries

2018-02-10 Thread John Paul Adrian Glaubitz
On 02/09/2018 09:22 PM, Javier Serrano Polo wrote: > I am trying to detect PowerPC SPE libraries. The best way I find is to > check if Tag_GNU_Power_ABI_FP is soft float. Am I right? On PowerPCSPE targets, gcc will define __SPE__: root@atlantis:~> echo | gcc -E -dM - |grep -i SPE #define __SPE__

Re: Unable to boot debian ports debian-9.0-powerpc-NETINST-1.iso image in QEMU

2018-02-10 Thread Frank Scheiner
On 02/10/2018 03:29 PM, John Paul Adrian Glaubitz wrote: On 02/10/2018 10:22 AM, Mark Cave-Ayland wrote: My existing Jessie test image (debian-8.5.0-powerpc-netinst.iso) works fine, so it looks like there is a regression somewhere in the boot loader configuration. Does anyone know what has chan

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

2018-02-10 Thread Dennis Clarke
On 09/02/18 05:34 AM, John Paul Adrian Glaubitz wrote: On 02/09/2018 11:30 AM, Bas Vermeulen wrote: mator on #debian-ports compiled gcc-7 for me with the attached patch. With the resulting gcc, I compiled glibc and got a library I can use sqrtf without running into an illegal instruction excepti

Re: Hardware info in Mac Mini G4

2018-02-10 Thread Dennis Clarke
On 09/02/18 08:34 AM, Mathieu Malaterre wrote: > Just for posterity... PowerMac G5 here : ppc_nix$ hexdump -C /sys/firmware/devicetree/base/rom@0,ff80/boot-rom@fff0/BootROM-version 24 30 30 30 35 2e 32 37 66 31 00 |$0005.27f1.| 000b ppc_nix$ ppc_nix$ h

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

2018-02-10 Thread Gabriel Paubert
On Sat, Feb 10, 2018 at 04:02:36PM -0500, Dennis Clarke wrote: > On 09/02/18 05:34 AM, John Paul Adrian Glaubitz wrote: > > On 02/09/2018 11:30 AM, Bas Vermeulen wrote: > > > mator on #debian-ports compiled gcc-7 for me with the attached patch. > > > With the resulting gcc, I compiled glibc and got

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

2018-02-10 Thread Dennis Clarke
This is something that needs to be discussed. A single user alone shouldn't warrant such major change in a port. You always have to keep in mind that changing the default compiler options also has potential impact on the performance on more modern ppc64 systems like Apple Macintosh. Not sure