[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] qemu cpu-all.h
From: |
Mike Kronenberg |
Subject: |
Re: [Qemu-devel] qemu cpu-all.h |
Date: |
Mon, 21 Nov 2005 14:49:40 +0100 |
User-agent: |
Mozilla Thunderbird 1.0.7 (Macintosh/20050923) |
Hello,
I just wanted to build CVS taget i386-softmmu on a PPC G4 with OS X
10.3.9, GCC 3.3.
I get a ton of the following compile errors:
/diff/qemu/cpu-all.h: In function `ldq_le_p':
/diff/qemu/cpu-all.h:234: warning: implicit declaration of function `ldl_p'
/diff/qemu/cpu-all.h: In function `stq_le_p':
/diff/qemu/cpu-all.h:266: warning: implicit declaration of function `stl_p'
if I move the Block with the defines:
/* target CPU memory access functions */
#if defined(TARGET_WORDS_BIGENDIAN)
/.../
#define ldl_p(p) ldl_le_p(p)
/.../
#define stl_p(p, v) stl_le_p(p, v)
/.../
#endif
on top of the file (since now, ldl_le_p and stl_le_p are defined after
this block) it compiles fine.
But QEMU crashes very early (some seconds after starting freedos... I
see the prompt and can enter things).
Mike
My Errorlog:
Date/Time: 2005-11-21 12:57:59 +0100
OS Version: 10.3.9 (Build 7W98)
Report Version: 2
Command: qemu
Path: ./qemu
Version: ??? (???)
PID: 6567
Thread: 0
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000034
Thread 0 Crashed:
0 qemu 0x00061a8c 0x1000 + 0x60a8c
1 qemu 0x0005ec40 0x1000 + 0x5dc40
2 qemu 0x0005fef0 0x1000 + 0x5eef0
3 <<00000000>> 0x002ac4c8 receive_samples + 0x1c8d64
4 qemu 0x0006c24c 0x1000 + 0x6b24c
5 qemu 0x00008084 0x1000 + 0x7084
6 qemu 0x00009564 0x1000 + 0x8564
7 qemu 0x000b0b04 0x1000 + 0xafb04
8 com.apple.Foundation 0x90a27aec _nsnote_callback + 0xb0
9 com.apple.CoreFoundation 0x901da4a8 __CFXNotificationPost + 0x1b4
10 com.apple.CoreFoundation 0x901deeb8
_CFXNotificationPostNotification + 0x340
11 com.apple.Foundation 0x90a25938 -[NSNotificationCenter
postNotificationName:object:userInfo:] + 0x74
12 com.apple.AppKit 0x92f93380 -[NSApplication
_postDidFinishNotification] + 0x70
13 com.apple.AppKit 0x92f9326c -[NSApplication
_sendFinishLaunchingNotification] + 0x5c
14 com.apple.AppKit 0x92f9349c
-[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:]
+ 0x78
15 com.apple.Foundation 0x90a7af70 -[NSAppleEventManager
dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 0x164
16 com.apple.Foundation 0x90a81808
_NSAppleEventManagerGenericHandler + 0x78
17 com.apple.AE 0x9272ba10 aeDispatchAppleEvent(AEDesc
const*, AEDesc*, unsigned long, unsigned char*) + 0xd0
18 com.apple.AE 0x9272e858
dispatchEventAndSendReply(AEDesc const*, AEDesc*) + 0x2c
19 com.apple.AE 0x9272bc50 aeProcessAppleEvent + 0x11c
20 com.apple.HIToolbox 0x92975224 AEProcessAppleEvent + 0x3c
21 com.apple.AppKit 0x92e82484 _DPSNextEvent + 0x358
22 com.apple.AppKit 0x92e98d2c -[NSApplication
nextEventMatchingMask:untilDate:inMode:dequeue:] + 0x74
23 com.apple.AppKit 0x92ead0ac -[NSApplication run] + 0x21c
24 qemu 0x000b0a94 0x1000 + 0xafa94
25 qemu 0x000b0cc8 0x1000 + 0xafcc8
26 qemu 0x000029dc 0x1000 + 0x19dc
27 dyld 0x8fe1a278 _dyld_start + 0x64
PPC Thread State:
srr0: 0x00061a8c srr1: 0x0200f030 vrsave: 0x00000000
cr: 0x44002248 xer: 0x00000004 lr: 0x000617c4 ctr: 0x0005fe4c
r0: 0x00000000 r1: 0xbfffbeb0 r2: 0x00000000 r3: 0x008ca1c0
r4: 0x00000000 r5: 0x0005f050 r6: 0x000cf050 r7: 0x008ca1c0
r8: 0x00000022 r9: 0x00000000 r10: 0x00000021 r11: 0x00000034
r12: 0x0005fe4c r13: 0x00000000 r14: 0x00000000 r15: 0x000deb98
r16: 0x00000000 r17: 0x00000000 r18: 0x00000000 r19: 0x00000000
r20: 0x00000000 r21: 0x00023100 r22: 0x008caa00 r23: 0x00000001
r24: 0x00199e00 r25: 0x00000000 r26: 0x0305252c r27: 0x00199dfc
r28: 0xffffffff r29: 0x00000000 r30: 0x008ca1c0 r31: 0x00061608
Binary Images Description:
0x1000 - 0xc6fff qemu ./qemu
0xe42000 - 0xe8ffff libSDL-1.2.0.dylib
/usr/local/lib/libSDL-1.2.0.dylib
0x80830000 - 0x8090efff libxml2.2.dylib /usr/lib/libxml2.2.dylib
0x81f50000 - 0x81f53fff libmx.A.dylib /usr/lib/libmx.A.dylib
0x86ded000 - 0x86dfdfff com.apple.Accelerate.vecLib 3.0.3 (vecLib
3.0.3)
/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
0x87e00000 - 0x87f36fff com.apple.vImage 1.2.0
/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
0x88be0000 - 0x88becfff com.apple.agl 2.5 (AGL-2.5)
/System/Library/Frameworks/AGL.framework/Versions/A/AGL
0x8fd50000 - 0x8fd50fff com.apple.Accelerate 1.0.3 (Accelerate 1.0.3)
/System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x8fe00000 - 0x8fe4ffff dyld /usr/lib/dyld
0x90000000 - 0x9014ffff libSystem.B.dylib /usr/lib/libSystem.B.dylib
0x901c0000 - 0x9026dfff com.apple.CoreFoundation 6.3.8 (299.36)
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x902b0000 - 0x90529fff com.apple.CoreServices.CarbonCore 10.3.7
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
0x90584000 - 0x905f3fff com.apple.framework.IOKit 1.3.6 (???)
/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x90610000 - 0x9069afff com.apple.CoreServices.OSServices 3.0.1
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
0x90700000 - 0x90700fff com.apple.CoreServices 10.3 (???)
/System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x90702000 - 0x90769fff com.apple.audio.CoreAudio 2.1.3
/System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x907c7000 - 0x907cffff libbsm.dylib /usr/lib/libbsm.dylib
0x907f0000 - 0x907f9fff com.apple.DiskArbitration 2.0.5
/System/Library/PrivateFrameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x90810000 - 0x90810fff com.apple.ApplicationServices 1.0 (???)
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
0x90830000 - 0x9089ffff libobjc.A.dylib /usr/lib/libobjc.A.dylib
0x908c5000 - 0x90915fff com.apple.HIServices 1.4.1 (0.0.1d1)
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
0x90940000 - 0x909b3fff com.apple.DesktopServices 1.2.5
/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
0x909f0000 - 0x90a0afff libGL.dylib
/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x90a20000 - 0x90b7bfff com.apple.Foundation 6.3.7 (500.59)
/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x90c32000 - 0x90c46fff libCGATS.A.dylib
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib
0x90c60000 - 0x90cc2fff libGLU.dylib
/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
0x90d00000 - 0x90d1bfff com.apple.SystemConfiguration 1.7.1 (???)
/System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
0x90d40000 - 0x90d40fff com.apple.Carbon 10.3 (???)
/System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x90d60000 - 0x90d6bfff com.apple.opengl 1.3.8
/System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x90ec0000 - 0x90ec0fff com.apple.Cocoa 6.3 (???)
/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
0x910b0000 - 0x91101fff com.apple.bom 1.2.5 (63.2)
/System/Library/PrivateFrameworks/Bom.framework/Versions/A/Bom
0x912e0000 - 0x912f7fff com.apple.LangAnalysis 1.5.4
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
0x91303000 - 0x9136cfff com.apple.htmlrendering 1.1.2
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering.framework/Versions/A/HTMLRendering
0x913a0000 - 0x9145ffff ColorSync
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync
0x915e0000 - 0x91699fff com.apple.QD 3.4.69 (???)
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
0x916e0000 - 0x91773fff com.apple.print.framework.PrintCore 3.3
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
0x917e0000 - 0x917f0fff com.apple.speech.recognition.framework 3.3
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition
0x917fc000 - 0x91809fff com.apple.CommonPanels 1.2.1 (1.0)
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels
0x91967000 - 0x91972fff libCSync.A.dylib
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
0x91990000 - 0x9199bfff com.apple.securityhi 1.2 (90)
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI
0x91b10000 - 0x91b2afff libPDFRIP.A.dylib
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libPDFRIP.A.dylib
0x91b50000 - 0x91b5ffff libPSRIP.A.dylib
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libPSRIP.A.dylib
0x91b80000 - 0x91b93fff libRIP.A.dylib
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
0x92070000 - 0x92096fff com.apple.FindByContent 1.4 (1.2)
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/FindByContent.framework/Versions/A/FindByContent
0x920c0000 - 0x922a7fff com.apple.security 2.4 (177)
/System/Library/Frameworks/Security.framework/Versions/A/Security
0x92430000 - 0x92468fff com.apple.LaunchServices 10.3.5 (98.4)
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
0x92727000 - 0x9275ffff com.apple.AE 1.4
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
0x92781000 - 0x9278dfff com.apple.help 1.0.1
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help
0x927b2000 - 0x927ccfff com.apple.openscripting 1.2.1 (???)
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting
0x927f0000 - 0x92827fff com.apple.CFNetwork 1.2.1 (7)
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
0x92880000 - 0x92c05fff com.apple.HIToolbox 1.3.7 (???)
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
0x92e70000 - 0x9336ffff com.apple.AppKit 6.3.9 (743.41)
/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x939a0000 - 0x939b4fff libcups.2.dylib /usr/lib/libcups.2.dylib
0x939d0000 - 0x939d4fff libmathCommon.A.dylib
/usr/lib/system/libmathCommon.A.dylib
0x945b0000 - 0x945b9fff libz.1.dylib /usr/lib/libz.1.dylib
0x94610000 - 0x9462afff libresolv.9.dylib /usr/lib/libresolv.9.dylib
0x94650000 - 0x946affff com.apple.SearchKit 1.0.2
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
0x946ed000 - 0x94705fff com.apple.WebServices 1.1.1 (1.1.0)
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/WebServicesCore.framework/Versions/A/WebServicesCore
0x94723000 - 0x9498dfff com.apple.QuickTime 7.0.3
/System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime
0x94efd000 - 0x94f4bfff com.apple.print.framework.Print 3.3
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print
0x954c0000 - 0x95ac6fff libBLAS.dylib
/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
0x95b20000 - 0x95df0fff libLAPACK.dylib
/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
0x95e0a000 - 0x95e1afff com.apple.ImageCapture 2.1.5
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture
0x95e40000 - 0x95eadfff libvDSP.dylib
/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
0x95ec2000 - 0x95edffff com.apple.audio.SoundManager 3.9
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.framework/Versions/A/CarbonSound
0x95f00000 - 0x95f20fff libvMisc.dylib
/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
0x9646d000 - 0x96745fff com.apple.CoreGraphics 1.203.30 (???)
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
0x967bd000 - 0x96875fff com.apple.audio.toolbox.AudioToolbox 1.3.4
/System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x968d0000 - 0x969b2fff libicucore.A.dylib /usr/lib/libicucore.A.dylib
0x96aa0000 - 0x96acefff libssl.0.9.7.dylib /usr/lib/libssl.0.9.7.dylib
0x96b50000 - 0x96bdffff ATS
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
0x96c00000 - 0x96c8cfff com.apple.ink.framework 101.1.4 (55.12)
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink
0x96cb0000 - 0x96d9efff libiconv.2.dylib /usr/lib/libiconv.2.dylib
0x96e12000 - 0x96e25fff com.apple.speech.synthesis.framework 3.2
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x96e80000 - 0x96e90fff com.apple.vecLib 3.0.3 (vecLib 3.0.3)
/System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
0x971dd000 - 0x971ddfff com.apple.audio.units.AudioUnit 1.3.3
/System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x971ff000 - 0x972c5fff libcrypto.0.9.7.dylib
/usr/lib/libcrypto.0.9.7.dylib
0x97312000 - 0x97385fff com.apple.NavigationServices 3.3.3
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationServices.framework/Versions/A/NavigationServices