Bug 43759 - The tests gcc.dg/plugindir*.c should be restricted to builds configured with --enable-plugin
Summary: The tests gcc.dg/plugindir*.c should be restricted to builds configured with ...
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: testsuite (show other bugs)
Version: 4.6.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-15 12:48 UTC by Dominique d'Humieres
Modified: 2012-06-18 12:10 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dominique d'Humieres 2010-04-15 12:48:17 UTC
Since their introduction in revision 158247, the tests gcc.dg/plugindir*.c fail on builds not configured with --enable-plugin (see http://gcc.gnu.org/ml/gcc-testresults/2010-04/msg01084.html ). The failure is

cc1: error: Plugin support is disabled.  Configure with --enable-plugin.

i.e., the tests should be skipped for builds not configured with --enable-plugin.
Comment 1 Jack Howarth 2010-04-15 13:42:06 UTC
Do the other targets like linux enable plugins by default? If so, once...

http://gcc.gnu.org/ml/gcc-patches/2010-04/msg00610.html

goes into gcc trunk and gcc-4_5-branch, we can just default darwin
to build plugin support as well.
Comment 2 Dominique d'Humieres 2010-04-15 14:41:46 UTC
> ...  we can just default darwin to build plugin support as well.

I think the problem should be addressed (i.e., skip the tests) for any build with plugins not enabled, even if --enable-plugin is the default for the target.
Comment 3 Matthias Klose 2010-04-15 14:48:59 UTC
Subject: Re:  The tests gcc.dg/plugindir*.c should be
 restricted to builds configured with --enable-plugin

On 15.04.2010 16:41, dominiq at lps dot ens dot fr wrote:
> ------- Comment #2 from dominiq at lps dot ens dot fr  2010-04-15 14:41 -------
>> ...  we can just default darwin to build plugin support as well.
>
> I think the problem should be addressed (i.e., skip the tests) for any build
> with plugins not enabled, even if --enable-plugin is the default for the
> target.

on my list.
Comment 4 Matthias Klose 2010-06-04 09:53:30 UTC
this is fixed on the trunk
Comment 5 Dominique d'Humieres 2010-12-12 11:53:15 UTC
See also pr46902 for other failures of gcc.dg/plugindir*.c.
Comment 6 Dominique d'Humieres 2011-02-12 13:54:14 UTC
(In reply to comment #4)
> this is fixed on the trunk

Any plan to backport the fix to 4.5? or should this pr closed as fixed?
Comment 7 Dominique d'Humieres 2012-06-18 12:10:53 UTC
> Any plan to backport the fix to 4.5? or should this pr closed as fixed?

No answer after more than one year;-(closing as fixed).