Re: Follow-up to PR bootstrap/54820

2012-12-19 Thread Ian Lance Taylor
On Wed, Dec 19, 2012 at 6:13 PM, Cary Coutant wrote: > Two test cases, debug_msg_so.err and debug_msg_ndebug.err, are still > broken by the original patch, because (a) debug_msg.so has a DT_NEEDED > entry for libstdc++.so, (b) the use of -static-libstdc++ means that > that DT_NEEDED entry is unkno

Re: Follow-up to PR bootstrap/54820

2012-12-19 Thread Cary Coutant
Two test cases, debug_msg_so.err and debug_msg_ndebug.err, are still broken by the original patch, because (a) debug_msg.so has a DT_NEEDED entry for libstdc++.so, (b) the use of -static-libstdc++ means that that DT_NEEDED entry is unknown when we link the executable, and (c) the undefined symbols

Re: Follow-up to PR bootstrap/54820

2012-10-23 Thread Ian Lance Taylor
On Tue, Oct 23, 2012 at 2:11 PM, Eric Botcazou wrote: > > 2012-10-23 Eric Botcazou > > PR bootstrap/54820 > * configure.ac (have_static_libs): Force 'no' for GCC version < 4.5. > * configure: Regenerate. This is OK. Thanks. Ian

Follow-up to PR bootstrap/54820

2012-10-23 Thread Eric Botcazou
As reported by Ian and Peter in the audit trail, the check I added to detect whether -static-libstdc++ is supported by g++ doesn't work because the option is silently rejected by versions prior to 4.5. The attached patch forces an error for these versions so as to make the check always fail. T