NetBSD Problem Report #48712

From tsutsui@ceres.dti.ne.jp  Sat Apr  5 14:37:48 2014
Return-Path: <tsutsui@ceres.dti.ne.jp>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 6B41AA5803
	for <gnats-bugs@gnats.NetBSD.org>; Sat,  5 Apr 2014 14:37:48 +0000 (UTC)
Message-Id: <201404051437.s35Ebh9E027752@mirage.localdomain>
Date: Sat, 5 Apr 2014 23:37:43 +0900 (JST)
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
Reply-To: tsutsui@ceres.dti.ne.jp
To: gnats-bugs@gnats.NetBSD.org
Cc: tsutsuI@ceres.dti.ne.jp
Subject: BUGURL in gcc is incorrect
X-Send-Pr-Version: 3.95

>Number:         48712
>Category:       toolchain
>Synopsis:       BUGURL for gcc is incorrect
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    toolchain-manager
>State:          closed
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 05 14:40:00 +0000 2014
>Closed-Date:    Mon Sep 09 14:01:49 +0000 2019
>Last-Modified:  Mon Sep 09 14:20:01 +0000 2019
>Originator:     Izumi Tsutsui
>Release:        NetBSD -current
>Organization:
>Environment:
System: NetBSD -current, but netbsd-6 branches have the same problem
Architecture: all
Machine: all
>Description:
Both gcc 4.5.4 and gcc 4.8.3 binaries show

 http://www.NetBSD.org/Misc/send-pr.html

for our bug report URL, but the "Misc" directory was removed
back in 2007 and it should be

 http://www.NetBSD.org/support/send-pr.html

as per our current www pages.

>How-To-Repeat:
${TOOLDIR}/bin/foo-gcc -v says:

Configured with: /usr/src/tools/gcc/../../external/gpl3/gcc/dist/configure \
--target=m68k--netbsdelf --enable-long-long --enable-threads \
--with-bugurl=http://www.NetBSD.org/Misc/send-pr.html \
--with-pkgversion='NetBSD nb1 20120916'
 :

BTW, pkgversion "nb1 20120916" seems also incorrect for gcc 4.8.3.

>Fix:
Update G_BUGURL in src/external/gpl3/gcc{,.old}/usr.bin/Makefile.inc
and regen all generated files like
gcc{,.old}/usr.bin/gcc/arch/${MACHINE_CPU}/configargs.h
gcc{,.old}/usr.bin/gcc/gcc.1
etc? 

>Release-Note:

>Audit-Trail:
From: "David A. Holland" <dholland@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/48712 CVS commit: src/external/gpl3
Date: Sun, 27 Jul 2014 04:16:09 +0000

 Module Name:	src
 Committed By:	dholland
 Date:		Sun Jul 27 04:16:09 UTC 2014

 Modified Files:
 	src/external/gpl3/gcc.old/usr.bin: Makefile.inc
 	src/external/gpl3/gcc/usr.bin: Makefile.inc

 Log Message:
 Update the bug report URL as per PR 48712. I assume in order for this
 to propagate to where it'll be seen we need to rerun mknative, which
 I'm not in a position to do right now; but this way it'll update the
 next time someone else does that.


 To generate a diff of this commit:
 cvs rdiff -u -r1.1.1.2 -r1.2 src/external/gpl3/gcc.old/usr.bin/Makefile.inc
 cvs rdiff -u -r1.24 -r1.25 src/external/gpl3/gcc/usr.bin/Makefile.inc

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: David Holland <dholland-bugs@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: PR/48712 CVS commit: src/external/gpl3
Date: Tue, 6 Sep 2016 12:56:53 +0000

 On Sun, Jul 27, 2014 at 04:20:01AM +0000, David A. Holland wrote:
  >  Modified Files:
  >  	src/external/gpl3/gcc.old/usr.bin: Makefile.inc
  >  	src/external/gpl3/gcc/usr.bin: Makefile.inc
  >  
  >  Log Message:
  >  Update the bug report URL as per PR 48712. I assume in order for this
  >  to propagate to where it'll be seen we need to rerun mknative, which
  >  I'm not in a position to do right now; but this way it'll update the
  >  next time someone else does that.

 This did not work - the files in question have the new url, but gcc
 5.4 still reports the old one, in both tools and native builds.

 -- 
 David A. Holland
 dholland@netbsd.org

From: matthew green <mrg@eterna.com.au>
To: gnats-bugs@NetBSD.org
Cc: toolchain-manager@netbsd.org, gnats-admin@netbsd.org,
    netbsd-bugs@netbsd.org, tsutsui@ceres.dti.ne.jp
Subject: re: PR/48712 CVS commit: src/external/gpl3
Date: Wed, 07 Sep 2016 06:04:03 +1000

 odd.

 i guess the reason it appears in the configure line is that fixing
 it requires a mknative run, however, this is correct in the binary
 going back to at least netbsd-7 -- when gcc crashes, the right url
 is used.

 oh, i see why it's still visible - your fix back in july 2014 only
 changed the in-tree gcc version (which is why it's right in the
 binary output when you crash), but not the tools build (which is
 where configure lines come from, sort of.):

 tools/gcc/Makefile:                     --with-bugurl=3Dhttp://www.NetBSD.=
 org/Misc/send-pr.html \


 .mrg.

State-Changed-From-To: open->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Mon, 09 Sep 2019 14:01:49 +0000
State-Changed-Why:
Should be fixed once a mknative is run. The URL is a redirect anyway.


From: "Maya Rashish" <maya@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/48712 CVS commit: src/tools/gcc
Date: Mon, 9 Sep 2019 13:57:13 +0000

 Module Name:	src
 Committed By:	maya
 Date:		Mon Sep  9 13:57:13 UTC 2019

 Modified Files:
 	src/tools/gcc: Makefile

 Log Message:
 Fix bugurl. PR toolchain/48712


 To generate a diff of this commit:
 cvs rdiff -u -r1.93 -r1.94 src/tools/gcc/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.