This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PR v3/38923: symbol versioning disabled on Solaris due to sed.


On 09/22/2009 09:21 PM, Ralf Wildenhues wrote:
2009-09-23 Ralf Wildenhues<Ralf.Wildenhues@gmx.de>

	PR libstdc++/38923
	* acinclude.m4 (GLIBCXX_CHECK_LINKER_FEATURES): Avoid 'head',
	use sed script portable to Solaris /bin/sed for extracting ld
	version.
	* configure: Regenerate.

This patch broke symbol versioning on Fedora 11, and I'm surprised that the pattern would work on any target.


+ sed -e 's/GNU g*o*ld v*e*r*s*i*o*n* *\(([^)]*)* *\) \([0-9.][0-9.]*\).*/\2/; q'`

The "\(([^)]* *\) " bit requires at minimum "( " which is not present in GNU ld --version on my system.


Jason


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]