Oh no, I understood that perfectly. Technically speaking its an issue with the cabal package file, although I have no idea if this is something cabal package maintainers should be responsible for or if this is a side effect of PKGBUILD supporting profiling<div>
<br><div class="gmail_quote">On Fri, May 13, 2011 at 4:14 PM, Magnus Therning <span dir="ltr"><<a href="mailto:magnus@therning.org">magnus@therning.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Fri, May 13, 2011 at 04:08:49PM +1000, Mathew de Detrich wrote:<br>
> Well I didn't explicitly turn on profiling as an environment variable, but<br>
> in any case filepath ships with GHC so that wouldn't fix anything (unless<br>
> you wanted to use cabal2arch on filepath and have to rebuild the cache for<br>
> GHC)<br>
<br>
</div>I may have been unclear (forgive me if I'm mistaken in believing I<br>
haven't quite gotten my point across).  Here's the situation as I see<br>
it:<br>
<br>
• GHC ships with static libs, shared libs, and static libs for<br>
  profiling (it's missing shared libs for profiling)<br>
• cabal2arch generates a PKGBUILD that compiles static libs, shared<br>
  libs and static libs for profiling<br>
• Leksah turns on profiling when compiling shared libs<br>
<br>
What you need to do is modify Leksah's cabal such that it *doesn't*<br>
turn on profiling when compiling the shared libs.<br>
<font color="#888888"><br>
/M<br>
</font><div class="im"><br>
> On Fri, May 13, 2011 at 4:07 PM, Magnus Therning <<a href="mailto:magnus@therning.org">magnus@therning.org</a>>wrote:<br>
><br>
> > On Fri, May 13, 2011 at 03:49:55PM +1000, Mathew de Detrich wrote:<br>
> > > Also I am not compiling leksah with profiling, I am just using cabal2arch<br>
> > on<br>
> > > the standard leksah package on<br>
> > > <a href="http://hackage.haskell.org/packages/archive/leksah/0.10.0.4/leksah.cabal" target="_blank">http://hackage.haskell.org/packages/archive/leksah/0.10.0.4/leksah.cabal</a><br>
> ><br>
> > cabal2arch will create a PKGBUILD that supports profiling (you turn it<br>
> > on using an environment variable) and it always turns on building of<br>
> > shared libraries.<br>
> ><br>
> > /M<br>
> ><br>
> > --<br>
> > Magnus Therning                      OpenPGP: 0xAB4DFBA4<br>
> > email: <a href="mailto:magnus@therning.org">magnus@therning.org</a>   jabber: <a href="mailto:magnus@therning.org">magnus@therning.org</a><br>
> > twitter: magthe               <a href="http://therning.org/magnus" target="_blank">http://therning.org/magnus</a><br>
> ><br>
> > I invented the term Object-Oriented, and I can tell you I did not have<br>
> > C++ in mind.<br>
> >     -- Alan Kay<br>
> ><br>
<br>
</div>--<br>
<div><div></div><div class="h5">Magnus Therning                      OpenPGP: 0xAB4DFBA4<br>
email: <a href="mailto:magnus@therning.org">magnus@therning.org</a>   jabber: <a href="mailto:magnus@therning.org">magnus@therning.org</a><br>
twitter: magthe               <a href="http://therning.org/magnus" target="_blank">http://therning.org/magnus</a><br>
<br>
I invented the term Object-Oriented, and I can tell you I did not have<br>
C++ in mind.<br>
     -- Alan Kay<br>
</div></div></blockquote></div><br></div>