This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFA: Testsuite PATCH to add support for dlopen tests
- From: Steve Ellcey <sellcey at mips dot com>
- To: Dominique Dhumieres <dominiq at lps dot ens dot fr>
- Cc: <gcc-patches at gcc dot gnu dot org>, <rp at CeBiTec dot Uni-Bielefeld dot de>, <richard dot guenther at gmail dot com>, <jason at redhat dot com>
- Date: Tue, 8 Apr 2014 10:28:24 -0700
- Subject: Re: RFA: Testsuite PATCH to add support for dlopen tests
- Authentication-results: sourceware.org; auth=none
- References: <20140408081007 dot F25D5103 at mailhost dot lps dot ens dot fr>
On Tue, 2014-04-08 at 10:10 +0200, Dominique Dhumieres wrote:
> > richi asked for a testcase for 60731, and since we didn't already
> > have support for tests using dlopen, I had to add it.
> > Does this approach make sense?
>
> r209187 causes thousands of g++ test failures. AFAICT the failing tests are those with no
> explicit 'dg-do compile' directive which are now trying to give an executable while
> before r209187 they were using -S. On x86_64-apple-darwin13 the tests now fail with
>
> Undefined symbols for architecture ...
>
> TIA
>
> Dominique
I am seeing failures on MIPS bare iron as well. This toolchain does not
support shared libraries and before the change it was not using '-fPIC
-shared' during C++ compilations. Now it is and that causes GCC to
generate an error message.
Steve Ellcey