Greetings!  It also appears that using newer binutils requires a
dynamic link dependency against libz.  I suppose there is no way
around this. (?)

Take care,

Jerry James <loganje...@gmail.com> writes:

> On Thu, Feb 5, 2009 at 1:31 PM, Camm Maguire <c...@maguirefamily.org> wrote:
>
>     Greetings!
>    
>     First, let me thank you again so much for your attention and
>     contribution to GCL!  I've downloaded your patches and are looking
>     them over.
>    
>     Regarding the bfd patch, I cannot find a bfd version (on any debian
>     release version at least) which requires this output_bfd setting.  Can
>     you fill me in on the problem you encountered?
>
> With a sufficiently new BFD library (more on that in a moment), failing to 
> set the output_bfd field triggers
> a crash due to a null pointer dereference when attempting to read symbols.  I 
> took a look at upstream CVS. 
> This page:
>
>   http://sourceware.org/cgi-bin/cvsweb.cgi/src/include/bfdlink.h?cvsroot=src
>
> indicates that the output_bfd field was added in version 1.71 of bfdlink.h, 
> checked in on Feb 15, 2008. 
> Version 2.19 of binutils has subsequently been released.  I am on a Fedora 10 
> machine, where binutils reports
> its version as 2.18.50.0.9.  I presume that is some kind of development 
> snapshot.  In any case, /usr/include/
> bfdlink.h on my machine shows the output_bfd field, and failing to set it 
> results in the aforementioned
> crash.
>

Yes, thanks, this is true and going in hopefully today.

Take care,
-- 
Camm Maguire                                        c...@maguirefamily.org
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah


_______________________________________________
Gcl-devel mailing list
Gcl-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/gcl-devel

Reply via email to