[GHC] #5435: GHCi linker should run constructors for linked libraries
GHC
ghc-devs at haskell.org
Sun Sep 15 09:09:38 CEST 2013
#5435: GHCi linker should run constructors for linked libraries
-------------------------------------+------------------------------------
Reporter: pumpkin | Owner:
Type: bug | Status: infoneeded
Priority: normal | Milestone: 7.8.1
Component: Compiler | Version: 7.2.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture: Unknown/Multiple
Type of failure: None/Unknown | Difficulty: Unknown
Test Case: | Blocked By: 3658
Blocking: 7746, 8199 | Related Tickets: #3658
-------------------------------------+------------------------------------
Comment (by simonmar):
{{{
$ make T5435_v
rm -f T5435_c_v.o T5435_v
'/playpen/validate/inplace/bin/ghc-stage2' -fforce-recomp -dcore-lint
-dcmm-lint -dno-debug-output -no-user-package-db -rtsopts -v0 -c T5435.c
-o T5435_c_v.o
'/playpen/validate/inplace/bin/ghc-stage2' -fforce-recomp -dcore-lint
-dcmm-lint -dno-debug-output -no-user-package-db -rtsopts -v0 T5435.hs -o
T5435_v
./T5435_v T5435_c_v.o
success
$ make T5435_dyn
rm -f T5435_c_dyn.o T5435_dyn
'/playpen/validate/inplace/bin/ghc-stage2' -fforce-recomp -dcore-lint
-dcmm-lint -dno-debug-output -no-user-package-db -rtsopts -v0 -dynamic
-fPIC -c T5435.c -o T5435_c_dyn.o
'/playpen/validate/inplace/bin/ghc-stage2' -fforce-recomp -dcore-lint
-dcmm-lint -dno-debug-output -no-user-package-db -rtsopts -v0 -dynamic
-fPIC T5435.hs -o T5435_dyn
./T5435_dyn T5435_c_dyn.o
success
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/5435#comment:24>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list