pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/49548: Unbreak lang/gcc49 on PowerPC Macintosh
>Number: 49548
>Category: pkg
>Synopsis: Unbreak lang/gcc49 on PowerPC Macintosh
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jan 08 15:35:00 +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. */
Home |
Main Index |
Thread Index |
Old Index