Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Feb 2002 19:20:01 -0800 (PST)
From:      Peter Schultz <peter@jocose.org>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/34908: libpng port makes bad dynamic library on -CURRENT
Message-ID:  <200202170320.g1H3K1F17696@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/34908; it has been noted by GNATS.

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
Date: Sat, 16 Feb 2002 21:15:51 -0600

 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-ports" in the body of the message




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