[Hackage] #600: Cabal should use -dynamic linking for
executable when package configured --enable-shared
Hackage
trac at galois.com
Mon Jan 25 21:28:29 EST 2010
#600: Cabal should use -dynamic linking for executable when package configured
--enable-shared
----------------------------+-----------------------------------------------
Reporter: juhp | Owner:
Type: defect | Status: new
Priority: normal | Milestone: Cabal-1.8
Component: Cabal library | Version: HEAD
Severity: normal | Keywords:
Difficulty: unknown | Ghcversion:
Platform: Linux |
----------------------------+-----------------------------------------------
Comment(by juhp):
Krzysztof, which OS are you testing on?
I admit I have not tested my patch further since ghc-6.12.1 was released.
"--ghc-option=-dynamic" works ok on Linux ix86* for bin packages.
And --enable-shared works ok on lib packages.
There is a conflict for binlib packages when configuring with
"--ghc-option=-dynamic --enable-shared -p": the build fails complaining
about missing dyn_prof files in ghc's libraries IIRC. This
sounds pretty much what you are seeing. I think that cabal needs
to support -dynamic itself to workaround this.
(Note also this bug was reported against Cabal not cabal-install.)
--
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/600#comment:3>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects
More information about the cabal-devel
mailing list