[arch-haskell] Dynamic executables and RPATH

Magnus Therning magnus at therning.org
Mon Nov 25 20:27:09 UTC 2013


On Sun, Nov 17, 2013 at 09:09:33PM +0100, Fabien Dubosson wrote:
> > Another proposal here: http://is.gd/EbUJXu-
> 
> That seems a good solution. I have 2 suggestions:
> 
>  - Remove the `chrpath` dependency which is not needed
>  - Use a ${_ghcversion}="ghc-7.6.3" variable to replace in
>     > text "mkdir ${pkgdir}/usr/lib/ghc-7.6.3/shared" <$>
>     > text "(cd ${pkgdir}/usr/lib/ghc-7.6.3/shared;" <$>
>     > text "    for f in $(find .. -name \\*-ghc7.6.3.so); do" <$>
> 
> But that's just cosmetic :-)
> 
> I think it is time now to test all this from A to Z! So I would
> suggest to also create a `dynlinking` branch on the `habs`
> repository that would contain the GHC's changes (add a
> `haskell.conf` file, add a call to `ldconfig` in the PKGBUILD). This
> will let people (or at least us, I don't know if any other person is
> following this thread ;) the opportunity to test the proposal
> completely, from the build of GHC to the use of built executables
> and libraries, with both habs and cblrepo proposed changes.

I'm currently attempting to re-build all of the packages with these
changes in place.  You can try them out by adding the following
(temporary) repo:

[haskell-testing]
Server = http://xsounds.org/~haskell/testing/\$arch

/M

-- 
Magnus Therning                      OpenPGP: 0xAB4DFBA4 
email: magnus at therning.org   jabber: magnus at therning.org
twitter: magthe               http://therning.org/magnus

For a successful technology, reality must take precedence over public
relations, for nature cannot be fooled.
     -- R.P. Feynman
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/arch-haskell/attachments/20131125/cac743c6/attachment.sig>


More information about the arch-haskell mailing list