Re: [GHC] #7249: ghc no longer needs to build HS*.o ghci library files

2012-10-23 Thread GHC
#7249: ghc no longer needs to build HS*.o ghci library files
---+
  Reporter:  juhpetersen   |  Owner:  igloo   
  Type:  bug   | Status:  closed  
  Priority:  normal|  Milestone:  
 Component:  Build System  |Version:  7.6.1   
Resolution:  fixed |   Keywords:  
Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
   Failure:  None/Unknown  | Difficulty:  Unknown 
  Testcase:|  Blockedby:  
  Blocking:|Related:  
---+

Comment(by juhpetersen):

 > For projects with many dependent packages
 > I guess it will slow down ghci startup for debugging, etc a bit.

 Ah, since Cabal doesn't enable split-objs by default,
 normally this only affects ghc's libs.

 Then I think I will turn on ghci libs again also for Fedora 18 ghc.

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler

___
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #7249: ghc no longer needs to build HS*.o ghci library files

2012-10-23 Thread GHC
#7249: ghc no longer needs to build HS*.o ghci library files
---+
  Reporter:  juhpetersen   |  Owner:  igloo   
  Type:  bug   | Status:  closed  
  Priority:  normal|  Milestone:  
 Component:  Build System  |Version:  7.6.1   
Resolution:  fixed |   Keywords:  
Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
   Failure:  None/Unknown  | Difficulty:  Unknown 
  Testcase:|  Blockedby:  
  Blocking:|Related:  
---+

Comment(by juhpetersen):

 I see thanks.  I hadn't realised that split-objs would affect load time of
 .a files.

 Testing in the same way on 64bit Fedora 17 ghc-7.0.4 and Fedora 18
 ghc-7.4.1 (at Beta time)
 I see that ghci startup loading libHSbase.a (built with split-objs) is
 taking about twice as long as HSbase.o.  Though it does cut down the size
 of library packages quite a bit.

 In fact Fedora 18 is going to ship without any HS*.o files packaged:
 we will see how that goes - reverting the change to ghc
 is pretty easy of course... For projects with many dependent packages
 I guess it will slow down ghci startup for debugging, etc a bit.
 So I will probably turn on ghci libs again in Fedora 19 at least.

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler

___
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #7249: ghc no longer needs to build HS*.o ghci library files

2012-10-13 Thread GHC
#7249: ghc no longer needs to build HS*.o ghci library files
---+
  Reporter:  juhpetersen   |  Owner:  igloo   
  Type:  bug   | Status:  closed  
  Priority:  normal|  Milestone:  
 Component:  Build System  |Version:  7.6.1   
Resolution:  fixed |   Keywords:  
Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
   Failure:  None/Unknown  | Difficulty:  Unknown 
  Testcase:|  Blockedby:  
  Blocking:|Related:  
---+
Changes (by igloo):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 Replying to [comment:4 simonmar]:
 > Ian - it looks like we can skip building the HSlib.o files when
 `DYNAMIC_BY_DEFAULT==YES`, could you do that?

 Done.

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler

___
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #7249: ghc no longer needs to build HS*.o ghci library files

2012-10-11 Thread GHC
#7249: ghc no longer needs to build HS*.o ghci library files
-+--
Reporter:  juhpetersen   |   Owner:  igloo   
Type:  bug   |  Status:  new 
Priority:  normal|   Milestone:  
   Component:  Build System  | Version:  7.6.1   
Keywords:|  Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  | Failure:  None/Unknown
  Difficulty:  Unknown   |Testcase:  
   Blockedby:|Blocking:  
 Related:|  
-+--
Changes (by simonmar):

  * owner:  => igloo


Comment:

 On platforms where we're switching to a dynamically-linked GHCi this won't
 be an issue.  I suggest that we continue to ship HSbase.o on other
 platforms for the time being, since I'd rather not have that extra startup
 delay for runhaskell scripts and suchlike.

 Ian - it looks like we can skip building the HSlib.o files when
 `DYNAMIC_BY_DEFAULT==YES`, could you do that?

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler

___
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #7249: ghc no longer needs to build HS*.o ghci library files

2012-10-09 Thread GHC
#7249: ghc no longer needs to build HS*.o ghci library files
-+--
Reporter:  juhpetersen   |   Owner:  
Type:  bug   |  Status:  new 
Priority:  normal|   Milestone:  
   Component:  Build System  | Version:  7.6.1   
Keywords:|  Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  | Failure:  None/Unknown
  Difficulty:  Unknown   |Testcase:  
   Blockedby:|Blocking:  
 Related:|  
-+--

Comment(by igloo):

 (that is with `SplitObjs = YES`)

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler

___
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #7249: ghc no longer needs to build HS*.o ghci library files

2012-10-09 Thread GHC
#7249: ghc no longer needs to build HS*.o ghci library files
-+--
Reporter:  juhpetersen   |   Owner:  
Type:  bug   |  Status:  new 
Priority:  normal|   Milestone:  
   Component:  Build System  | Version:  7.6.1   
Keywords:|  Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  | Failure:  None/Unknown
  Difficulty:  Unknown   |Testcase:  
   Blockedby:|Blocking:  
 Related:|  
-+--

Comment(by igloo):

 On OSX/64, with `HSbase-4.6.0.0.o`:
 {{{
 $ time echo ":q" | inplace/bin/ghc-stage2 --interactive
 GHCi, version 7.7.20121009: http://www.haskell.org/ghc/  :? for help
 Loading package ghc-prim ... linking ... done.
 Loading package integer-gmp ... linking ... done.
 Loading package base ... linking ... done.
 Prelude> Leaving GHCi.

 real0m0.151s
 user0m0.123s
 sys 0m0.027s
 }}}
 and without:
 {{{
 bash-3.2$ time echo ":q" | inplace/bin/ghc-stage2 --interactive
 GHCi, version 7.7.20121009: http://www.haskell.org/ghc/  :? for help
 Loading package ghc-prim ... linking ... done.
 Loading package integer-gmp ... linking ... done.
 Loading package base ... linking ... done.
 Prelude> Leaving GHCi.

 real0m0.267s
 user0m0.202s
 sys 0m0.059s
 }}}

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler

___
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #7249: ghc no longer needs to build HS*.o ghci library files

2012-09-18 Thread GHC
#7249: ghc no longer needs to build HS*.o ghci library files
-+--
Reporter:  juhpetersen   |   Owner:  
Type:  bug   |  Status:  new 
Priority:  normal|   Milestone:  
   Component:  Build System  | Version:  7.6.1   
Keywords:|  Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  | Failure:  None/Unknown
  Difficulty:  Unknown   |Testcase:  
   Blockedby:|Blocking:  
 Related:|  
-+--
Changes (by simonmar):

  * difficulty:  => Unknown


Comment:

 I think we're concerned that it will be slow to load the .a file when it
 was built with `-split-objs`, so someone should measure that.

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler

___
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs