From patchwork Fri May 26 17:21:30 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Koenig X-Patchwork-Id: 767488 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3wZCc41rQHz9s7f for ; Sat, 27 May 2017 03:21:56 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="T3yqpQN8"; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:to :from:subject:message-id:date:mime-version:content-type; q=dns; s=default; b=d8zwjElRfGE6A8YDV0TIC6wfQHRqFtdmS37NIwD+AG7AHVxRG2 u1DEiDeQsVVaOHfj2UujcvcESMQkkYskcFNPQG5H33paYxAk6n2bt2Dh9uZdUF3Y APnlXJX1LpXlWQ9y0Fxkpf3oYZd43iUc7vTXzdHtdocCdAO8WX0SdDaJI= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:to :from:subject:message-id:date:mime-version:content-type; s= default; bh=3Duyfy8elUZxRSzKuW7SvdAjk2s=; b=T3yqpQN8XRRWgyepfcah aZ05BO8+noDLrOCJwUxEWk4uTqAgfgZ+VoivYCyUGFxgBbET3A60Y57peuY98Y9z Rck8WujkCWJuPXKgXdIeGd3OiNPRDeJT0SjYLTKBwoxkSELww9rgdnu0y/6Eb+lo wKvS5FONNai1eE6AWu8OGpE= Received: (qmail 102456 invoked by alias); 26 May 2017 17:21:35 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 101331 invoked by uid 89); 26 May 2017 17:21:34 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-10.6 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_2, GIT_PATCH_3, KAM_ASCII_DIVIDERS, RCVD_IN_DNSWL_LOW, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 spammy= X-Spam-User: qpsmtpd, 2 recipients X-HELO: cc-smtpout3.netcologne.de Received: from cc-smtpout3.netcologne.de (HELO cc-smtpout3.netcologne.de) (89.1.8.213) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 26 May 2017 17:21:32 +0000 Received: from cc-smtpin1.netcologne.de (cc-smtpin1.netcologne.de [89.1.8.201]) by cc-smtpout3.netcologne.de (Postfix) with ESMTP id 32EE2127C9; Fri, 26 May 2017 19:21:32 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cc-smtpin1.netcologne.de (Postfix) with ESMTP id 2EC8F11D83; Fri, 26 May 2017 19:21:32 +0200 (CEST) Received: from [78.35.128.110] (helo=cc-smtpin1.netcologne.de) by localhost with ESMTP (eXpurgate 4.1.9) (envelope-from ) id 5928641c-021e-7f0000012729-7f000001836b-1 for ; Fri, 26 May 2017 19:21:32 +0200 Received: from [192.168.178.20] (xdsl-78-35-128-110.netcologne.de [78.35.128.110]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by cc-smtpin1.netcologne.de (Postfix) with ESMTPSA; Fri, 26 May 2017 19:21:30 +0200 (CEST) To: "fortran@gcc.gnu.org" , gcc-patches From: Thomas Koenig Subject: [patch, libfortran, committed] Restore bootstrap on non-x86* systems Message-ID: <6ceac3a4-dc7b-0d61-73b1-b757f033e923@netcologne.de> Date: Fri, 26 May 2017 19:21:30 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 Hello world, I have committed the attached patch as obvious as r248519 after testing that it does indeed work on powerpc64-unknown-linux-gnu and that it passes regression-test on that machine. Sorry for the breakage. I'll use the gcc compile farm machines in the future to test any such changes. Regards Thomas 2017-05-26 Thomas Koenig PR boostrap/80889 * acinclude.m4: Also set HAVE_AVX128 on the false branch of LIBGFOR_CHECK_AVX128. * configure: Regenerated. Index: acinclude.m4 =================================================================== --- acinclude.m4 (Revision 248472) +++ acinclude.m4 (Arbeitskopie) @@ -499,6 +499,6 @@ AC_DEFUN([LIBGFOR_CHECK_AVX128], [ AC_DEFINE(HAVE_AVX128, 1, [Define if -mprefer-avx128 is supported.]) AM_CONDITIONAL([HAVE_AVX128],true), - []) + [AM_CONDITIONAL([HAVE_AVX128],false)]) CFLAGS="$ac_save_CFLAGS" ]) Index: configure =================================================================== --- configure (Revision 248472) +++ configure (Arbeitskopie) @@ -26453,7 +26453,16 @@ else HAVE_AVX128_FALSE= fi +else + if false; then + HAVE_AVX128_TRUE= + HAVE_AVX128_FALSE='#' +else + HAVE_AVX128_TRUE='#' + HAVE_AVX128_FALSE= fi + +fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext CFLAGS="$ac_save_CFLAGS" @@ -26714,6 +26723,10 @@ if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAV as_fn_error "conditional \"HAVE_AVX128\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi +if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then + as_fn_error "conditional \"HAVE_AVX128\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi : ${CONFIG_STATUS=./config.status} ac_write_fail=0