GHC Head Bugs
Neil Mitchell
ndmitchell at gmail.com
Tue Jul 10 06:44:11 EDT 2007
Hi
I just tried to upgrade to the latest Head which has a Windows
installer, http://www.haskell.org/ghc/dist/current/dist/ghc-6.7.20070709-i386-unknown-mingw32.exe
First, it appears that GHC.Prim no longer exists, I can't :m it. I was
using it as the import location for RealWorld and State# - I've now
moved to using GHC.Base.
Second, when compiling the attached program (which is probably
familiar to you by now ;-) ), I get the thing at the bottom of this
message. -fasm works fine, but -fvia-C seems to have been broken.
Thanks
Neil
-----------------
C:\Neil\supero\test\charcount>ghc --make -O2 -fvia-C -o viac.exe 4.hs
[1 of 1] Compiling Main ( 4.hs, 4.o )
In file included from C:/ghc/ghc-6.7.20070709/include/Stg.h:150,
from C:\DOCUME~1\nj\LOCALS~1\Temp\ghc3836_0\ghc3836_0.hc:3:
C:/ghc/ghc-6.7.20070709/include/Regs.h:28:45: gmp.h: No such file or directory
In file included from C:/ghc/ghc-6.7.20070709/include/Stg.h:150,
from C:\DOCUME~1\nj\LOCALS~1\Temp\ghc3836_0\ghc3836_0.hc:3:
C:/ghc/ghc-6.7.20070709/include/Regs.h:119: error: syntax error before "MP_INT"
C:/ghc/ghc-6.7.20070709/include/Regs.h:119: warning: no semicolon at end of stru
ct or union
C:/ghc/ghc-6.7.20070709/include/Regs.h:120: warning: type defaults to `int' in d
eclaration of `rmp_tmp2'
C:/ghc/ghc-6.7.20070709/include/Regs.h:120: warning: data definition has no type
or storage class
C:/ghc/ghc-6.7.20070709/include/Regs.h:121: error: syntax error before "rmp_resu
lt1"
C:/ghc/ghc-6.7.20070709/include/Regs.h:121: warning: type defaults to `int' in d
eclaration of `rmp_result1'
C:/ghc/ghc-6.7.20070709/include/Regs.h:121: warning: data definition has no type
or storage class
C:/ghc/ghc-6.7.20070709/include/Regs.h:122: error: syntax error before "rmp_resu
lt2"
C:/ghc/ghc-6.7.20070709/include/Regs.h:122: warning: type defaults to `int' in d
eclaration of `rmp_result2'
C:/ghc/ghc-6.7.20070709/include/Regs.h:122: warning: data definition has no type
or storage class
C:/ghc/ghc-6.7.20070709/include/Regs.h:125: error: syntax error before '}' token
C:/ghc/ghc-6.7.20070709/include/Regs.h:125: warning: type defaults to `int' in d
eclaration of `StgRegTable'
C:/ghc/ghc-6.7.20070709/include/Regs.h:125: warning: data definition has no type
or storage class
C:/ghc/ghc-6.7.20070709/include/Regs.h:334: error: syntax error before "StgRegTa
ble"
C:/ghc/ghc-6.7.20070709/include/Regs.h:334: warning: no semicolon at end of stru
ct or union
C:/ghc/ghc-6.7.20070709/include/Regs.h:353: error: syntax error before '*' token
C:/ghc/ghc-6.7.20070709/include/Regs.h:353: warning: type defaults to `int' in d
eclaration of `BaseReg'
C:/ghc/ghc-6.7.20070709/include/Regs.h:353: error: register name given for non-r
egister variable 'BaseReg'
C:/ghc/ghc-6.7.20070709/include/Regs.h:353: warning: data definition has no type
or storage class
In file included from C:/ghc/ghc-6.7.20070709/include/Stg.h:162,
from C:\DOCUME~1\nj\LOCALS~1\Temp\ghc3836_0\ghc3836_0.hc:3:
C:/ghc/ghc-6.7.20070709/include/RtsExternal.h:45: error: syntax error before '*'
token
C:/ghc/ghc-6.7.20070709/include/RtsExternal.h:62: error: syntax error before '*'
token
C:/ghc/ghc-6.7.20070709/include/RtsExternal.h:63: error: syntax error before '*'
token
C:/ghc/ghc-6.7.20070709/include/RtsExternal.h:63: warning: type defaults to `int
' in declaration of `resumeThread'
C:/ghc/ghc-6.7.20070709/include/RtsExternal.h:63: warning: data definition has n
o type or storage class
C:/ghc/ghc-6.7.20070709/include/RtsExternal.h:66: error: syntax error before '*'
token
C:/ghc/ghc-6.7.20070709/include/RtsExternal.h:124: error: syntax error before '*
' token
C:\DOCUME~1\nj\LOCALS~1\Temp\ghc3836_0\ghc3836_0.hc: In function `rF0_entry':
C:\DOCUME~1\nj\LOCALS~1\Temp\ghc3836_0\ghc3836_0.hc:27: error: request for membe
r `rSpLim' in something not a structure or union
C:\DOCUME~1\nj\LOCALS~1\Temp\ghc3836_0\ghc3836_0.hc: In function `r1uj_entry':
C:\DOCUME~1\nj\LOCALS~1\Temp\ghc3836_0\ghc3836_0.hc:110: error: request for memb
er `rSpLim' in something not a structure or union
C:\DOCUME~1\nj\LOCALS~1\Temp\ghc3836_0\ghc3836_0.hc: In function `r1ul_entry':
C:\DOCUME~1\nj\LOCALS~1\Temp\ghc3836_0\ghc3836_0.hc:202: error: request for memb
er `rSpLim' in something not a structure or union
C:\DOCUME~1\nj\LOCALS~1\Temp\ghc3836_0\ghc3836_0.hc: In function `r1up_entry':
C:\DOCUME~1\nj\LOCALS~1\Temp\ghc3836_0\ghc3836_0.hc:249: error: request for memb
er `rHpLim' in something not a structure or union
C:\DOCUME~1\nj\LOCALS~1\Temp\ghc3836_0\ghc3836_0.hc:260: error: request for memb
er `rHpAlloc' in something not a structure or union
C:\DOCUME~1\nj\LOCALS~1\Temp\ghc3836_0\ghc3836_0.hc: In function `r1ur_entry':
C:\DOCUME~1\nj\LOCALS~1\Temp\ghc3836_0\ghc3836_0.hc:305: error: request for memb
er `rSpLim' in something not a structure or union
C:\DOCUME~1\nj\LOCALS~1\Temp\ghc3836_0\ghc3836_0.hc:307: error: request for memb
er `rHpLim' in something not a structure or union
C:\DOCUME~1\nj\LOCALS~1\Temp\ghc3836_0\ghc3836_0.hc:318: error: request for memb
er `rHpAlloc' in something not a structure or union
C:\DOCUME~1\nj\LOCALS~1\Temp\ghc3836_0\ghc3836_0.hc: In function `s1A4_ret':
C:\DOCUME~1\nj\LOCALS~1\Temp\ghc3836_0\ghc3836_0.hc:356: error: request for memb
er `rHpLim' in something not a structure or union
C:\DOCUME~1\nj\LOCALS~1\Temp\ghc3836_0\ghc3836_0.hc:365: error: request for memb
er `rHpAlloc' in something not a structure or union
C:\DOCUME~1\nj\LOCALS~1\Temp\ghc3836_0\ghc3836_0.hc:366: error: request for memb
er `rR9' in something not a structure or union
C:\DOCUME~1\nj\LOCALS~1\Temp\ghc3836_0\ghc3836_0.hc: In function `r1uv_entry':
C:\DOCUME~1\nj\LOCALS~1\Temp\ghc3836_0\ghc3836_0.hc:386: error: request for memb
er `rSpLim' in something not a structure or union
C:\DOCUME~1\nj\LOCALS~1\Temp\ghc3836_0\ghc3836_0.hc: In function `r1uB_entry':
C:\DOCUME~1\nj\LOCALS~1\Temp\ghc3836_0\ghc3836_0.hc:417: error: request for memb
er `rSpLim' in something not a structure or union
C:\DOCUME~1\nj\LOCALS~1\Temp\ghc3836_0\ghc3836_0.hc:419: error: request for memb
er `rHpLim' in something not a structure or union
C:\DOCUME~1\nj\LOCALS~1\Temp\ghc3836_0\ghc3836_0.hc:431: error: request for memb
er `rHpAlloc' in something not a structure or union
C:\DOCUME~1\nj\LOCALS~1\Temp\ghc3836_0\ghc3836_0.hc: In function `r1uD_entry':
C:\DOCUME~1\nj\LOCALS~1\Temp\ghc3836_0\ghc3836_0.hc:448: error: request for memb
er `rSpLim' in something not a structure or union
C:\DOCUME~1\nj\LOCALS~1\Temp\ghc3836_0\ghc3836_0.hc:450: error: request for memb
er `rHpLim' in something not a structure or union
C:\DOCUME~1\nj\LOCALS~1\Temp\ghc3836_0\ghc3836_0.hc:462: error: request for memb
er `rHpAlloc' in something not a structure or union
C:\DOCUME~1\nj\LOCALS~1\Temp\ghc3836_0\ghc3836_0.hc: In function `s1xw_entry':
C:\DOCUME~1\nj\LOCALS~1\Temp\ghc3836_0\ghc3836_0.hc:566: error: request for memb
er `rSpLim' in something not a structure or union
C:\DOCUME~1\nj\LOCALS~1\Temp\ghc3836_0\ghc3836_0.hc: In function `s1xu_entry':
C:\DOCUME~1\nj\LOCALS~1\Temp\ghc3836_0\ghc3836_0.hc:592: error: request for memb
er `rHpLim' in something not a structure or union
C:\DOCUME~1\nj\LOCALS~1\Temp\ghc3836_0\ghc3836_0.hc:600: error: request for memb
er `rHpAlloc' in something not a structure or union
C:\DOCUME~1\nj\LOCALS~1\Temp\ghc3836_0\ghc3836_0.hc: In function `s1x0_ret':
C:\DOCUME~1\nj\LOCALS~1\Temp\ghc3836_0\ghc3836_0.hc:671: error: request for memb
er `rHpLim' in something not a structure or union
C:\DOCUME~1\nj\LOCALS~1\Temp\ghc3836_0\ghc3836_0.hc:683: error: request for memb
er `rHpAlloc' in something not a structure or union
C:\DOCUME~1\nj\LOCALS~1\Temp\ghc3836_0\ghc3836_0.hc: In function `s1AX_ret':
C:\DOCUME~1\nj\LOCALS~1\Temp\ghc3836_0\ghc3836_0.hc:710: error: request for memb
er `rR2' in something not a structure or union
C:\DOCUME~1\nj\LOCALS~1\Temp\ghc3836_0\ghc3836_0.hc: In function `Main_a_entry':
C:\DOCUME~1\nj\LOCALS~1\Temp\ghc3836_0\ghc3836_0.hc:831: error: request for memb
er `rSpLim' in something not a structure or union
C:\DOCUME~1\nj\LOCALS~1\Temp\ghc3836_0\ghc3836_0.hc: In function `Main_a1_entry'
:
C:\DOCUME~1\nj\LOCALS~1\Temp\ghc3836_0\ghc3836_0.hc:880: error: request for memb
er `rSpLim' in something not a structure or union
-------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 4.hs
Type: text/x-haskell
Size: 5313 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/cvs-ghc/attachments/20070710/59fbb8fe/4.bin
More information about the Cvs-ghc
mailing list