This is the mail archive of the
mailing list for the GCC project.
Re: [build] Honor --disable-symvers (PR bootstrap/48135)
- From: Paolo Bonzini <bonzini at gnu dot org>
- To: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- Cc: gcc-patches at gcc dot gnu dot org, fortran at gcc dot gnu dot org
- Date: Mon, 21 Mar 2011 12:42:30 +0100
- Subject: Re: [build] Honor --disable-symvers (PR bootstrap/48135)
- References: <ydd1v20hfm1.fsf@manam.CeBiTec.Uni-Bielefeld.DE>
On 03/21/2011 12:34 PM, Rainer Orth wrote:
Prompted by PR bootstrap/48135, I found that only libstdc++-v3 honors
--disable-symvers. The following patch corrects this, but also notices
again the mess we've created by having at least 3 different sets of
checks for symbol versioning, each with its own variations ;-( But this
is not the time to correct this (yet).
Tested by a i386-pc-solaris2.11 bootstrap and checking that all
libraries were still versioned by default. Then I removed and
configured/built the affected libraries again and checked that
versioning was correctly disabled.
The patch below was created with -w to hide indentation changes.
Ok for mainline now and perhaps 4.6.1?
Ok for 4.7, RMs should decide about 4.6.1.