[Bug driver/47390] [4.6 Regression] Linking with -export-dynamic broken

joseph at codesourcery dot com gcc-bugzilla@gcc.gnu.org
Tue Feb 8 01:38:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47390

--- Comment #4 from joseph at codesourcery dot com <joseph at codesourcery dot com> 2011-02-08 01:35:49 UTC ---
On Tue, 8 Feb 2011, dirtyepic at gentoo dot org wrote:

> looks like some packages also use --export-dynamic, which just flat out fails
> now. 
> 
> x86_64-unknown-linux-gnu-gcc: error: unrecognized option '--export-dynamic'

As discussed in PR 46410, the -- versions of linker options were in fact 
quietly ignored before on link-only command lines, or produced errors on 
command lines that would actually have resulted in compilation, so 
--export-dynamic would never have had the intended effect.



More information about the Gcc-bugs mailing list