Received: by 10.213.65.68 with SMTP id h4csp879205imn; Wed, 14 Mar 2018 03:00:33 -0700 (PDT) X-Google-Smtp-Source: AG47ELsIP0DKqELhCzpSXHCV4YEex2isbQ3TjFtHc0/KTYKf2lyeSzU1+/V8yFjHdcqOVUI8k3Wm X-Received: by 10.98.15.72 with SMTP id x69mr3696980pfi.16.1521021633080; Wed, 14 Mar 2018 03:00:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521021633; cv=none; d=google.com; s=arc-20160816; b=TW850kA5FKL4NleVxG6Gv+EUpuq9YsvxgSU52XhGSjSplTOlSC8F1wgErvvsFJPo1A pjuUdntMSVQOdWKb0tQB94kKs2IsiCKmhEhKUwsa/T+O9fWY1EQ2Z1v4LtrqFd9NMtPw UGRD3NEccjVQsSGZFv7XFvabGue1GxL+t4akXZZiN/QmXkAuJDfsts1xiPnf62i+cIqL pKUyD7wkU+D8KoOEmdyPi1ce1AkOy2VAAJMMEV4T8zHL45cq3OUttZI4qkva+d2lvKdE MjvByRQNzzjMdgnzRASh/k27a64hVgenKLt7xmDtD14We7TWESKQu5EgZ0cwZoO74CbL qeuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:content-transfer-encoding :mime-version:references:in-reply-to:date:cc:to:from:subject :arc-authentication-results; bh=DLwHr3XBsyxbU6y6i1cA/7EOGJ7EWgCBvZ5pHI0YA/s=; b=b11m+gSg6SUclro/elcmeOWd6oSUuASiB09wsuE59epCGZpMT+4k1GeSoJjhZuVRew bGN55FlRQRKxlL78lSN7RfIGgavJLHOhlQeQzxkva0ZTvdlEwwsLXLPv8XWCk9ojvRyx s3SAVG6YEzVpD3szlbZXQeWAb8jR9DTA2lB26fxG+LDPns+I/WTecL2Hq3nCJjN0ENZ4 E4tzitWKre2sK+INzYmozsz1bErUG2tEnPZDQ3FJaPLptAYKVvCSGE0pySk+QxExFVve wGLj/4hOpdYhcgdAXHCqnEI/2hI0ABtPxvbbSjT9gal+vP+PlYuCnbrK6XIsGDXq7r9U NYTw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v68si1623966pgv.722.2018.03.14.03.00.17; Wed, 14 Mar 2018 03:00:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751666AbeCNJ7S (ORCPT + 99 others); Wed, 14 Mar 2018 05:59:18 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:57002 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751413AbeCNJ7R (ORCPT ); Wed, 14 Mar 2018 05:59:17 -0400 Received: from pps.filterd (m0098416.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w2E9xERU071979 for ; Wed, 14 Mar 2018 05:59:16 -0400 Received: from e19.ny.us.ibm.com (e19.ny.us.ibm.com [129.33.205.209]) by mx0b-001b2d01.pphosted.com with ESMTP id 2gpxp8etqv-1 (version=TLSv1.2 cipher=AES256-SHA256 bits=256 verify=NOT) for ; Wed, 14 Mar 2018 05:59:15 -0400 Received: from localhost by e19.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 14 Mar 2018 05:59:13 -0400 Received: from b01cxnp22035.gho.pok.ibm.com (9.57.198.25) by e19.ny.us.ibm.com (146.89.104.206) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Wed, 14 Mar 2018 05:59:09 -0400 Received: from b01ledav006.gho.pok.ibm.com (b01ledav006.gho.pok.ibm.com [9.57.199.111]) by b01cxnp22035.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w2E9x9mx49610880; Wed, 14 Mar 2018 09:59:09 GMT Received: from b01ledav006.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 0CAD1AC041; Wed, 14 Mar 2018 06:00:25 -0400 (EDT) Received: from [9.109.248.135] (unknown [9.109.248.135]) by b01ledav006.gho.pok.ibm.com (Postfix) with ESMTP id 47176AC040; Wed, 14 Mar 2018 06:00:23 -0400 (EDT) Subject: Re: [linux-next][bisected c7c133f3][gcc 4.8.5] build fail with error: first argument to =?UTF-8?Q?=E2=80=98=5F=5Fbuiltin=5Fchoose=5Fexpr=E2=80=99?= not a constant From: Abdul Haleem To: Stephen Rothwell Cc: linuxppc-dev , linux-next , linux-kernel , Kees Cook , mpe , sachinp Date: Wed, 14 Mar 2018 15:29:06 +0530 In-Reply-To: <20180314193957.5f835d33@canb.auug.org.au> References: <1521016194.31953.9.camel@abdul.in.ibm.com> <20180314193957.5f835d33@canb.auug.org.au> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu1 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 x-cbid: 18031409-0056-0000-0000-0000042D5008 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00008671; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000254; SDB=6.01002856; UDB=6.00510322; IPR=6.00782186; MB=3.00020027; MTD=3.00000008; XFM=3.00000015; UTC=2018-03-14 09:59:12 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18031409-0057-0000-0000-0000086F50A0 Message-Id: <1521021546.31953.12.camel@abdul.in.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-03-14_05:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1803140117 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2018-03-14 at 19:39 +1100, Stephen Rothwell wrote: > Hi Abdul, > > On Wed, 14 Mar 2018 13:59:54 +0530 Abdul Haleem wrote: > > > > Today's next kernel fails to build with gcc 4.8.5 on powerpc machine. > > Thanks for the report. Just for the future, please include the > next-XXXXXXXX tag when making reports about linux-next. Sure, I will. next-20180313 is the bad tag > > > ./include/linux/jiffies.h: In function ‘jiffies_delta_to_clock_t’: > > ./include/linux/kernel.h:855:2: error: first argument to ‘__builtin_choose_expr’ not a constant > > __builtin_choose_expr(__builtin_constant_p(x) && \ > > ^ > > ./include/linux/kernel.h:867:19: note: in expansion of macro ‘__max’ > > #define max(x, y) __max(typeof(x), typeof(y), x, y) > > > > Machine Type: Power8 Baremetal > > gcc: 4.8.5 > > > > > > Builds fine when below patch is reverted > > c7c133f3 kernel.h: skip single-eval logic on literals in min()/max() > > Those patches have been removed from today's linux-next (next-20180314). -- Regard's Abdul Haleem IBM Linux Technology Centre