develooper Front page | | Postings from February 2004

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

Thread Previous
Andrew Dougherty
February 27, 2004 08:59
Re: Fw: Replacing '-rdynamic' in Configure script
Message ID:
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" <>
> ----------------------- Original Message -----------------------
>  From:    Art Haas <>
>  To:
>  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

    Andy Dougherty

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About