On Wed, Jul 08, 2015 at 04:18:47PM -0400, DJ Delorie wrote:
Version 2 of the patch to enable the configure options
--with-arch=native and --with-tune=native.
This patch broke cross-compiling with --target=s390-*
s390_host_detect_local_cpu is only defined if the --host is s390-*
but
Sorry about that. Does the attached Patch fix the problem?
Yup. Thanks!
Version 2 of the patch to enable the configure options
--with-arch=native and --with-tune=native.
This patch broke cross-compiling with --target=s390-*
s390_host_detect_local_cpu is only defined if the --host is s390-*
but EXTRA_SPEC_FUNCTIONS refers to it when --target is s390-*
On Tue, May 26, 2015 at 12:06:51PM +0100, Dominik Vogt wrote:
+ f = fopen (/proc/cpuinfo, r);
+ if (f == NULL)
+return NULL;
+
+ while (fgets (buf, sizeof (buf), f) != NULL)
+if (strncmp (buf, processor, sizeof (processor) - 1) == 0)
+ {
+ if (strstr (buf, machine =
.
* config/s390/s390.c (s390_option_override): Catch unhandled
PROCESSOR_NATIVE
From 3cc593974d299bf2f2c7f5f47fa6ff3524115e04 Mon Sep 17 00:00:00 2001
From: Dominik Vogt v...@linux.vnet.ibm.com
Date: Tue, 5 May 2015 12:49:23 +0100
Subject: [PATCH] S390: Support -mtune=native
...@linux.vnet.ibm.com
Date: Tue, 5 May 2015 12:49:23 +0100
Subject: [PATCH] S390: Support -mtune=native and -march=native.
---
gcc/config.host | 4 ++
gcc/config/s390/driver-native.c | 91 +
gcc/config/s390/s390-opts.h | 1 +
gcc/config/s390