[GHC] #1437: Build failures on Mac OS X 10.5
GHC
trac at galois.com
Sat Jun 23 12:30:14 EDT 2007
#1437: Build failures on Mac OS X 10.5
------------------------------+---------------------------------------------
Reporter: maeder at tzi.de | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 6.8
Component: Compiler | Version: 6.6.1
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Os: MacOS X | Testcase:
Architecture: x86 |
------------------------------+---------------------------------------------
Changes (by dgoldsmith at mac.com):
* cc: => dgoldsmith at mac.com
Comment:
I can reproduce the crash using gdb. Here is some debugging output:
(gdb) run -B/Volumes/Totoro/source/ghc-6.6.1 -H16m -O -fglasgow-exts -cpp
-Iinclude -"#include" HsBase.h -funbox-strict-fields -package-name
base-2.1.1 -O -Rghc-timing -fgenerics -fgenerics -split-objs -c
GHC/Float.lhs -o GHC/Float.o -ohi GHC/Float.hiStarting program:
/Volumes/Totoro/source/ghc-6.6.1/compiler/stage1/ghc-6.6.1
-B/Volumes/Totoro/source/ghc-6.6.1 -H16m -O -fglasgow-exts -cpp -Iinclude
-"#include" HsBase.h -funbox-strict-fields -package-name base-2.1.1 -O
-Rghc-timing -fgenerics -fgenerics -split-objs -c GHC/Float.lhs -o
GHC/Float.o -ohi GHC/Float.hi
Reading symbols for shared libraries +.+. done
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: 13 at address: 0x00000000
0x00750f7f in sbqE_info ()
(gdb) disassem
Dump of assembler code for function sbqE_info:
0x00750f70 <sbqE_info+0>: movsd 0x4(%esi),%xmm0
0x00750f75 <sbqE_info+5>: movsd %xmm0,(%esp)
0x00750f7a <sbqE_info+10>: movsd (%esp),%xmm0
0x00750f7f <sbqE_info+15>: xorpd 0x83cf98,%xmm0
0x00750f87 <sbqE_info+23>: movsd %xmm0,0x8(%esp)
0x00750f8d <sbqE_info+29>: movsd 0x8(%esp),%xmm0
0x00750f93 <sbqE_info+35>: movsd %xmm0,0x38(%ebx)
0x00750f98 <sbqE_info+40>: add $0x4,%ebp
0x00750f9b <sbqE_info+43>: jmp *0x0(%ebp)
0x00750f9e <sbqE_info+46>: nop
0x00750f9f <sbqE_info+47>: nop
0x00750fa0 <sbqE_info+48>: add %al,(%eax)
0x00750fa2 <sbqE_info+50>: add %al,(%eax)
0x00750fa4 <sbqE_info+52>: add %al,(%eax)
0x00750fa6 <sbqE_info+54>: add %al,(%eax)
0x00750fa8 <sbqE_info+56>: enter $0x17f1,$0x0
0x00750fac <sbqE_info+60>: inc %edx
0x00750fad <sbqE_info+61>: add %al,(%eax)
0x00750faf <sbqE_info+63>: add %ah,(%ebx)
0x00750fb1 <sbqE_info+65>: add %al,(%ecx)
0x00750fb3 <sbqE_info+67>: add %cl,0x45c70075(%ecx)
End of assembler dump.
(gdb) info registers
eax 0x750f70 7671664
ecx 0x2 2
edx 0xffffc002 -16382
ebx 0x8da008 9281544
esp 0xbfffd4f0 0xbfffd4f0
ebp 0x24b9924 0x24b9924
esi 0x1167a68 18250344
edi 0x1167a70 18250352
eip 0x750f7f 0x750f7f <sbqE_info+15>
eflags 0x10216 66070
cs 0x17 23
ss 0x1f 31
ds 0x1f 31
es 0x1f 31
fs 0x0 0
gs 0x37 55
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1437>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
-------------- next part --------------
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs at haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
More information about the Glasgow-haskell-bugs
mailing list