On 22/11/2012 19:38, Ian Lynagh wrote:
On Wed, Nov 21, 2012 at 02:28:24PM -0500, Ben Gamari wrote:
Any thoughts about what might be going on with any of the above?
FWIW, I think that some of your problems probably stem from using an old
cabal-install compiled against an old Cabal, which assumes that -static
is the default and so doesn't say "-static -prof" when trying to build
static profiling libraries.
But you're right that we should fix the prof_dyn way, we should also
give Cabal a flag to build it.
I think it's important that (a) -prof still works (without needing an
extra -static) and (b) --enable-library-profiling builds libraries that
you can use -prof with. Ian, what's your plan here? To use prof_dyn?
Also, I see that the new Cabal is building both dynamic and static ways
by default, I wonder whether we should make it just build the dynamic
way (to save compile-time for people who don't need the static way,
which should be most people).
Cheers,
Simon
_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc