[OpenBIOS] Some encountered issues when compiling openbios on a ppc64 host

Mark Cave-Ayland mark.cave-ayland at siriusit.co.uk
Sat Jan 23 18:13:54 CET 2010


Blue Swirl wrote:

> Now Sparc32/64 and PPC build and work. I could also build a working
> Sparc64 image with the native gcc of OpenBSD/Sparc64, version 3.3.5
> (propolice). I tested amd64 and x86 unix versions, sparc64 unix seems
> to be broken ATM.
> 
> Before committing this, it would be nice if all developers checked if
> their build environment still work with the patch and send an ACK.

I confirm that applying this patch to r668 breaks something in the 
Sparc64 build when trying to boot my test Milax image. Without the patch 
applied I get the output below (which is currently as expected):


OpenBIOS for Sparc64
Configuration device id QEMU version 1 machine id 0
kernel cmdline
CPUs: 1 x SUNW,UltraSPARC-II
UUID: 00000000-0000-0000-0000-000000000000
Welcome to OpenBIOS v1.0 built on Jan 23 2010 17:06
   Type 'help' for detailed information

[sparc64] Booting file 'cdrom' with parameters ''
Not a bootable ELF image
Not a Linux kernel image
Not a bootable a.out image
Loading FCode image...
Loaded 7084 bytes
entry point is 0x4000
Evaluating FCode...
Claim failed!

byte-load: stack overflow, diff 1

byte-load: stack overflow, diff 1

0 >


With the patch applied I get this:


OpenBIOS for Sparc64
Configuration device id QEMU version 1 machine id 0
kernel cmdline
CPUs: 1 x SUNW,UltraSPARC-II
UUID: 00000000-0000-0000-0000-000000000000
Welcome to OpenBIOS v1.0 built on Jan 23 2010 17:10
   Type 'help' for detailed information

[sparc64] Booting file 'cdrom' with parameters ''
Not a bootable ELF image
Not a Linux kernel image
Not a bootable a.out image
Loading FCode image...
Loaded 7084 bytes
entry point is 0x4000
Evaluating FCode...
Unhandled Exception 0x0000000000000028
PC = 0x00000000ffd26a2c NPC = 0x00000000ffd26a30
Stopping execution


So yeah, the patch breaks something :(


HTH,

Mark.

-- 
Mark Cave-Ayland - Senior Technical Architect
PostgreSQL - PostGIS
Sirius Corporation plc - control through freedom
http://www.siriusit.co.uk
t: +44 870 608 0063

Sirius Labs: http://www.siriusit.co.uk/labs



More information about the OpenBIOS mailing list