pkgsrc-Changes archive

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

CVS commit: pkgsrc/cross/arm-none-eabi-gcc



Module Name:    pkgsrc
Committed By:   mrg
Date:           Tue Feb 11 01:04:05 UTC 2020

Modified Files:
        pkgsrc/cross/arm-none-eabi-gcc: distinfo
Added Files:
        pkgsrc/cross/arm-none-eabi-gcc/patches: patch-gcc_config_arm_arm.h

Log Message:
skip host_detect_local_cpu() if CROSS_DIRECTORY_STRUCTURE.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/cross/arm-none-eabi-gcc/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/cross/arm-none-eabi-gcc/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/cross/arm-none-eabi-gcc/distinfo
diff -u pkgsrc/cross/arm-none-eabi-gcc/distinfo:1.8 pkgsrc/cross/arm-none-eabi-gcc/distinfo:1.9
--- pkgsrc/cross/arm-none-eabi-gcc/distinfo:1.8 Sun May 12 06:20:56 2019
+++ pkgsrc/cross/arm-none-eabi-gcc/distinfo     Tue Feb 11 01:04:05 2020
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2019/05/12 06:20:56 ryoon Exp $
+$NetBSD: distinfo,v 1.9 2020/02/11 01:04:05 mrg Exp $
 
 SHA1 (gcc-8.3.0.tar.xz) = c27f4499dd263fe4fb01bcc5565917f3698583b2
 RMD160 (gcc-8.3.0.tar.xz) = 59396f7136301466d0ec15eb7307558c0da692df
@@ -9,6 +9,7 @@ RMD160 (newlib-3.1.0.tar.gz) = bf4f474ef
 SHA512 (newlib-3.1.0.tar.gz) = efc4c3ab7153387780d141386bca5d3e20c9d25ae3e6b87cf94c8df9d301ce5926dacdff9bd33aeb9781559d933c3d0ae77f4e5b46120d90792f75dbfde702c7
 Size (newlib-3.1.0.tar.gz) = 17958952 bytes
 SHA1 (patch-contrib_download__prerequisites) = be9b02068b3d4d783e92bee66d480bb2bfe35a84
+SHA1 (patch-gcc_config_arm_arm.h) = 6d8cc2474cf9e902c766281315b75d6aadc42ed1
 SHA1 (patch-gcc_system.h) = 72a75ff773b9b5f3d2f16f4ec7d29e032aba5f53
 SHA1 (patch-libcc1_configure) = 0368733ddf79b109fcc7146b0baeb37ab31e634a
 SHA1 (patch-libcc1_connection.cc) = 2acd56a6f62b29ed3f02eecb7bf103e4564a442c

Added files:

Index: pkgsrc/cross/arm-none-eabi-gcc/patches/patch-gcc_config_arm_arm.h
diff -u /dev/null pkgsrc/cross/arm-none-eabi-gcc/patches/patch-gcc_config_arm_arm.h:1.1
--- /dev/null   Tue Feb 11 01:04:05 2020
+++ pkgsrc/cross/arm-none-eabi-gcc/patches/patch-gcc_config_arm_arm.h   Tue Feb 11 01:04:05 2020
@@ -0,0 +1,18 @@
+$NetBSD: patch-gcc_config_arm_arm.h,v 1.1 2020/02/11 01:04:05 mrg Exp $
+
+Disable -march=native for cross compilers.
+
+
+--- gcc/config/arm/arm.h.orig  2018-03-22 10:24:41.000000000 -0700
++++ gcc/config/arm/arm.h       2020-02-10 16:39:34.594580129 -0800
+@@ -2194,8 +2194,8 @@
+   { "target_mode_check", arm_target_thumb_only },
+ 
+ /* -mcpu=native handling only makes sense with compiler running on
+-   an ARM chip.  */
+-#if defined(__arm__)
++   an ARM chip.  Cross compile hosts may not be able to do this.  */
++#if defined(__arm__) && !defined(CROSS_DIRECTORY_STRUCTURE)
+ extern const char *host_detect_local_cpu (int argc, const char **argv);
+ #define HAVE_LOCAL_CPU_DETECT
+ # define MCPU_MTUNE_NATIVE_FUNCTIONS                  \



Home | Main Index | Thread Index | Old Index