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]

PATCH: PR testsuite/40050: plugin tests don't work with multilib


On Wed, May 6, 2009 at 1:06 PM, H.J. Lu <hjl.tools@gmail.com> wrote:
> On Thu, Apr 2, 2009 at 9:26 AM, Diego Novillo <dnovillo@google.com> wrote:
>> This is the final part of the plugins merge. ?It's fairly bulky
>> because of the tests.
>>
>> See http://gcc.gnu.org/ml/gcc-patches/2009-04/msg00186.html for a
>> description of the whole merge.
>>
>>
>> Diego.
>>
>>
>> 2009-04-02 ?Le-Chun Wu ?<lcwu@google.com>
>>
>> ? ? ? ?* lib/plugin-support.exp: New file containing support procs for
>> ? ? ? ?plugin testcases.
>> ? ? ? ?* lib/target-supports.exp (check_plugin_available): New proc.
>> ? ? ? ?* gcc.dg/plugin/plugin.exp: New driver script for gcc testcases.
>> ? ? ? ?* gcc.dg/plugin/selfassign.c: New plugin source file.
>> ? ? ? ?* gcc.dg/plugin/self-assign-test-1.c: New test.
>> ? ? ? ?* gcc.dg/plugin/self-assign-test-2.c: Likewise.
>> ? ? ? ?* g++.dg/README: Add description for plugin test.
>> ? ? ? ?* g++.dg/dg.exp: Exclude plugin tests from the general test list.
>> ? ? ? ?* g++.dg/plugin/plugin.exp: New driver script for g++ testcases.
>> ? ? ? ?* g++.dg/plugin/selfassign.c: New plugin source file.
>> ? ? ? ?* g++.dg/plugin/self-assign-test-1.C: New test.
>> ? ? ? ?* g++.dg/plugin/self-assign-test-2.C: Likewise.
>> ? ? ? ?* g++.dg/plugin/self-assign-test-3.C: Likewise.
>> ? ? ? ?* g++.dg/plugin/dumb_plugin.c: New plugin source file.
>> ? ? ? ?* g++.dg/plugin/dumb-plugin-test-1.C: New test.
>>
>
> This doesn't work with multilib:
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40050
>

As Joseph pointed out, we should use host compiler to build
plugin.  Tested on Linux/Intel64. OK for trunk?

Thanks.


-- 
H.J.
2009-05-06  H.J. Lu  <hongjiu.lu@intel.com>

	PR testsuite/40050
	* lib/plugin-support.exp (plugin-test-execute): Use HOSTCC to
	build plugin.

Attachment: gcc-plugin-1.patch
Description: Text document


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