NetBSD Problem Report #49178
From www@NetBSD.org Sun Sep 7 03:13:14 2014
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id 705FAB8BFF
for <gnats-bugs@gnats.NetBSD.org>; Sun, 7 Sep 2014 03:13:14 +0000 (UTC)
Message-Id: <20140907031312.681FBB8C1F@mollari.NetBSD.org>
Date: Sun, 7 Sep 2014 03:13:12 +0000 (UTC)
From: venture37@geeklan.co.uk
Reply-To: venture37@geeklan.co.uk
To: gnats-bugs@NetBSD.org
Subject: Unbreak lang/gcc49 on OS X Tiger
X-Send-Pr-Version: www-1.0
>Number: 49178
>Category: pkg
>Synopsis: Unbreak lang/gcc49 on OS X Tiger
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Sep 07 03:15:00 +0000 2014
>Closed-Date: Sun Sep 07 07:35:37 +0000 2014
>Last-Modified: Sun Sep 07 07:40:00 +0000 2014
>Originator: Sevan Janiyan
>Release: pkgsrc-current
>Organization:
>Environment:
Darwin 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct 10 18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh powerpc
>Description:
Attached patch applies changes as per PR/48740 for gcc45 & 46
>How-To-Repeat:
>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/lang/gcc49/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile 5 Sep 2014 20:38:54 -0000 1.2
+++ Makefile 7 Sep 2014 02:47:24 -0000
@@ -91,6 +91,15 @@
CONFIGURE_ARGS+= STRIP_FOR_TARGET=${TOOLS_PLATFORM.strip}
.endif
+.if !empty(MACHINE_PLATFORM:MDarwin-[0-8].*-*)
+CONFIGURE_ARGS+= --with-dwarf2
+CONFIGURE_ARGS+= --disable-libitm
+.endif
+
+.if !empty(MACHINE_PLATFORM:MDarwin-[0-8].*-powerpc)
+CONFIGURE_ARGS+= --disable-multilib
+.endif
+
.if !empty(MACHINE_PLATFORM:MNetBSD-*-i386) || !empty(MACHINE_PLATFORM:MLinux-*-i386)
CONFIGURE_ARGS+= --with-arch=i486 --with-tune=i486
.endif
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Sun, 07 Sep 2014 07:35:37 +0000
State-Changed-Why:
Committed, thanks!
From: "Thomas Klausner" <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/49178 CVS commit: pkgsrc/lang/gcc49
Date: Sun, 7 Sep 2014 07:35:15 +0000
Module Name: pkgsrc
Committed By: wiz
Date: Sun Sep 7 07:35:15 UTC 2014
Modified Files:
pkgsrc/lang/gcc49: Makefile
Log Message:
Fix on OS X Tiger. From Sevan Janiyan in PR 49178.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/lang/gcc49/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(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-2014
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.