OK so I installed a new mingw installation, and indeed got a lot further with 
configuring etc.  Excellent.  But now I'm stuck again with "no such 
instruction" errors when compiling AduustorAsm.s.

This is on Windows using msys.  Can anyone help?  Or tell me what to try?

Very frustrating!  I can't fix type system bugs because I can't build the 
compiler!

Thanks

Simon


"inplace/bin/mkdirhier" rts/dist/build/eventlog//.
"inplace/bin/mkdirhier" rts/dist/build/win32//.
"inplace/bin/ghc-stage1.exe" -optc-Werror -optc-Wall -optc-Wall -optc-Wextra 
-optc-Wstrict-prototypes -optc-Wmissing-prototypes -optc-Wmissing-declarations 
-optc-Winline -optc-Waggregate-return -optc-Wpointer-arith 
-optc-Wmissing-noreturn -optc-Wnested-externs -optc-Wredundant-decls 
-optc-Iincludes -optc-Iincludes/dist 
-optc-Iincludes/dist-derivedconstants/header 
-optc-Iincludes/dist-ghcconstants/header -optc-Irts -optc-Irts/dist/build 
-optc-DCOMPILING_RTS -optc-fno-strict-aliasing -optc-fno-common 
-optc-fomit-frame-pointer -optc-DRtsWay=\"rts_v\" -static  -H32m -O -Werror 
-Wall -H64m -O0 -Iincludes -Iincludes/dist 
-Iincludes/dist-derivedconstants/header -Iincludes/dist-ghcconstants/header 
-Irts -Irts/dist/build -DCOMPILING_RTS -package-name rts  -dcmm-lint      -i 
-irts -irts/dist/build -irts/dist/build/autogen -Irts/dist/build 
-Irts/dist/build/autogen            -optc-O2 -O2    -c rts/AdjustorAsm.S -o 
rts/dist/build/AdjustorAsm.o
"inplace/bin/ghc-stage1.exe" -static  -H32m -O -Werror -Wall -H64m -O0 
-Iincludes -Iincludes/dist -Iincludes/dist-derivedconstants/header 
-Iincludes/dist-ghcconstants/header -Irts -Irts/dist/build -DCOMPILING_RTS 
-package-name rts  -dcmm-lint      -i -irts -irts/dist/build 
-irts/dist/build/autogen -Irts/dist/build -Irts/dist/build/autogen            
-optc-O2 -O2    -c rts/Apply.cmm -o rts/dist/build/Apply.o
rts\AdjustorAsm.S: Assembler messages:

rts\AdjustorAsm.S:82:0:  Error: no such instruction: `mflr r0'

rts\AdjustorAsm.S:83:0:
     Error: no such instruction: `store r0,LINK_SLOT(r1)'

rts\AdjustorAsm.S:86:0:
     Error: no such instruction: `load r12,FRAMESIZE_OFF(r2)'

rts\AdjustorAsm.S:88:0:
     Error: no such instruction: `stdux r1,r1,r12'

rts\AdjustorAsm.S:90:0:
     Error: no such instruction: `stwux r1,r1,r12'

rts\AdjustorAsm.S:96:0:
     Error: no such instruction: `store r31,-WS(r1)'

rts\AdjustorAsm.S:97:0:
     Error: no such instruction: `store r30,-2*WS(r1)'

rts\AdjustorAsm.S:99:0:  Error: no such instruction: `mr r31,r1'

rts\AdjustorAsm.S:100:0:
     Error: no such instruction: `subf r30,r12,r31'

rts\AdjustorAsm.S:102:0:
     Error: no such instruction: `load r12,EXTRA_WORDS_OFF(r2)'

rts\AdjustorAsm.S:103:0:  Error: no such instruction: `mtctr r12'

rts\AdjustorAsm.S:104:0:  Error: no such instruction: `b 2f'

rts\AdjustorAsm.S:106:0:
     Error: no such instruction: `load r0,LINKAGE_AREA_SIZE+8*WS(r30)'

rts\AdjustorAsm.S:107:0:
     Error: no such instruction: `store r0,LINKAGE_AREA_SIZE+10*WS(r31)'

rts\AdjustorAsm.S:108:0:
     Error: no such instruction: `addi r30,r30,WS'

rts\AdjustorAsm.S:109:0:
     Error: no such instruction: `addi r31,r31,WS'

rts\AdjustorAsm.S:111:0:  Error: no such instruction: `bdnz 1b'

rts\AdjustorAsm.S:115:0:
     Error: no such instruction: `load r31,-WS(r1)'

rts\AdjustorAsm.S:116:0:
     Error: no such instruction: `load r30,-2*WS(r1)'

rts\AdjustorAsm.S:118:0:
     Error: no such instruction: `store r10,LINKAGE_AREA_SIZE+9*WS(r1)'

rts\AdjustorAsm.S:119:0:
     Error: no such instruction: `store r9,LINKAGE_AREA_SIZE+8*WS(r1)'

rts\AdjustorAsm.S:120:0:  Error: no such instruction: `mr r10,r8'

rts\AdjustorAsm.S:121:0:  Error: no such instruction: `mr r9,r7'

rts\AdjustorAsm.S:122:0:  Error: no such instruction: `mr r8,r6'

rts\AdjustorAsm.S:123:0:  Error: no such instruction: `mr r7,r5'

rts\AdjustorAsm.S:124:0:  Error: no such instruction: `mr r6,r4'

rts\AdjustorAsm.S:125:0:  Error: no such instruction: `mr r5,r3'

rts\AdjustorAsm.S:127:0:
     Error: no such instruction: `load r3,HPTR_OFF(r2)'

rts\AdjustorAsm.S:129:0:
     Error: no such instruction: `load r12,WPTR_OFF(r2)'

rts\AdjustorAsm.S:131:0:  Error: no such instruction: `mtctr r12'

rts\AdjustorAsm.S:133:0:
     Error: no such instruction: `load r0,0(r12)'

rts\AdjustorAsm.S:137:0:  Error: no such instruction: `mtctr r0'

rts\AdjustorAsm.S:138:0:
     Error: no such instruction: `load r2,WS(r12)'

rts\AdjustorAsm.S:140:0:  Error: no such instruction: `bctrl'

rts\AdjustorAsm.S:142:0:
     Error: no such instruction: `load r1,0(r1)'

rts\AdjustorAsm.S:143:0:
     Error: no such instruction: `load r0,LINK_SLOT(r1)'

rts\AdjustorAsm.S:144:0:  Error: no such instruction: `mtlr r0'

rts\AdjustorAsm.S:145:0:  Error: no such instruction: `blr'

rts\AdjustorAsm.S:197:0:
     Error: junk at end of line, first unrecognized character is `-'
make[1]: *** [rts/dist/build/AdjustorAsm.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [all] Error 2
bash-3.1$
_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to