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]

Re: --with-pkgversion --with-bugurl patch


On Fri, 17 Aug 2007, Matthias Klose wrote:

> Joseph S. Myers writes:
> > This patch implements the --with-pkgversion and --with-bugurl
> 
> --with-pkgversion *adds* information, while --with-bugurl *replaces*
> information. Is there a reason to drop the reference to the upstream
> bug tracker? Debian currently includes references to the upstream
> project and the Debian project in its builds.

The expectation is that distributors filter bugs and can send on those 
found not to relate to their modifications (and still to be present in 
current versions), as indicated by the comment in version.c.

 /* This is the location of the online document giving instructions for
    reporting bugs.  If you distribute a modified version of GCC,
-   please change this to refer to a document giving instructions for
-   reporting bugs to you, not us.  (You are of course welcome to
-   forward us bugs reported to you, if you determine that they are
-   not bugs in your modifications.)  */
+   please configure with --with-bugurl pointing to a document giving
+   instructions for reporting bugs to you, not us.  (You are of course
+   welcome to forward us bugs reported to you, if you determine that
+   they are not bugs in your modifications.)  */

This comment came in with

2002-10-08  Zack Weinberg  <zack@codesourcery.com>

        * system.h (GCCBUGURL): Delete.
        * version.c (bug_report_url): New.  Add commentary about
        modifying both these strings in modified distributions.
        * version.h: Declare bug_report_url.

        * diagnostic.c, gcc.c, gcov.c: Globally replace GCCBUGURL with
        bug_report_url.

but the principle would have been established at least as far back as when 
we had problems with early RH 2.96 versions not changing the bug-reporting 
instructions and many bug reports being sent to the wrong place in 
consequence.

(--with-pkgversion also replaces the default "GCC" in the package part of 
the --version output - the expectation is you'd use something like "Debian 
GCC 4.3.0-7".)

-- 
Joseph S. Myers
joseph@codesourcery.com


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