Re: [GHC] #5435: GHCi linker should run constructors for linked libraries

2012-11-07 Thread GHC
#5435: GHCi linker should run constructors for linked libraries
-+--
Reporter:  pumpkin   |   Owner:  
Type:  bug   |  Status:  new 
Priority:  normal|   Milestone:  7.8.1   
   Component:  Compiler  | Version:  7.2.1   
Keywords:|  Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  | Failure:  None/Unknown
  Difficulty:  Unknown   |Testcase:  
   Blockedby:  3658  |Blocking:  
 Related:  #3658 |  
-+--
Changes (by igloo):

  * priority:  high => normal
  * milestone:  7.6.2 => 7.8.1


Comment:

 We plan to fix this by switching to dynamic linking

-- 
Ticket URL: 
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] #5435: GHCi linker should run constructors for linked libraries

2012-09-03 Thread GHC
#5435: GHCi linker should run constructors for linked libraries
-+--
Reporter:  pumpkin   |   Owner:  
Type:  bug   |  Status:  new 
Priority:  high  |   Milestone:  7.6.1   
   Component:  Compiler  | Version:  7.2.1   
Keywords:|  Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  | Failure:  None/Unknown
  Difficulty:  Unknown   |Testcase:  
   Blockedby:|Blocking:  
 Related:  #3658 |  
-+--
Changes (by simonmar):

  * related:  => #3658


Comment:

 Would be fixed by #3658.

-- 
Ticket URL: 
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] #5435: GHCi linker should run constructors for linked libraries

2012-03-05 Thread GHC
#5435: GHCi linker should run constructors for linked libraries
-+--
Reporter:  pumpkin   |   Owner:  
Type:  bug   |  Status:  new 
Priority:  high  |   Milestone:  7.6.1   
   Component:  Compiler  | Version:  7.2.1   
Keywords:|  Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  | Failure:  None/Unknown
  Difficulty:  Unknown   |Testcase:  
   Blockedby:|Blocking:  
 Related:|  
-+--
Changes (by simonpj):

  * difficulty:  => Unknown
  * milestone:  7.4.2 => 7.6.1


Comment:

 There is real work here, to fix our DIY linker to run constructors when we
 dynamically load static libraries in GHCi.  Our ultimate goal is to do
 dynamic linking by default, so then we wouldn't have any static libraries,
 and this whole issue would go away.

 So we're punting to 7.6.

 Simon

-- 
Ticket URL: 
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] #5435: GHCi linker should run constructors for linked libraries

2011-09-27 Thread GHC
#5435: GHCi linker should run constructors for linked libraries
-+--
Reporter:  pumpkin   |Owner:  
Type:  bug   |   Status:  new 
Priority:  high  |Milestone:  7.4.1   
   Component:  Compiler  |  Version:  7.2.1   
Keywords:| Testcase:  
   Blockedby:|   Difficulty:  
  Os:  Unknown/Multiple  | Blocking:  
Architecture:  Unknown/Multiple  |  Failure:  None/Unknown
-+--
Changes (by PHO):

 * cc: pho@… (added)


-- 
Ticket URL: 
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] #5435: GHCi linker should run constructors for linked libraries

2011-09-13 Thread GHC
#5435: GHCi linker should run constructors for linked libraries
-+--
Reporter:  pumpkin   |Owner:  
Type:  bug   |   Status:  new 
Priority:  high  |Milestone:  7.4.1   
   Component:  Compiler  |  Version:  7.2.1   
Keywords:| Testcase:  
   Blockedby:|   Difficulty:  
  Os:  Unknown/Multiple  | Blocking:  
Architecture:  Unknown/Multiple  |  Failure:  None/Unknown
-+--
Changes (by hgolden):

 * cc: howard_b_golden@… (added)


-- 
Ticket URL: 
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] #5435: GHCi linker should run constructors for linked libraries

2011-09-13 Thread GHC
#5435: GHCi linker should run constructors for linked libraries
-+--
Reporter:  pumpkin   |Owner:  
Type:  bug   |   Status:  new 
Priority:  high  |Milestone:  7.4.1   
   Component:  Compiler  |  Version:  7.2.1   
Keywords:| Testcase:  
   Blockedby:|   Difficulty:  
  Os:  Unknown/Multiple  | Blocking:  
Architecture:  Unknown/Multiple  |  Failure:  None/Unknown
-+--

Comment(by igloo):

 See also #.

-- 
Ticket URL: 
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] #5435: GHCi linker should run constructors for linked libraries

2011-08-31 Thread GHC
#5435: GHCi linker should run constructors for linked libraries
-+--
Reporter:  pumpkin   |Owner:  
Type:  bug   |   Status:  new 
Priority:  high  |Milestone:  7.4.1   
   Component:  Compiler  |  Version:  7.2.1   
Keywords:| Testcase:  
   Blockedby:|   Difficulty:  
  Os:  Unknown/Multiple  | Blocking:  
Architecture:  Unknown/Multiple  |  Failure:  None/Unknown
-+--
Changes (by simonmar):

  * priority:  normal => high
  * milestone:  => 7.4.1


-- 
Ticket URL: 
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] #5435: GHCi linker should run constructors for linked libraries

2011-08-31 Thread GHC
#5435: GHCi linker should run constructors for linked libraries
-+--
Reporter:  pumpkin   |Owner:  
Type:  bug   |   Status:  new 
Priority:  normal|Milestone:  
   Component:  Compiler  |  Version:  7.2.1   
Keywords:| Testcase:  
   Blockedby:|   Difficulty:  
  Os:  Unknown/Multiple  | Blocking:  
Architecture:  Unknown/Multiple  |  Failure:  None/Unknown
-+--

Comment(by simonmar):

 see also #5386

 Note that if you put the constructor in a shared library (.so or .dll)
 then the constructor will be run when the library is loaded, because GHCi
 invokes the system linker for these.

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler

___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs