NetBSD Problem Report #49548
From www@NetBSD.org Thu Jan 8 15:34:16 2015
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 103F6A6555
for <gnats-bugs@gnats.NetBSD.org>; Thu, 8 Jan 2015 15:34:16 +0000 (UTC)
Message-Id: <20150108153414.BAF7CA6558@mollari.NetBSD.org>
Date: Thu, 8 Jan 2015 15:34:14 +0000 (UTC)
From: venture37@geeklan.co.uk
Reply-To: venture37@geeklan.co.uk
To: gnats-bugs@NetBSD.org
Subject: Unbreak lang/gcc49 on PowerPC Macintosh
X-Send-Pr-Version: www-1.0
>Number: 49548
>Category: pkg
>Synopsis: Unbreak lang/gcc49 on PowerPC Macintosh
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: sevan
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jan 08 15:35:00 +0000 2015
>Closed-Date: Thu Jan 22 01:32:11 +0000 2015
>Last-Modified: Thu Jan 22 01:32:11 +0000 2015
>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:
There appears to be a regression in the latest version of GCC 4.9.x which impacts PowerPC based Macs
Include patch from GCC bugzilla bug #63703 which resolves the issue
Using built-in specs.
COLLECT_GCC=/Users/myuser/pkg/gcc49/bin/gcc
COLLECT_LTO_WRAPPER=/Users/myuser/pkg/gcc49/libexec/gcc/powerpc-apple-darwin8/4.9.2/lto-wrapper
Target: powerpc-apple-darwin8
Configured with: ../gcc-4.9.2/configure --enable-languages='c obj-c++ objc java fortran c++' --enable-shared --enable-long-long --with-local-prefix=/Users/myuser/pkg/gcc49 --enable-libssp --enable-threads=posix --with-boot-ldflags='-static-libstdc++ -static-libgcc -L/Users/myuser/pkg/lib ' STRIP_FOR_TARGET=/usr/bin/strip --with-dwarf2 --disable-libitm --disable-multilib --disable-nls --with-gmp=/Users/myuser/pkg --with-mpc=/Users/myuser/pkg --with-mpfr=/Users/myuser/pkg --with-ecj-jar=/mnt/distfiles/ecj-4.5.jar --enable-java-home --with-os-directory=darwin --with-arch-directory=powerpc --with-jvm-root-dir=/Users/myuser/pkg/java/gcc49 --with-java-home=/Users/myuser/pkg/java/gcc49 --with-system-zlib --enable-__cxa_atexit --with-gxx-include-dir=/Users/myuser/pkg/gcc49/include/c++/ --prefix=/Users/myuser/pkg/gcc49 --build=powerpc-apple-darwin8 --host=powerpc-apple-darwin8 --infodir=/Users/myuser/pkg/gcc49/info --mandir=/Users/myuser/pkg/gcc49/man
Thread model: posix
gcc version 4.9.2 (GCC)
>How-To-Repeat:
>Fix:
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/lang/gcc49/distinfo,v
retrieving revision 1.4
diff -u -r1.4 distinfo
--- distinfo 28 Nov 2014 11:47:00 -0000 1.4
+++ distinfo 8 Jan 2015 15:29:20 -0000
@@ -14,6 +14,7 @@
SHA1 (patch-gcc_config_dragonfly.opt) = b01bee26978f7feb62fc2ec21186449ccaea0db7
SHA1 (patch-gcc_config_i386_dragonfly.h) = 5756b62791273f77866f06be1df0c267dc90a2ee
SHA1 (patch-gcc_config_netbsd-stdint.h) = fc430c80adda9d3f58eea47816338f697a659889
+SHA1 (patch-gcc_config_rs6000_darwin.h) = 0033519188a730973d11135762cd539da879b2e3
SHA1 (patch-gcc_configure) = eb52890725d2eabb200275b6cb61fd86d976ee31
SHA1 (patch-gcc_fortran_f95-lang.c) = 9dbac16c146821eed9b06e1e9f0da85ff5c4ee75
SHA1 (patch-gcc_ginclude_stddef.h) = 8af3e4b4058fc623c61e91f5771699f0ce679957
Index: patches/patch-gcc_config_rs6000_darwin.h
===================================================================
RCS file: patches/patch-gcc_config_rs6000_darwin.h
diff -N patches/patch-gcc_config_rs6000_darwin.h
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-gcc_config_rs6000_darwin.h 8 Jan 2015 15:28:35 -0000
@@ -0,0 +1,18 @@
+Bug #63703 in GCC Bugzilla
+Index: gcc/config/rs6000/darwin.h
+===================================================================
+--- gcc/config/rs6000/darwin.h (revision 218017)
++++ gcc/config/rs6000/darwin.h (working copy)
+@@ -206,7 +206,11 @@ extern int darwin_emit_branch_islands;
+ "vrsave", "vscr", \
+ "spe_acc", "spefscr", \
+ "sfp", \
+- "tfhar", "tfiar", "texasr" \
++ "tfhar", "tfiar", "texasr", \
++ "rh0", "rh1", "rh2", "rh3", "rh4", "rh5", "rh6", "rh7", \
++ "rh8", "rh9", "rh10", "rh11", "rh12", "rh13", "rh14", "rh15", \
++ "rh16", "rh17", "rh18", "rh19", "rh20", "rh21", "rh22", "rh23", \
++ "rh24", "rh25", "rh26", "rh27", "rh28", "rh29", "rh30", "rh31" \
+ }
+
+ /* This outputs NAME to FILE. */
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->sevan
Responsible-Changed-By: sevan@NetBSD.org
Responsible-Changed-When: Wed, 21 Jan 2015 07:27:34 +0000
Responsible-Changed-Why:
Take my ticket
From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/49548: Unbreak lang/gcc49 on PowerPC Macintosh
Date: Wed, 21 Jan 2015 17:55:04 +0000
On Thu, Jan 08, 2015 at 03:35:00PM +0000, venture37@geeklan.co.uk wrote:
> There appears to be a regression in the latest version of GCC 4.9.x which impacts PowerPC based Macs
> Include patch from GCC bugzilla bug #63703 which resolves the issue
I think you should go ahead and commit that.
--
David A. Holland
dholland@netbsd.org
From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/49548: Unbreak lang/gcc49 on PowerPC Macintosh
Date: Wed, 21 Jan 2015 18:13:12 +0000
On Wed, Jan 21, 2015 at 06:00:01PM +0000, David Holland wrote:
> On Thu, Jan 08, 2015 at 03:35:00PM +0000, venture37@geeklan.co.uk wrote:
> > There appears to be a regression in the latest version of GCC 4.9.x which impacts PowerPC based Macs
> > Include patch from GCC bugzilla bug #63703 which resolves the issue
>
> I think you should go ahead and commit that.
with one little detail: patch files should begin with a $NetBSD$ line.
(if you use pkgdiff to generate them, it sees to that for you)
--
David A. Holland
dholland@netbsd.org
From: "Sevan Janiyan" <sevan@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/49548 CVS commit: pkgsrc/lang/gcc49
Date: Thu, 22 Jan 2015 01:22:48 +0000
Module Name: pkgsrc
Committed By: sevan
Date: Thu Jan 22 01:22:48 UTC 2015
Modified Files:
pkgsrc/lang/gcc49: distinfo
Added Files:
pkgsrc/lang/gcc49/patches: patch-gcc_config_rs6000_darwin.h
Log Message:
Closes PR pkg/49548
Reviewed by benz@ dholland@
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/lang/gcc49/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/lang/gcc49/patches/patch-gcc_config_rs6000_darwin.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: sevan@NetBSD.org
State-Changed-When: Thu, 22 Jan 2015 01:32:11 +0000
State-Changed-Why:
Patch commited
>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.