NetBSD Problem Report #40970

From jmcneill@o2.localdomain  Fri Mar  6 03:44:03 2009
Return-Path: <jmcneill@o2.localdomain>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id A31AE63C1BF
	for <gnats-bugs@gnats.NetBSD.org>; Fri,  6 Mar 2009 03:44:03 +0000 (UTC)
Message-Id: <20090306034403.0DB805CDA3@o2.localdomain>
Date: Thu,  5 Mar 2009 22:44:02 -0500 (EST)
From: jmcneill@invisible.ca
Reply-To: jmcneill@invisible.ca
To: gnats-bugs@gnats.NetBSD.org
Subject: xorg-cf-files NetBSD.cf doesn't have GccAliasingArgs defined on mips
X-Send-Pr-Version: 3.95

>Number:         40970
>Category:       xsrc
>Synopsis:       xorg-cf-files NetBSD.cf doesn't have GccAliasingArgs defined on mips
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    xsrc-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 06 03:45:00 +0000 2009
>Closed-Date:    Wed Mar 25 03:45:42 +0000 2009
>Last-Modified:  Sun Jan 15 14:05:01 +0000 2012
>Originator:     Jared D. McNeill
>Release:        NetBSD 5.0_RC2
>Organization:

>Environment:


System: NetBSD o2 5.0_RC2 NetBSD 5.0_RC2 (GENERIC32_IP3x) #1: Sun Feb 22 18:50:16 EST 2009 jmcneill@black.invisible.ca:/export/home/jmcneill/branches/netbsd-5/src/sys/arch/sgimips/compile/obj/GENERIC32_IP3x sgimips
Architecture: mipseb
Machine: sgimips
>Description:
	Trying to build audio/nas on sgimips, the build fails because the
	Makefile is populated with the literal '-O2 GccAliasingArgs'
>How-To-Repeat:
	Try to build audio/nas on sgimips.
>Fix:
	I'm using the following workaround. In NetBSD.cf, I changed:
	  # define OptimizedCDebugFlags  -O2 GccAliasingArgs
	to:
	  # if defined(GccAliasingArgs)
	  #  define OptimizedCDebugFlags  -O2 GccAliasingArgs
	  # else
	  #  define OptimizedCDebugFlags  -O2
	  # endif

	But I don't understand why GccAliasingArgs isn't being picked up
	from xorg.cf in the first place.

>Release-Note:

>Audit-Trail:
From: "Jared D. McNeill" <jmcneill@invisible.ca>
To: gnats-bugs@NetBSD.org
Cc: xsrc-manager@netbsd.org, gnats-admin@netbsd.org, 
 netbsd-bugs@netbsd.org
Subject: Re: xsrc/40970: xorg-cf-files NetBSD.cf doesn't have GccAliasingArgs
 defined on mips
Date: Thu, 05 Mar 2009 22:53:32 -0500

 jmcneill@invisible.ca wrote:
 > 	But I don't understand why GccAliasingArgs isn't being picked up
 > 	from xorg.cf in the first place.

 It seems NetBSD.cf only pulls in xorg.cf (where GccAliasingArgs is 
 defined) on a handful of architectures, and MipsArchitecture isn't one 
 of them.

State-Changed-From-To: open->feedback
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Wed, 25 Mar 2009 03:41:42 +0000
State-Changed-Why:
you said in chat a while back that you'd checked in a fix for this


State-Changed-From-To: feedback->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Wed, 25 Mar 2009 03:45:42 +0000
State-Changed-Why:
mrg says it's fixed and pulled up


From: "Izumi Tsutsui" <tsutsui@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/40970 CVS commit: xsrc/external/mit/xorg-cf-files/dist
Date: Mon, 1 Aug 2011 14:14:16 +0000

 Module Name:	xsrc
 Committed By:	tsutsui
 Date:		Mon Aug  1 14:14:16 UTC 2011

 Modified Files:
 	xsrc/external/mit/xorg-cf-files/dist: NetBSD.cf

 Log Message:
 Always include <xorg.cf> for GccAliasingArgs regardless of server support
 on the target plattform.
 Fixes "GccAliasingArgs" leftovers in Makefiles generated by imake(1)
 on m68k and sh3 etc.

 This problem had been once fixed in rev 1.2 per PR xsrc/40970, but
 it looks accidentally reverted on xorg-cf-files 1.0.3 merge in rev 1.3.


 To generate a diff of this commit:
 cvs rdiff -u -r1.4 -r1.5 xsrc/external/mit/xorg-cf-files/dist/NetBSD.cf

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

From: "Sergey Svishchev" <shattered@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/40970 CVS commit: pkgsrc/x11/xorg-cf-files
Date: Sun, 15 Jan 2012 14:01:59 +0000

 Module Name:	pkgsrc
 Committed By:	shattered
 Date:		Sun Jan 15 14:01:59 UTC 2012

 Modified Files:
 	pkgsrc/x11/xorg-cf-files: Makefile distinfo
 	pkgsrc/x11/xorg-cf-files/patches: patch-aa

 Log Message:
 PR 40970: Always include <xorg.cf> for GccAliasingArgs regardless
 of server support on the target plattform.  Fixes "GccAliasingArgs"
 leftovers in Makefiles generated by imake(1) on m68k and sh3 etc.

 OK joerg@


 To generate a diff of this commit:
 cvs rdiff -u -r1.16 -r1.17 pkgsrc/x11/xorg-cf-files/Makefile
 cvs rdiff -u -r1.10 -r1.11 pkgsrc/x11/xorg-cf-files/distinfo
 cvs rdiff -u -r1.2 -r1.3 pkgsrc/x11/xorg-cf-files/patches/patch-aa

 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.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.