Re: build system woes in master

Simon Marlow <[email protected]>
Newsgroups gmane.comp.lang.haskell.cvs.ghc
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.