Hi all, I just grabbed 5.03 from cvs and built it. Everything worked fine, except when I go to compile using ghc-inplace, it tells me:
invalid argument Action: hPutBuf Handle: {closed} Reason: illegal buffer size 0 It appears able to generate the .hi file, but not the .o. I ran with -v and attached the transcript. If anyone has any ideas, please let me know :) (oh, when building i used the build.mk.sample as is and this is on sparc solaris 2.7). Thanks! - Hal -- Hal Daume III "Computer science is no more about computers | [EMAIL PROTECTED] than astronomy is about telescopes." -Dijkstra | www.isi.edu/~hdaume
Glasgow Haskell Compiler, Version 5.03, for Haskell 98, compiled by GHC version 5.02.1 Using package config file: /nfs/isd/hdaume/download/fptools/ghc/driver/package.conf.inplace ==================== Packages ==================== Package {name = "base", import_dirs = ["/nfs/isd/hdaume/download/fptools/libraries/base"], source_dirs = [], library_dirs = ["/nfs/isd/hdaume/download/fptools/libraries/base", "/nfs/isd/hdaume/download/fptools/libraries/base/cbits"], hs_libraries = ["HSbase"], extra_libraries = ["HSbase_cbits"], include_dirs = ["/nfs/isd/hdaume/download/fptools/libraries/base/include"], c_includes = ["HsBase.h"], package_deps = ["rts"], extra_ghc_opts = [], extra_cc_opts = [], extra_ld_opts = []} Package {name = "haskell98", import_dirs = ["/nfs/isd/hdaume/download/fptools/libraries/haskell98"], source_dirs = [], library_dirs = ["/nfs/isd/hdaume/download/fptools/libraries/haskell98"], hs_libraries = ["HShaskell98"], extra_libraries = [], include_dirs = [], c_includes = [], package_deps = ["base"], extra_ghc_opts = [], extra_cc_opts = [], extra_ld_opts = []} Package {name = "network", import_dirs = ["/nfs/isd/hdaume/download/fptools/libraries/network"], source_dirs = [], library_dirs = ["/nfs/isd/hdaume/download/fptools/libraries/network"], hs_libraries = ["HSnetwork"], extra_libraries = ["nsl", "socket"], include_dirs = ["/nfs/isd/hdaume/download/fptools/libraries/network/include"], c_includes = ["HsNet.h"], package_deps = ["base"], extra_ghc_opts = [], extra_cc_opts = [], extra_ld_opts = []} Package {name = "rts", import_dirs = [], source_dirs = [], library_dirs = ["/nfs/isd/hdaume/download/fptools/ghc/rts", "/nfs/isd/hdaume/download/fptools/ghc/rts/gmp"], hs_libraries = ["HSrts"], extra_libraries = ["gmp", "m", "bfd", "iberty"], include_dirs = ["/nfs/isd/hdaume/download/fptools/ghc/includes"], c_includes = ["Stg.h"], package_deps = [], extra_ghc_opts = [], extra_cc_opts = [], extra_ld_opts = ["-u", "GHCziBase_Izh_static_info", "-u", "GHCziBase_Czh_static_info", "-u", "GHCziFloat_Fzh_static_info", "-u", "GHCziFloat_Dzh_static_info", "-u", "GHCziPtr_Ptr_static_info", "-u", "GHCziWord_Wzh_static_info", "-u", "GHCziInt_I8zh_static_info", "-u", "GHCziInt_I16zh_static_info", "-u", "GHCziInt_I32zh_static_info", "-u", "GHCziInt_I64zh_static_info", "-u", "GHCziWord_W8zh_static_info", "-u", "GHCziWord_W16zh_static_info", "-u", "GHCziWord_W32zh_static_info", "-u", "GHCziWord_W64zh_static_info", "-u", "GHCziStable_StablePtr_static_info", "-u", "GHCziBase_Izh_con_info", "-u", "GHCziBase_Czh_con_info", "-u", "GHCziFloat_Fzh_con_info", "-u", "GHCziFloat_Dzh_con_info", "-u", "GHCziPtr_Ptr_con_info", "-u", "GHCziStable_StablePtr_con_info", Hsc static flags: -static -fignore-interface-pragmas -fomit-interface-pragmas -fdo-lambda-eta-expansion -flet-no-escape *** Checking old interface for hs = Just "../../test-update.hs", hspp = Just "../../test-update.hs": *** Parser: *** Renamer: *** Typechecker: *** Desugar: *** Simplify: *** Tidy Core: *** CorePrep: *** Stg2Stg: *** CodeGen: *** CodeOutput: *** Deleting temp files Deleting: /tmp/ghc5793.s /tmp/ghc5793.hspp /tmp/ghc5793.hscpp Warning: deleting non-existent /tmp/ghc5793.hspp Warning: deleting non-existent /tmp/ghc5793.hscpp "-u", "GHCziBase_False_closure", "-u", "GHCziBase_True_closure", "-u", "GHCziPack_unpackCString_closure", "-u", "GHCziIOBase_stackOverflow_closure", "-u", "GHCziIOBase_heapOverflow_closure", "-u", "GHCziIOBase_NonTermination_closure", "-u", "GHCziIOBase_BlockedOnDeadMVar_closure", "-u", "GHCziIOBase_Deadlock_closure", "-u", "GHCziWeak_runFinalizzerBatch_closure", "-u", "__stginit_Prelude"]} Result size = 217 Result size = 268 Result size = 189 Result size = 189 Result size = 347 invalid argument Action: hPutBuf Handle: {closed} Reason: illegal buffer size 0