gcl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gcl-devel] binutils induced libz dependency


From: Camm Maguire
Subject: [Gcl-devel] binutils induced libz dependency
Date: Wed, 18 Feb 2009 13:18:23 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

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 <address@hidden> writes:

> On Thu, Feb 5, 2009 at 1:31 PM, Camm Maguire <address@hidden> 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                                        address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah




reply via email to

[Prev in Thread] Current Thread [Next in Thread]