Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Feb 2002 21:15:51 -0600
From:      Peter Schultz <peter@jocose.org>
To:        "Alexander N. Kabaev" <ak03@gte.com>
Cc:        Bjoern Fischer <bfischer@Techfak.Uni-Bielefeld.DE>, current@FreeBSD.ORG, freebsd-gnats-submit@FreeBSD.ORG, vova@sw.ru, David O'Brien <obrien@FreeBSD.ORG>
Subject:   Re: ports/34908: libpng port makes bad dynamic library on -CURRENT
Message-ID:  <3C6F2067.1020209@jocose.org>
References:  <3C6D49E0.3000506@gte.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Alexander N. Kabaev wrote:
>> Interesting. Is the DF_TEXTREL flag set in DT_FLAGS instead? Is the
>> library linked w/ -enable-new-dtags? Are the new dtags enabled by
>> default in the new binutils? Someting in elf32.em?
> 
> No. DT_FLAGS entry is not created regardless of whether the 
> --enable-new-dtags parameter has been passed to the linker. Ld simply
> ignores dynamic relocation entries for local symbols while checking
> whether either DT_FLAGS or DT_TEXTREL should be created. Attached patch  
> appears to fix the problem for me and has not caused any problems on my 
> test box so far but I am not making any claims about its correctness. 
> Use on your own risk.
> 
It's got to be at least partially correct because this patch does indeed 
  work.  I've been punishing my machine and it's doing great!

Thank you, Alexander, and all.

Pete...

>> Are the new dtags enabled by default in the new binutils?
> 
> No, it seems like the new dtags are disabled by default.
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C6F2067.1020209>