Re: [commit: testsuite] master: Use -shared for the prof ways (1bad058)
Simon Marlow <[email protected]>
| Newsgroups | gmane.comp.lang.haskell.cvs.ghc |
|---|---|
| Message-ID | <[email protected]> |
On 10/10/2012 02:17, Ian Lynagh wrote: > Repository : ssh://darcs.haskell.org//srv/darcs/testsuite > > On branch : master > > http://hackage.haskell.org/trac/ghc/changeset/1bad058c7819199e6e4287d960f5720b3e1ed420 > >> --------------------------------------------------------------- > > commit 1bad058c7819199e6e4287d960f5720b3e1ed420 > Author: Ian Lynagh <[email protected]> > Date: Tue Oct 9 20:22:17 2012 +0100 > > Use -shared for the prof ways > > I'm not sure whether it makes more sense to make this change, or to > change the build system to build -prof -dynamic libraries. But at least > this change suffices to make the two match, so the tests don't all fail > due to missing libraries. We definitely need -prof to work without an extra -static or -dynamic, whatever we do. We're only going to ship one flavour of profiling libraries, so we have to choose static or dyanmic. The logical thing to do would be to use whatever flavour matches the default for non-profiled compilation, which would mean shipping dynamic profiled libraries. However the conservative choice would be to ship the static libraries, because we know they work. If we shipped the dynamic libs only, they you wouldn't have the static libs as a backup if something goes wrong. Cheers, Simon