public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "howarth at nitro dot med.uc.edu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug plugins/45787] New: r164531 breaks plugin support on x86_64-apple-darwin10
Date: Sat, 25 Sep 2010 00:16:00 -0000	[thread overview]
Message-ID: <bug-45787-4@http.gcc.gnu.org/bugzilla/> (raw)

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45787

           Summary: r164531 breaks plugin support on x86_64-apple-darwin10
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: plugins
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: howarth@nitro.med.uc.edu
              Host: x86_64-apple-darwin10
            Target: x86_64-apple-darwin10
             Build: x86_64-apple-darwin10


Author: jsm28
Date: Wed Sep 22 20:12:06 2010
New Revision: 164531

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164531
Log:
    * common.opt (-assemble, -compile, -coverage, -debug, -dump,
    -dump=, -dumpbase, -dumpdir, -entry, -entry=, -extra-warnings,
    -for-assembler, -for-assembler=, -for-linker, -for-linker=,
    -force-link, -force-link=, -language, -language=,
    -library-directory, -library-directory=, -no-canonical-prefixes,
    -no-standard-libraries, -no-warnings, -optimize, -output,
    -output=, -pass-exit-codes, -pedantic, -pedantic-errors, -pie,
    -pipe, -prefix, -prefix=, -preprocess, -print-file-name,
    -print-file-name=, -print-libgcc-file-name,
    -print-multi-directory, -print-multi-lib,
    -print-multi-os-directory, -print-prog-name, -print-prog-name=,
    -print-search-dirs, -print-sysroot, -print-sysroot-headers-suffix,
    -profile, -save-temps, -shared, -specs, -specs=, -static,
    -symbolic, -time, -verbose, -param=, -sysroot, coverage, e, u,
    symbolic): New.
    (fhelp, fhelp=, ftarget-help, fversion): Make into aliases.
    * gcc.c (A Short Introduction to Adding a Command-Line Option):
    Remove comment.
    (cc1_options): Correct specs for passing down --help,
    --target-help and --help=*.  Add spec for passing down --version.
    (struct option_map, option_map, target_option_translations,
    translate_options): Remove.
    (driver_handle_option): Handle OPT__version, OPT__help, OPT__help_
    and OPT__target_help instead of OPT_fversion, OPT_fhelp,
    OPT_fhelp_ and OPT_ftarget_help.
    (process_command): Don't call translate_options.  Call
    decode_cmdline_options_to_array before checking for
    -no-canonical-prefixes using decoded options.
    * opts-common.c (tm.h): Update comment on #include.
    (find_opt): Allow abbreviations of long options.
    (struct option_map, option_map): New.
    (decode_cmdline_option): Use them instead of hardcoding -Wno, -fno
    and -mno handling.
    (target_option_translations): New.
    (decode_cmdline_options_to_array): Handle
    TARGET_OPTION_TRANSLATE_TABLE in driver.
    * opts.c (common_handle_option): Don't handle OPT_fhelp,
    OPT_ftarget_help, OPT_fhelp_ or OPT_fversion.

ada:
    * gcc-interface/lang.opt (-all-warnings, -include-barrier,
    -include-directory, -include-directory=, -no-standard-includes,
    -no-standard-libraries): New.

c-family:
    * c.opt (-all-warnings, -ansi, -assert, -assert=, -comments,
    -comments-in-macros, -define-macro, -define-macro=, -dependencies,
    -dump, -dump=, -imacros, -imacros=, -include, -include=,
    -include-barrier, -include-directory, -include-directory=,
    -include-directory-after, -include-directory-after=,
    -include-prefix, -include-prefix=, -include-with-prefix,
    -include-with-prefix=, -include-with-prefix-after,
    -include-with-prefix-after=, -include-with-prefix-before,
    -include-with-prefix-before=, -no-integrated-cpp,
    -no-line-commands, -no-standard-includes, -no-warnings, -output,
    -output=, -pedantic, -pedantic-errors, -preprocess,
    -print-missing-file-dependencies, -trace-includes, -traditional,
    -traditional-cpp, -trigraphs, -undefine-macro, -undefine-macro=,
    -user-dependencies, -verbose, -write-dependencies,
    -write-user-dependencies, no-integrated-cpp, traditional): New.

fortran:
    * gfortranspec.c (lang_specific_driver): Handle OPT__version and
    OPT__help instead of OPT_fversion and OPT_fhelp.
    * lang.opt (-all-warnings, -assert, -assert=, -comments,
    -comments-in-macros, -define-macro, -define-macro=, -dependencies,
    -dump, -dump=, -include-barrier, -include-directory,
    -include-directory=, -include-directory-after,
    -include-directory-after=, -include-prefix, -include-prefix=,
    -no-line-commands, -no-standard-includes, -output, -output=,
    -preprocess, -print-missing-file-dependencies, -trace-includes,
    -undefine-macro, -undefine-macro=, -user-dependencies, -verbose,
    -write-dependencies, -write-user-dependencies): New.

java:
    * jvspec.c (lang_specific_driver): Handle OPT__help instead of
    OPT_fhelp.
    * lang.opt (-CLASSPATH, -all-warnings, -bootclasspath, -classpath,
    -dependencies, -encoding, -extdirs, -include-directory,
    -include-directory=, -output-class-directory,
    -output-class-directory=, -resource, -resource=,
    -user-dependencies): New.

breaks plugin support on x86_64-apple-darwin10. The auto-host.h generated for
stage1-gcc contains the expected...


/* Define to enable plugin support. */
#ifndef USED_FOR_TARGET
#define ENABLE_PLUGIN 1
#endif

but the auto-host.h generated for prev-gcc contains...


/* Define to enable plugin support. */
#ifndef USED_FOR_TARGET
/* #undef ENABLE_PLUGIN */
#endif

There is no such problem at r164530 where x86_64-apple-darwin10 properly builds
plugin support.

-- 
Configure bugmail: http://gcc.gnu.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


             reply	other threads:[~2010-09-25  0:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-25  0:16 howarth at nitro dot med.uc.edu [this message]
2010-09-25  3:00 ` [Bug plugins/45787] " howarth at nitro dot med.uc.edu
2010-09-25 20:15 ` joseph at codesourcery dot com
2010-09-25 22:12 ` howarth at nitro dot med.uc.edu
2010-09-26 18:14 ` howarth at nitro dot med.uc.edu
2010-09-26 18:29 ` [Bug target/45787] " howarth at nitro dot med.uc.edu
2010-10-01  0:45 ` howarth at nitro dot med.uc.edu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-45787-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).