pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/gcc6



Module Name:    pkgsrc
Committed By:   maya
Date:           Sun May 28 01:22:39 UTC 2017

Modified Files:
        pkgsrc/lang/gcc6: distinfo
Added Files:
        pkgsrc/lang/gcc6/patches: patch-gcc_config_arm_arm.h

Log Message:
gcc6: add patch that helps netbsd/arm builds continue

those builds are still broken, but it will help if someone addresses it.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/lang/gcc6/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/gcc6/patches/patch-gcc_config_arm_arm.h

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

Modified files:

Index: pkgsrc/lang/gcc6/distinfo
diff -u pkgsrc/lang/gcc6/distinfo:1.5 pkgsrc/lang/gcc6/distinfo:1.6
--- pkgsrc/lang/gcc6/distinfo:1.5       Fri Dec 30 00:22:44 2016
+++ pkgsrc/lang/gcc6/distinfo   Sun May 28 01:22:38 2017
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2016/12/30 00:22:44 maya Exp $
+$NetBSD: distinfo,v 1.6 2017/05/28 01:22:38 maya Exp $
 
 SHA1 (gcc-6.3.0.tar.bz2) = 928ab552666ee08eed645ff20ceb49d139205dea
 RMD160 (gcc-6.3.0.tar.bz2) = 38d297e66ff27786f52ccc2b3a006cd1b056b0f7
@@ -10,6 +10,7 @@ SHA512 (isl-0.14.tar.bz2) = 117c0c6f31d9
 Size (isl-0.14.tar.bz2) = 1399896 bytes
 SHA1 (patch-gcc_Makefile.in) = 41d45e8988b59e6ffa7adb7833290d39fc1fd0e1
 SHA1 (patch-gcc_config.gcc) = 84fedf863c853c40bf81884f5db3617200f0d31d
+SHA1 (patch-gcc_config_arm_arm.h) = e69b7f89ba245847f58253675a16749890b9d1ae
 SHA1 (patch-gcc_config_netbsd-protos.h) = 6d28864b4ccc8c1a63fe28e43601b84b63a00633
 SHA1 (patch-gcc_config_netbsd-stdint.h) = 025fc883101a187e84ed4c0772406720d645d550
 SHA1 (patch-gcc_config_netbsd.c) = 3c09521e1803633a3643cf396a03f1f433ec869b

Added files:

Index: pkgsrc/lang/gcc6/patches/patch-gcc_config_arm_arm.h
diff -u /dev/null pkgsrc/lang/gcc6/patches/patch-gcc_config_arm_arm.h:1.1
--- /dev/null   Sun May 28 01:22:39 2017
+++ pkgsrc/lang/gcc6/patches/patch-gcc_config_arm_arm.h Sun May 28 01:22:38 2017
@@ -0,0 +1,20 @@
+$NetBSD: patch-gcc_config_arm_arm.h,v 1.1 2017/05/28 01:22:38 maya Exp $
+
+driver-arm.o is only included for freebsd/arm and linux/arm, and
+it is responsible for the definition of host_detect_local_cpu.
+
+Without it, we get an undefined reference.
+
+GCC bugzilla #77800
+
+--- gcc/config/arm/arm.h.orig  2016-04-01 14:58:53.000000000 +0000
++++ gcc/config/arm/arm.h
+@@ -2247,7 +2247,7 @@ extern const char *arm_rewrite_mcpu (int
+ 
+ /* -mcpu=native handling only makes sense with compiler running on
+    an ARM chip.  */
+-#if defined(__arm__)
++#if defined(__arm__) && (defined(__linux__) || defined(__FreeBSD__))
+ extern const char *host_detect_local_cpu (int argc, const char **argv);
+ # define EXTRA_SPEC_FUNCTIONS                                         \
+   { "local_cpu_detect", host_detect_local_cpu },                      \



Home | Main Index | Thread Index | Old Index