|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
[GHC] #3635: base-3-compat with 6.12 won't load in GHCi, Template Haskell on Windows#3635: base-3-compat with 6.12 won't load in GHCi, Template Haskell on Windows
-----------------------+---------------------------------------------------- Reporter: guest | Owner: Type: bug | Status: new Priority: normal | Component: libraries/base Version: 6.12.1 RC1 | Severity: normal Keywords: | Testcase: Os: Windows | Architecture: Unknown/Multiple -----------------------+---------------------------------------------------- base3-compat/GHC/Handle.hs needs: {{{ #ifndef mingw32_HOST_OS .. #endif }}} Wrapped around its export for and definition of unlockFile. This is because unlockFile is a RTS symbol that is only compiled on non-Windows OSes. This #ifdef exists in base4, it looks like it was just omitted from base3. The result of this bug is that any package using base 3 doesn’t work with template-haskell or GHCi: {{{ $ ghci -package base-3.0.3.2 WARNING: GHCi invoked via 'ghci.exe' in *nix-like shells (cygwin-bash, in particular) doesn't handle Ctrl-C well; use the 'ghcii.sh' shell wrapper instead GHCi, version 6.12.0.20091010: http://www.haskell.org/ghc/ :? for help Loading package ghc-prim ... linking ... done. Loading package integer-gmp ... linking ... done. Loading package base ... linking ... done. Loading package syb-0.1.0.2 ... linking ... done. Loading package base-3.0.3.2 ... linking ... : unable to load package `base-3.0.3.2' : C:\ghc\GHC-61~2.200\lib\base-3.0.3.2\HSbase-3.0.3.2.o: unknown symbol `_unlockFile' }}} -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3635> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler _______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@... http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs |
|
|
Re: [GHC] #3635: base-3-compat with 6.12 won't load in GHCi, Template Haskell on Windows#3635: base-3-compat with 6.12 won't load in GHCi, Template Haskell on Windows
---------------------------------+------------------------------------------ Reporter: guest | Owner: Type: bug | Status: new Priority: high | Milestone: 6.12.1 Component: libraries/base | Version: 6.12.1 RC1 Severity: normal | Resolution: Keywords: | Difficulty: Unknown Testcase: | Os: Windows Architecture: Unknown/Multiple | ---------------------------------+------------------------------------------ Changes (by simonmar): * priority: normal => high * difficulty: => Unknown * milestone: => 6.12.1 -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3635#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler _______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@... http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs |
|
|
Re: [GHC] #3635: base-3-compat with 6.12 won't load in GHCi, Template Haskell on Windows#3635: base-3-compat with 6.12 won't load in GHCi, Template Haskell on Windows
---------------------------------+------------------------------------------ Reporter: guest | Owner: Type: bug | Status: closed Priority: high | Milestone: 6.12.1 Component: libraries/base | Version: 6.12.1 RC1 Severity: normal | Resolution: fixed Keywords: | Difficulty: Unknown Testcase: | Os: Windows Architecture: Unknown/Multiple | ---------------------------------+------------------------------------------ Changes (by igloo): * status: new => closed * resolution: => fixed Comment: Thanks for the report; fixed by {{{ Sun Nov 8 11:16:44 PST 2009 Ian Lynagh <igloo@...> * Only define GHC.Handle.unlockFile on non-Windows; fixes trac #3635 M ./GHC/Handle.hs +5 }}} -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3635#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler _______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@... http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs |
| Free embeddable forum powered by Nabble | Forum Help |