Re: [GHC] #1076: runhaskell crash with .hi/.o files in the directory
#1076: runhaskell crash with .hi/.o files in the directory --+- Reporter: guest | Owner: Type: bug | Status: closed Priority: normal| Milestone: 6.6.1 Component: Compiler |Version: 6.6 Severity: normal| Resolution: duplicate Keywords:| Difficulty: Unknown Testcase:| Architecture: Unknown Os: Windows | --+- Changes (by simonmar): * resolution: = duplicate * status: new = closed Comment: No answer from submitter; I tried the example code and couldn't reproduce any bugs. The unknown or unimplemented opcode crash is almost certainly the same as #1013, and the other problems are most likely due to inconsistent .o/.hi files. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/1076 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
Re: [GHC] #1186: GHC as a library panic on loading second module
#1186: GHC as a library panic on loading second module --+- Reporter: ArthurVanLeeuwen | Owner: Type: bug | Status: new Priority: normal| Milestone: 6.6.2 Component: GHC API |Version: 6.6 Severity: normal| Resolution: Keywords:| Difficulty: Unknown Testcase:| Architecture: powerpc Os: Unknown | --+- Changes (by simonmar): * milestone: = 6.6.2 -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/1186 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
[GHC] #1201: ghci runs Template Haskell splices 4 times
#1201: ghci runs Template Haskell splices 4 times -+-- Reporter: igloo | Owner: Type: bug | Status: new Priority: normal| Milestone: 6.6.2 Component: Template Haskell | Version: 6.6 Severity: normal|Keywords: Difficulty: Unknown |Testcase: ghci016 Architecture: Unknown | Os: Unknown -+-- ghci (both 6.6 and HEAD) appears to run Template Haskell splices 4 times, as shown here: {{{ $ ghci -fth -v0 Prelude :m + Language.Haskell.TH Prelude Language.Haskell.TH $(do runIO $ (Random.randomIO :: IO Int) = print; [| 1 |] ) 7184082642420483628 -8222359774145102883 2625059211496099566 1462332877512834399 1 }}} -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/1201 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
Re: [GHC] #1201: ghci runs Template Haskell splices 4 times
#1201: ghci runs Template Haskell splices 4 times --+- Reporter: igloo | Owner: Type: bug | Status: new Priority: normal| Milestone: 6.6.2 Component: Template Haskell |Version: 6.6 Severity: normal| Resolution: Keywords:| Difficulty: Unknown Testcase: ghci018 | Architecture: Unknown Os: Unknown | --+- Changes (by igloo): * testcase: ghci016 = ghci018 -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/1201 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
Re: [GHC] #1199: Type variables in DataD do not match up:
#1199: Type variables in DataD do not match up: --+- Reporter: wolfgang | Owner: igloo Type: merge | Status: closed Priority: normal| Milestone: Component: Template Haskell |Version: 6.7 Severity: normal| Resolution: fixed Keywords:| Difficulty: Unknown Testcase: TH_reifyDecl2 | Architecture: Multiple Os: Multiple | --+- Changes (by igloo): * resolution: = fixed * testcase: = TH_reifyDecl2 * status: new = closed Comment: Not merged: the 6.6 branch works already. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/1199 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
Re: [GHC] #1077: documentation error and omission
#1077: documentation error and omission ---+ Reporter: guest | Owner: igloo Type: merge | Status: closed Priority: normal | Milestone: 6.6.1 Component: Documentation |Version: 6.6 Severity: trivial| Resolution: fixed Keywords: | Difficulty: Easy (1 hr) Testcase: | Architecture: Unknown Os: Multiple | ---+ Changes (by igloo): * resolution: = fixed * status: new = closed Comment: The 6.6 branch is now also without building guide. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/1077 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
Re: [GHC] #1110: Setting PATH needed in Windows Vista
#1110: Setting PATH needed in Windows Vista -+-- Reporter: [EMAIL PROTECTED] | Owner: simonmar Type: bug | Status: new Priority: high | Milestone: 6.6.1 Component: Driver |Version: 6.6 Severity: normal | Resolution: Keywords: | Difficulty: Unknown Testcase: | Architecture: x86_64 (amd64) Os: Windows | -+-- Changes (by igloo): * owner: = simonmar -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/1110 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
Re: [GHC] #986: SMP race condition in getContents
#986: SMP race condition in getContents +--- Reporter: int-e | Owner: igloo Type: merge | Status: new Priority: normal | Milestone: 6.6.1 Component: Runtime System |Version: 6.6 Severity: normal | Resolution: Keywords: | Difficulty: Moderate (1 day) Testcase: | Architecture: Multiple Os: Multiple| +--- Changes (by simonmar): * owner: simonmar = igloo * type: bug = merge Comment: I've committed some fixes to the HEAD for this, let's let them settle a while before merging. The patches are: {{{ Tue Mar 6 14:31:12 GMT 2007 Simon Marlow [EMAIL PROTECTED] * add noDuplicate# Tue Mar 6 14:27:32 GMT 2007 Simon Marlow [EMAIL PROTECTED] * THREADED_RTS: use cas() when claiming thunks }}} and for libraries/base: {{{ Tue Mar 6 14:54:24 GMT 2007 Simon Marlow [EMAIL PROTECTED] * Prevent duplication of unsafePerformIO on a multiprocessor }}} and for the testsuite: {{{ Tue Mar 6 15:54:50 GMT 2007 Simon Marlow [EMAIL PROTECTED] * add test for #986 }}} -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/986 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
Re: [GHC] #1196: Cabal on Windows doesn't like the in-place GHCs
I added support for generating .bat files (to HEAD, I believe) for these in-place wrappers some time ago just to address this issue, so you may want to look into dragging those Makefile mods over. --sigbjorn On 3/5/2007 08:58, GHC wrote: #1196: Cabal on Windows doesn't like the in-place GHCs -+-- Reporter: igloo | Owner: Type: bug | Status: new Priority: normal| Milestone: _|_ Component: Compiler | Version: 6.6 Severity: normal|Keywords: Difficulty: Unknown |Testcase: cabal01 Architecture: Unknown | Os: Windows -+-- From e.g. a cmd prompt, Windows doesn't like the in-place GHCs: {{{ C:\C:\cygwin\home\ian\ghc\6.6-branch\build\compiler\stage2\ghc-inplace 'C:\cygwin\home\ian\ghc\6.6-branch\build\compiler\stage2\ghc-inplace' is not recognized as an internal or external command, operable program or batch file. C:\cat C:\cygwin\home\ian\ghc\6.6-branch\build\compiler\stage2\ghc- inplace #!/bin/sh exec C:/cygwin/home/ian/ghc/6.6-branch/build/compiler/stage2/ghc -BC:cygwinhomeianghc6.6-branchbuild $@ }}} which means the cabal01 test fails thus: {{{ $ ./setup configure --prefix=`pwd`/install --with- compiler=C:/cygwin/home/ian/ghc/6.6-branch/build/compiler/stage1/ghc- inplace --with-hc-pkg=../../../../../utils/ghc-pkg/ghc-pkg-inplace --enable-library-profiling setup.exe: Warning: Package is copyright All Rights Reserved setup.exe: Warning: No license-file field. 'C:\cygwin\home\ian\ghc\6.6-branch\build\compiler\stage1\ghc-inplace' is not recognized as an internal or external command, operable program or batch file. Configuring test-1.0... }}} (the odd output order is due to buffering) ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #1196: Cabal on Windows doesn't like the in-place GHCs
Ah, so you did, thanks for reminding me. We still need to do something about ghc-pkg, though. Cheers, Simon Sigbjorn Finne wrote: I added support for generating .bat files (to HEAD, I believe) for these in-place wrappers some time ago just to address this issue, so you may want to look into dragging those Makefile mods over. --sigbjorn On 3/5/2007 08:58, GHC wrote: #1196: Cabal on Windows doesn't like the in-place GHCs -+-- Reporter: igloo | Owner: Type: bug | Status: newPriority: normal| Milestone: _|_ Component: Compiler | Version: 6.6 Severity: normal|Keywords: Difficulty: Unknown |Testcase: cabal01 Architecture: Unknown | Os: Windows -+-- From e.g. a cmd prompt, Windows doesn't like the in-place GHCs: {{{ C:\C:\cygwin\home\ian\ghc\6.6-branch\build\compiler\stage2\ghc-inplace 'C:\cygwin\home\ian\ghc\6.6-branch\build\compiler\stage2\ghc-inplace' is not recognized as an internal or external command, operable program or batch file. C:\cat C:\cygwin\home\ian\ghc\6.6-branch\build\compiler\stage2\ghc- inplace #!/bin/sh exec C:/cygwin/home/ian/ghc/6.6-branch/build/compiler/stage2/ghc -BC:cygwinhomeianghc6.6-branchbuild $@ }}} which means the cabal01 test fails thus: {{{ $ ./setup configure --prefix=`pwd`/install --with- compiler=C:/cygwin/home/ian/ghc/6.6-branch/build/compiler/stage1/ghc- inplace --with-hc-pkg=../../../../../utils/ghc-pkg/ghc-pkg-inplace --enable-library-profiling setup.exe: Warning: Package is copyright All Rights Reserved setup.exe: Warning: No license-file field. 'C:\cygwin\home\ian\ghc\6.6-branch\build\compiler\stage1\ghc-inplace' is not recognized as an internal or external command, operable program or batch file. Configuring test-1.0... }}} (the odd output order is due to buffering) ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #1196: Cabal on Windows doesn't like the in-place GHCs
If you're referring to ghc-pkg-inplace invocations from Cabal, the same hack was applied in utils/ghc-pkg also. --sigbjorn On 3/6/2007 08:46, Simon Marlow wrote: Ah, so you did, thanks for reminding me. We still need to do something about ghc-pkg, though. Cheers, Simon Sigbjorn Finne wrote: I added support for generating .bat files (to HEAD, I believe) for these in-place wrappers some time ago just to address this issue, so you may want to look into dragging those Makefile mods over. --sigbjorn On 3/5/2007 08:58, GHC wrote: #1196: Cabal on Windows doesn't like the in-place GHCs -+-- Reporter: igloo | Owner: Type: bug | Status: newPriority: normal| Milestone: _|_ Component: Compiler | Version: 6.6Severity: normal|Keywords: Difficulty: Unknown |Testcase: cabal01 Architecture: Unknown | Os: Windows -+-- From e.g. a cmd prompt, Windows doesn't like the in-place GHCs: {{{ C:\C:\cygwin\home\ian\ghc\6.6-branch\build\compiler\stage2\ghc-inplace 'C:\cygwin\home\ian\ghc\6.6-branch\build\compiler\stage2\ghc-inplace' is not recognized as an internal or external command, operable program or batch file. C:\cat C:\cygwin\home\ian\ghc\6.6-branch\build\compiler\stage2\ghc- inplace #!/bin/sh exec C:/cygwin/home/ian/ghc/6.6-branch/build/compiler/stage2/ghc -BC:cygwinhomeianghc6.6-branchbuild $@ }}} which means the cabal01 test fails thus: {{{ $ ./setup configure --prefix=`pwd`/install --with- compiler=C:/cygwin/home/ian/ghc/6.6-branch/build/compiler/stage1/ghc- inplace --with-hc-pkg=../../../../../utils/ghc-pkg/ghc-pkg-inplace --enable-library-profiling setup.exe: Warning: Package is copyright All Rights Reserved setup.exe: Warning: No license-file field. 'C:\cygwin\home\ian\ghc\6.6-branch\build\compiler\stage1\ghc-inplace' is not recognized as an internal or external command, operable program or batch file. Configuring test-1.0... }}} (the odd output order is due to buffering) ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #1195: Build error on MacOSX (Intel) 10.4.8 for HEAD from 2007-03-05 when compiling with ghc-6.6
#1195: Build error on MacOSX (Intel) 10.4.8 for HEAD from 2007-03-05 when compiling with ghc-6.6 +--- Reporter: [EMAIL PROTECTED] | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: libraries/base |Version: 6.7 Severity: normal | Resolution: Keywords: | Difficulty: Unknown Testcase: | Architecture: x86 Os: MacOS X | +--- Comment (by thorkilnaur): On PPC Mac OS X 10.4, http://darcs.haskell.org:8010/tnaur%20PPC%20OSX%20head/builds/12/step- compilestage1/0 has a different error: {{{ == make all -r -f Makefile; in /Users/thorkilnaur/tn/buildbot/ghc/tnaur-ppc-osx/tnaur-ppc-osx- head/build/libraries/base ../../compiler/ghc-inplace -H16m -O -fglasgow-exts -cpp -Iinclude -#include HsBase.h -funbox-strict-fields -package-name base-2.0 -O -fasm -fgenerics -fgenerics-c GHC/Err.lhs-boot -o GHC/Err.o-boot -ohi GHC/Err.hi-boot GHC error in desugarer lookup in base:GHC.Err: Failed to load interface for `GHC.Base': Use -v to see a list of the files searched for. ghc-6.7.20070221: panic! (the 'impossible' happened) (GHC version 6.7.20070221 for powerpc-apple-darwin): initDs user error (IOEnv failure) Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug make[2]: *** [GHC/Err.o-boot] Error 1 }}} But the reaction following the error is similar: {{{ == make all -r -f Makefile; in /Users/thorkilnaur/tn/buildbot/ghc/tnaur-ppc-osx/tnaur-ppc-osx- head/build/libraries/haskell98 ../../compiler/ghc-inplace -H16m -O -package-name haskell98-1.0 -O -fasm -fgenerics -package base -fgenerics-c Ix.hs -o Ix.o -ohi Ix.hi Ix.hs:1:0: Failed to load interface for `Prelude': Use -v to see a list of the files searched for. make[2]: *** [Ix.o] Error 1 ... == Finished making `all' in base haskell98 template-haskell readline regex-base regex-posix regex-compat parsec Cabal unix stm ... PWD = /Users/thorkilnaur/tn/buildbot/ghc/tnaur-ppc-osx/tnaur-ppc-osx- head/build/libraries program finished with exit code 0 }}} -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/1195 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
[GHC] #1202: Using -prof -auto-all can generate name clashes
#1202: Using -prof -auto-all can generate name clashes -+-- Reporter: guest | Owner: Type: bug | Status: new Priority: normal| Milestone: Component: Compiler | Version: 6.7 Severity: normal|Keywords: Difficulty: Unknown |Testcase: Architecture: Unknown | Os: Unknown -+-- Here is a simple example: - module A where afoo :: Bool - Bool afoo x = x - module Aa where foo :: Int - Int foo x = x - import A import Aa main = print 42 - Compile with 'ghc -prof -auto-all --make Main.hs' and observe: - A.o:fake:(.data+0x30): multiple definition of `Aafoo_cc' Aa.o:fake:(.data+0x30): first defined here - -- Lennart -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/1202 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
[GHC] #1206: Bad interface file: System/IO.hi in ghci when ./System/IO.hs exists
#1206: Bad interface file: System/IO.hi in ghci when ./System/IO.hs exists -+-- Reporter: jyasskin | Owner: Type: bug | Status: new Priority: normal| Milestone: Component: GHCi | Version: 6.6 Severity: minor |Keywords: Difficulty: Unknown |Testcase: Architecture: powerpc | Os: MacOS X -+-- I ran into this when trying to ghci a module in the base library (from http://darcs.haskell.org/packages/base), but it seems that ghci just gets confused if System/IO.hs exists under the current directory. For my purposes, it's easy enough to work around by copying the module I actually want to work on out to another directory. {{{ jyasskin-mac:~/Temp/bug jyasskin$ mkdir System jyasskin-mac:~/Temp/bug jyasskin$ touch System/IO.hs jyasskin-mac:~/Temp/bug jyasskin$ cp ~/src/ghc/HEAD/ghc/libraries/base/Data/Monoid.hs . jyasskin-mac:~/Temp/bug jyasskin$ mkdir Data jyasskin-mac:~/Temp/bug jyasskin$ mv Monoid.hs Data/ jyasskin-mac:~/Temp/bug jyasskin$ ghci Data/Monoid.hs ___ ___ _ / _ \ /\ /\/ __(_) / /_\// /_/ / / | | GHC Interactive, version 6.6, for Haskell 98. / /_\\/ __ / /___| | http://www.haskell.org/ghc/ \/\/ /_/\/|_| Type :? for help. Loading package base ... linking ... done. interactive:1:22: Bad interface file: System/IO.hi System/IO.hi: openBinaryFile: does not exist (No such file or directory) ghc-6.6: panic! (the 'impossible' happened) (GHC version 6.6 for powerpc-apple-darwin): interactiveUI:setBuffering Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug jyasskin-mac:~/Temp/bug jyasskin$ find . . ./Data ./Data/Monoid.hs ./System ./System/IO.hs jyasskin-mac:~/Temp/bug jyasskin$ }}} -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/1206 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