develooper Front page | perl.perl5.build | Postings from February 2004

Re: Fw: Replacing '-rdynamic' in Configure script

Thread Previous
From:
Andrew Dougherty
Date:
February 27, 2004 08:59
Subject:
Re: Fw: Replacing '-rdynamic' in Configure script
Message ID:
Pine.SOL.4.58.0402271156050.4789@maxwell.phys.lafayette.edu
On Mon, 23 Feb 2004, H.Merijn Brand wrote:

> Anyone with a more profound gcc knowledge has an opinion on this?
>
> Forwarded by "H.Merijn Brand" <h.m.brand@hccnet.nl>
> ----------------------- Original Message -----------------------
>  From:    Art Haas <ahaas@airmail.net>
>  To:      perl5-porters@perl.org
>  Date:    Fri, 20 Feb 2004 13:53:56 -0600
>  Subject: Replacing '-rdynamic' in Configure script
> ----
>
> I'm running Perl on Linux, and have wondered why the 'Configure' script
> suggests using '-rdynamic' for linking the Perl binary. The GCC
> documentation does not mention '-rdynamic', and after hunting around a bit
> for some info on it I found that it appears in the gcc specs file, and is
> apparently another way to specify '--export-dynamic'. So, instead of using
> this undocumented (in my GCC-3.5 CVS code) flag, replace it with a call to
> the linker to use '--export-dynamic'.

This change (-Wl,-E) is probably fine -- I'm pretty sure that's what we're
doing elsewhere that uses GNU ld.  The use of the -rdynamic is very old --
it goes back at least to perl5.001m, nearly 10 years ago -- and is there
simply because it was what worked for whoever suggested it all those years
ago.

-- 
    Andy Dougherty		doughera@lafayette.edu

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About