[OpenBIOS] Cross-compiling and testing sparc64 on Mac OS X

Andreas Färber andreas.faerber at web.de
Mon Nov 30 23:03:37 CET 2009


Hey,

Am 30.11.2009 um 22:03 schrieb Blue Swirl:

> What about x86_64 target or other 64 bit targets, do you have problems
> with those?

Hadn't checked yet. Booting Fedora 12 DVD results in immediate segfault!

(gdb) run -boot d -cdrom ../Fedora-12-x86_64-DVD.iso -nographic
Starting program: /Users/andreas/QEMU/latest/bin/qemu-system-x86_64 - 
boot d -cdrom ../Fedora-12-x86_64-DVD.iso -nographic
Reading symbols for shared libraries +++++++++++++++ 
+............................................................... done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries .. done

Program received signal EXC_BAD_ACCESS, Could not access memory.
                                                                  
Reason: KERN_PROTECTION_FAILURE at address: 0x00000000
                                       __stl_mmu (addr=0, val=0,  
mmu_idx=-1) at /Users/andreas/QEMU/qemu/target-i386/op_helper.c:259
                                                    259	    return  
p[0] | (p[1] << 8) | (p[2] << 16) | (p[3] << 24);
(gdb) bt
         #0  __stl_mmu (addr=0, val=0, mmu_idx=-1) at /Users/andreas/ 
QEMU/qemu/target-i386/op_helper.c:259
                                                                                                          #1 
   0x06000500 in ?? ()
                                                                                                                                 #2 
   0x000dbcd0 in cpu_x86_exec (env1=<value temporarily unavailable,  
due to optimizations>) at /Users/andreas/QEMU/qemu/target-i386/ 
op_helper.c:259
                                                                                                                            #3 
   0x0000a5b8 in qemu_main (argc=6, argv=0xbffff7e4, envp=<value  
temporarily unavailable, due to optimizations>) at /Users/andreas/QEMU/ 
qemu/target-i386/op_helper.c:259
                                                                                                                                             #4 
   0x000c9268 in -[QemuCocoaAppController  
startEmulationWithArgc:argv:] (self=<value temporarily unavailable,  
due to optimizations>, _cmd=<value temporarily unavailable, due to  
optimizations>, argc=<value temporarily unavailable, due to  
optimizations>, argv=<value temporarily unavailable, due to  
optimizations>) at /Users/andreas/QEMU/qemu/target-i386/op_helper.c:259
                                                      #5  0x93765688  
in _nsnote_callback ()
                                                                                           #6 
   0x94c0643c in _CFXNotificationPostNotification ()
                                                                                                                                                #7 
   0x93762dc4 in -[NSNotificationCenter  
postNotificationName:object:userInfo:] ()
                                                                          #8 
   0x940f1858 in -[NSApplication _postDidFinishNotification] ()
                                                                                                                                          #9 
   0x940f1770 in -[NSApplication _sendFinishLaunchingNotification] ()
                                                        #10 0x94079114  
in -[NSApplication(NSAppleEventHandling) _handleAEOpen:] ()
                                                                                                                                  #11 
  0x9407894c in -[NSApplication(NSAppleEventHandling)  
_handleCoreEvent:withReplyEvent:] ()
                                                                       
#12 0x93786008 in -[NSAppleEventManager  
dispatchRawAppleEvent:withRawReply:handlerRefCon:] ()
           #13 0x93785ddc in _NSAppleEventManagerGenericHandler ()
                                                                  #14  
0x93498ce4 in aeDispatchAppleEvent ()
                                                                                                           #15 
  0x93498bec in dispatchEventAndSendReply ()
                                                                                                                                                        #16 
  0x934989f0 in aeProcessAppleEvent ()
                                        #17 0x95579410 in  
AEProcessAppleEvent ()
                                                                                #18 
  0x94076478 in _DPSNextEvent ()
                                                                                                                  #19 
  0x94075c00 in -[NSApplication  
nextEventMatchingMask:untilDate:inMode:dequeue:] ()
                                               #20 0x9406f8a0 in - 
[NSApplication run] ()
                                                                                        #21 
  0x000c9a8c in main (argc=<value temporarily unavailable, due to  
optimizations>, argv=<value temporarily unavailable, due to  
optimizations>) at /Users/andreas/QEMU/qemu/target-i386/op_helper.c:259
                                                                                                                                       Current 
  language:  auto; currently c
(gdb)

Andreas



More information about the OpenBIOS mailing list