PATCH: Support LD_SYMBOLIC and LD_SYMBOLIC_FUNCTIONS

Jakub Jelinek jakub@redhat.com
Tue Jan 30 15:20:00 GMT 2007


On Tue, Jan 30, 2007 at 03:08:04PM +0000, Nick Clifton wrote:
> >># LD_SYMBOLIC_FUNCTIONS=1 rpmbuild --rebuild 
> >>openoffice.org-2.0.4-5.5.10.src.rpm
> 
> But you do not have -Bsymbolic-functions in your spec file, so if you 
> forget this trick in the future and rebuild the openoffice.org binaries 
> again you will miss out on the optimization.  With this new feature 
> restricted to the -Bsymbolic-functions command line switch users that 
> want it are forced to do the right thing and add it to the spec file.

Especially when -Bsymbolic-functions is not just an innocent optimization,
but changes behavior of the program or library being linked.
An environment variable for this is IMHO a terribly bad idea.

	Jakub



More information about the Binutils mailing list