#3060: impossible internal bug while building darcs
-------------------------+--------------------------------------------------
Reporter: quick | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.10.1
Severity: major | Resolution:
Keywords: | Difficulty: Unknown
Testcase: | Os: Linux
Architecture: x86 |
-------------------------+--------------------------------------------------
Comment (by simonpj):
I downloaded http://darcs.net/darcs-2.2.0.tar.gz, and ran your command
line. Complained about lack of HTTP library. So I installed
HTTP-4000.0.4.
Tried again, with `--make -O2`:
{{{
bash-3.2$ ghc -hide-all-packages -package haskell98 -package base-3.0.3.0
-threaded -package regex-compat -package network -package HTTP -package
filepath -package bytestring -package random -package directory -package
old-time -package process -package array -package old-locale -package mtl
-package parsec -package html -package containers -package unix -O2
-funbox-strict-fields -D_REENTRANT -DHAVE_CURL -DCURL_MULTI_TIMEOUT
-DHAVE_CURSES -DPACKAGE_NAME=\"darcs\" -DPACKAGE_TARNAME=\"darcs\"
-DPACKAGE_VERSION=\"2.2.0\" -DPACKAGE_STRING=\"darcs\ 2.2.0\"
-DPACKAGE_BUGREPORT=\"b...@darcs.net\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_HTTP=1 -DHAVE_SIGNALS=1
-DHAVE_LIBCURL=1 -Wall -I. -I./src -i./src -dcore-lint --make src/Exec.hs
-O2
[1 of 3] Compiling Darcs.Global ( src/Darcs/Global.hs,
src/Darcs/Global.o )
[2 of 3] Compiling Progress ( src/Progress.hs, src/Progress.o )
[3 of 3] Compiling Exec ( src/Exec.hs, src/Exec.o )
bash-3.2$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 6.10.1
}}}
Worked fine. So I still can't reproduce your problem.
Can you start from scratch and show a log of every single step?
BTW, don't forget the `{{{` ... `}}}` brackets, else your code gets
"typeset" by the wiki.
Simon
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3060#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs