<div>š</div><div>š</div><div>10.12.2013, 02:39, "Carter Schonwald" <carter.schonwald@gmail.com>:</div><blockquote type="cite"><div>ummm, cmm in 7.6 and HEAD are different languages<div>š</div><div>please follow the directions hereš<a href="https://ghc.haskell.org/trac/ghc/wiki/Building">https://ghc.haskell.org/trac/ghc/wiki/Building</a></div></div></blockquote><blockquote type="cite"><div><div><a href="https://ghc.haskell.org/trac/ghc/wiki/Building"></a></div></div></blockquote><div>š</div><div>Is it OK that ./configure && make runs system (/usr/local/bin/ghc) ghc?</div><blockquote type="cite"><div><br /><br /><div>On Mon, Dec 9, 2013 at 5:19 PM, Alexander Pakhomov <span><<a href="mailto:ker0sin@yandex.ru" target="_blank">ker0sin@yandex.ru</a>></span> wrote:<br /><blockquote style="margin:0 0 0 0.8ex;border-left:1px #ccc solid;padding-left:1ex;"><div>I have both. Think it's gcc. It is quite weird if that cpp (preprocessor) differs. AFAIK cmm files are compiled directly by ghc. The problem seem to be in cmm file, since ghc-7.6.3 fails with the same message.</div><div>š</div></blockquote></div></div></blockquote><div>OK. That was a try to figure out problem.</div><blockquote type="cite"><div><div><blockquote style="margin:0 0 0 0.8ex;border-left:1px #ccc solid;padding-left:1ex;"><div>š</div><div>10.12.2013, 02:15, "Carter Schonwald" <<a href="mailto:carter.schonwald@gmail.com" target="_blank">carter.schonwald@gmail.com</a>>:</div><div><div><blockquote type="cite"><div>are you using clang or gcc? š <span><span>2013 08 28</span></span> is from a while a go, please clone GHC HEAD from today. If you still have problems, please file a ticket on ghc track, and/or email ghc-devsš</div></blockquote><div>š</div><div>š</div><blockquote type="cite"><div><div><div>On Mon, Dec 9, 2013 at 5:07 PM, Alexander Pakhomov <span><<a href="mailto:ker0sin@yandex.ru" target="_blank">ker0sin@yandex.ru</a>></span> wrote:<br /><blockquote style="margin:0 0 0 0.8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi. Trying to compile ghc-7.7.<span><span>20130828</span></span> on OpenBSD I got an error:<br /> rts/HeapStackCheck.cmm:97:18: parse error on input `['<br /> The code is following:<br /> š96 š š š š if (HpAlloc <= BLOCK_SIZE<br /> š97 š š š š š š && bdescr_link(CurrentNursery) != NULL) {<br /> which preprocesses to:<br /> š š š š if (HpAlloc <= (1<<12)<br /> š š š š š š && b0[CurrentNursery+15] != (0::bits64)) {<br /> This is the first occurrence of b0 in preprocessed file. I believe that it is due to undefined b0.<br /> Command that fails is:<br /> "inplace/bin/ghc-stage1" -static š-H32m -O -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 š š š š š -O2 š š-c rts/HeapStackCheck.cmm -o rts/dist/build/HeapStackCheck.o<br /> To preprocess do the following:<br /> cpp -O -Iincludes -Iincludes/dist -Iincludes/dist-derivedconstants/header -Iincludes/dist-ghcconstants/header -Irts -Irts/dist/build -DCOMPILING_RTS -Irts/dist/build -Irts/dist/build/autogen š š š š rts/HeapStackCheck.cmm | less<br /> <br /> Can you please find source of b0 in preprocessed file?<br /> _______________________________________________<br /> Haskell-Cafe mailing list<br /> <a href="mailto:Haskell-Cafe@haskell.org" target="_blank">Haskell-Cafe@haskell.org</a><br /> <a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a></blockquote></div></div></div></blockquote></div></div></blockquote></div></div></blockquote>