From nobody@FreeBSD.org  Thu Jun 13 10:46:50 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	by hub.freebsd.org (Postfix) with ESMTP id 1E3AE819
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 13 Jun 2013 10:46:50 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121])
	by mx1.freebsd.org (Postfix) with ESMTP id 0FB591602
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 13 Jun 2013 10:46:50 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r5DAknl0016601
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 13 Jun 2013 10:46:49 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r5DAknnE016600;
	Thu, 13 Jun 2013 10:46:49 GMT
	(envelope-from nobody)
Message-Id: <201306131046.r5DAknnE016600@oldred.freebsd.org>
Date: Thu, 13 Jun 2013 10:46:49 GMT
From: Alexey Markov <redrat@mail.ru>
To: freebsd-gnats-submit@FreeBSD.org
Subject: File mps.ko.symbols is unconditionally installed
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         179536
>Category:       misc
>Synopsis:       [modules] File mps.ko.symbols is unconditionally installed
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 13 10:50:00 UTC 2013
>Closed-Date:    Thu Feb 06 09:01:22 CET 2014
>Last-Modified:  Thu Feb 06 09:01:22 CET 2014
>Originator:     Alexey Markov
>Release:        8.4-RELEASE
>Organization:
JSC Complitex
>Environment:
FreeBSD boson.zhks.kharkov.ua 8.4-RELEASE FreeBSD 8.4-RELEASE #0: Fri May 31 17:
13:48 EEST 2013 redrat@boson.zhks.kharkov.ua:/usr/obj/usr/src/sys/BOSON amd64
>Description:
For unknown reason file mps.ko.symbols is unconditionally built and
installed even if kernel config has debug option commented out. It seems
somewhat connected to this line in the /usr/src/sys/modules/mps/Makefile:12

DEBUG_FLAGS += -g

>How-To-Repeat:
Comment out debug option in the kernel config file, rebuild and install
new kernel, the 'ls /boot/kernel/*.symbols':

/boot/kernel/mps.ko.symbols
>Fix:


>Release-Note:
>Audit-Trail:

From: Sayetsky Anton <vsjcfm@gmail.com>
To: Alexey Markov <redrat@mail.ru>, bug-followup@freebsd.org
Cc:  
Subject: Re: misc/179536: File mps.ko.symbols is unconditionally installed
Date: Thu, 13 Jun 2013 13:54:56 +0300

 2013/6/13 Alexey Markov <redrat@mail.ru>:
 > For unknown reason file mps.ko.symbols is unconditionally built and installed even if kernel config has debug option commented out. It seems somewhat connected to this line in the /usr/src/sys/modules/mps/Makefile:12
 >
 > DEBUG_FLAGS += -g
 
 Confirmed on 9.1-RELEASE-p3 (also with sfxge):
 jason@jw:~$ ls /boot/kernel/*.symbols
 /boot/kernel/mps.ko.symbols /boot/kernel/sfxge.ko.symbol

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: misc/179536: commit references a PR
Date: Thu,  6 Feb 2014 07:59:14 +0000 (UTC)

 Author: brueffer
 Date: Thu Feb  6 07:59:05 2014
 New Revision: 261540
 URL: http://svnweb.freebsd.org/changeset/base/261540
 
 Log:
   MFC: r233049 by rmh
   
   Remove gratuitous DEBUG_FLAGS="-g" setting (this is already the default
   option with GENERIC kernels).
   
   PR:		179536
   Submitted by:	Alexey Markov
 
 Modified:
   stable/8/sys/modules/mps/Makefile
 Directory Properties:
   stable/8/sys/   (props changed)
   stable/8/sys/modules/   (props changed)
 
 Modified: stable/8/sys/modules/mps/Makefile
 ==============================================================================
 --- stable/8/sys/modules/mps/Makefile	Thu Feb  6 07:55:50 2014	(r261539)
 +++ stable/8/sys/modules/mps/Makefile	Thu Feb  6 07:59:05 2014	(r261540)
 @@ -9,6 +9,5 @@ SRCS+=	opt_cam.h opt_compat.h
  SRCS+=	device_if.h bus_if.h pci_if.h
  
  #CFLAGS += -DMPS_DEBUG
 -DEBUG_FLAGS += -g
  
  .include <bsd.kmod.mk>
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: misc/179536: commit references a PR
Date: Thu,  6 Feb 2014 07:55:59 +0000 (UTC)

 Author: brueffer
 Date: Thu Feb  6 07:55:50 2014
 New Revision: 261539
 URL: http://svnweb.freebsd.org/changeset/base/261539
 
 Log:
   MFC: r233049 by rmh
   
   Remove gratuitous DEBUG_FLAGS="-g" setting (this is already the default
   option with GENERIC kernels).
   
   PR:		179536
   Submitted by:	Alexey Markov
 
 Modified:
   stable/9/sys/modules/mps/Makefile
 Directory Properties:
   stable/9/sys/   (props changed)
   stable/9/sys/modules/   (props changed)
 
 Modified: stable/9/sys/modules/mps/Makefile
 ==============================================================================
 --- stable/9/sys/modules/mps/Makefile	Thu Feb  6 03:54:58 2014	(r261538)
 +++ stable/9/sys/modules/mps/Makefile	Thu Feb  6 07:55:50 2014	(r261539)
 @@ -9,7 +9,6 @@ SRCS+=	opt_cam.h opt_compat.h
  SRCS+=	device_if.h bus_if.h pci_if.h
  
  #CFLAGS += -DMPS_DEBUG
 -DEBUG_FLAGS += -g
  
  .include <bsd.kmod.mk>
  
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: brueffer 
State-Changed-When: Thu Feb 6 09:00:02 CET 2014 
State-Changed-Why:  
The flag has been removed in all branches down to 8-STABLE. 
For sfxge(4), a seperate PR exists.  Thanks for the submission! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=179536 
>Unformatted:
