Request to include Trac #2615 patch in 6.12

2010-04-02 Thread Howard B. Golden
Though my patch for Trac #2615 (linker scripts in GHCi) was accepted for HEAD, it hasn't been included in 6.12 as of now. If possible, I request it be included in 6.12.2 or 6.12.3. Thanks. Howard ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www

Can't find patches linked to messages

2010-03-14 Thread Howard B. Golden
Hi, When I click on the link to find the patch below, I get a 404 Not Found. Is this a problem on my end or on the darcs server? If it works OK for others, please suggest how I can troubleshoot on my end. Thanks! Howard On Sunday March 14, 2010, cvs-ghc-requ...@haskell.org wrote: > Message: 2 >

Ideas and questions about dynamic linking

2009-12-23 Thread Howard B. Golden
I've been thinking about the dynamic linking proposal and I have some ideas and questions. I am trying to clarify (in my mind) the requirements / like-to-haves. Q1. Is LGPL code acceptable? If so, you might want to consider gmodule from glib (see http://library.gnome.org/devel/glib/unstable/gli

Re: Fix GHC ticket 2615 (linker scripts in .so files)

2009-12-16 Thread Howard B. Golden
On Friday December 4, 2009, Duncan Coutts wrote: > On Thu, 2009-12-03 at 08:59 -0800, Howard B. Golden wrote: > > On Thursday December 3, 2009, Duncan Coutts wrote: > > > The point is, technically we probably do not want "ghci -lpcre" > > > to translate direc

Re: Fix GHC ticket 2615 (linker scripts in .so files)

2009-12-04 Thread Howard B. Golden
On Friday December 4, 2009, Duncan Coutts wrote: > Right, but if we can resolve -lpcre to libpcre.so.0 then we can > dlopen libpcre.so.0 without having to parse linker scripts. There is some code in dlopen that does this (sort of). I haven't studied it carefully yet. However, it basically uses

Re: Fix GHC ticket 2615 (linker scripts in .so files)

2009-12-03 Thread Howard B. Golden
On Thursday December 3, 2009, Duncan Coutts wrote: > On Wed, 2009-12-02 at 16:38 -0800, Howard B. Golden wrote: > > At present, it is possible to say 'ghci -lpcre' or 'addDLL > > "lpcre"'. For these to work, you have to be able to call the system &g

Re: Fix GHC ticket 2615 (linker scripts in .so files)

2009-12-02 Thread Howard B. Golden
Hi Simon M., On Wednesday December 2, 2009, I wrote: > I'm not sure how to write a test case that can be added to the > validation tests. By _hand_ I have been testing by running: > > $ ghc-stage2 --interactive -lpcre > > On my system (Gentoo), /usr/lib64/libpcre.so is a linker script. > Howeve

Re: Fix GHC ticket 2615 (linker scripts in .so files)

2009-12-02 Thread Howard B. Golden
Hi Duncan, On Wednesday December 2, 2009, Duncan Coutts wrote: > On Mon, 2009-11-30 at 22:49 -0800, Howard B. Golden wrote: > > Mon Nov 30 22:12:34 PST 2009 howard_b_gol...@yahoo.com > > * Fix GHC ticket 2615 (linker scripts in .so files) > > This patch only applies to

Re: Fix GHC ticket 2615 (linker scripts in .so files)

2009-12-02 Thread Howard B. Golden
On Wednesday December 2, 2009, I wrote: > On Wednesday December 2, 2009, Simon Marlow wrote: > > Can we rely on the availability of regex.h and POSIX regexes? Does > > this need a configure test? > > I don't know the answer to this. Isn't POSIX part of the baseline > assumption? If not, I would

Re: Fix GHC ticket 2615 (linker scripts in .so files)

2009-12-02 Thread Howard B. Golden
Hi Simon M., On Wednesday December 2, 2009, Simon Marlow wrote: > On 01/12/2009 06:49, Howard B. Golden wrote: > > Mon Nov 30 22:12:34 PST 2009 howard_b_gol...@yahoo.com > >* Fix GHC ticket 2615 (linker scripts in .so files) > >This patch only applies to systems that

Fix GHC ticket 2615 (linker scripts in .so files)

2009-11-30 Thread Howard B. Golden
Mon Nov 30 22:12:34 PST 2009 howard_b_gol...@yahoo.com * Fix GHC ticket 2615 (linker scripts in .so files) This patch only applies to systems that use ELF format files. The patch modifies the addDLL function so that it recognizes "invalid ELF header" errors. If these occur, the file that w