From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A21E62C81 for ; Mon, 11 Oct 2021 10:01:20 +0000 (UTC) Received: from pps.filterd (m0098413.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 19B938RY021282; Mon, 11 Oct 2021 06:01:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=date : from : to : cc : subject : message-id : references : content-type : in-reply-to : mime-version; s=pp1; bh=WCNQW008KqRadTwMEqOJX2IJ4+dVZVQvodrIMlZrvdQ=; b=GmGL0WOzVowCFmYLDtnYmlEVWSiAIMvDubcuzEeu3q5Z6JHAsT/nEHi+tufCwmYmwAF9 fiU4kEEfcsLoOXBRPChU75uyfrdsvXBT+iMhdSS7wXXMvBRbwNZgrWtRBJIzWdaaxx6R r4ycO9ZlNL+UCOFMG2zc5bE9iZBpw4Y18LZNl1itwRMdAfI5Hi9IhwYbSwlNu1EITSKh BSYsvCJiNwXli/m3XhPJy4p1O7EmzeTijy0MdCSXbSyrsIkMGSucnuqMcoSZHZ58Kuwx byUE7xB/m2Woj6eRjgFJbgylF0lOlCAl4rt1flcFrevDCob3329YK5z3XFyaSLQLoqJO 2Q== Received: from pps.reinject (localhost [127.0.0.1]) by mx0b-001b2d01.pphosted.com with ESMTP id 3bmj9s13ku-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 11 Oct 2021 06:01:11 -0400 Received: from m0098413.ppops.net (m0098413.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.43/8.16.0.43) with SMTP id 19B9S7Fu030037; Mon, 11 Oct 2021 06:01:11 -0400 Received: from ppma06ams.nl.ibm.com (66.31.33a9.ip4.static.sl-reverse.com [169.51.49.102]) by mx0b-001b2d01.pphosted.com with ESMTP id 3bmj9s13k0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 11 Oct 2021 06:01:11 -0400 Received: from pps.filterd (ppma06ams.nl.ibm.com [127.0.0.1]) by ppma06ams.nl.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 19B9vmlt021154; Mon, 11 Oct 2021 10:01:09 GMT Received: from b06cxnps4076.portsmouth.uk.ibm.com (d06relay13.portsmouth.uk.ibm.com [9.149.109.198]) by ppma06ams.nl.ibm.com with ESMTP id 3bk2bhvj5n-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 11 Oct 2021 10:01:09 +0000 Received: from d06av25.portsmouth.uk.ibm.com (d06av25.portsmouth.uk.ibm.com [9.149.105.61]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 19BA0pHq60490126 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 11 Oct 2021 10:00:51 GMT Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id A2C7A11C069; Mon, 11 Oct 2021 10:00:51 +0000 (GMT) Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 22A0B11C073; Mon, 11 Oct 2021 10:00:51 +0000 (GMT) Received: from osiris (unknown [9.145.33.245]) by d06av25.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Mon, 11 Oct 2021 10:00:51 +0000 (GMT) Date: Mon, 11 Oct 2021 12:00:49 +0200 From: Heiko Carstens To: Naresh Kamboju Cc: llvm@lists.linux.dev, linux-s390@vger.kernel.org, clang-built-linux , open list , Nathan Chancellor , Nick Desaulniers , Alexander Egorenkov , Christian Borntraeger , Vasily Gorbik , Andreas Krebbel , Ulrich Weigand , Jonas Paulsson Subject: Re: clang-13: s390/kernel/head64.S:24:17: error: invalid operand for instruction Message-ID: References: Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-TM-AS-GCONF: 00 X-Proofpoint-GUID: IkMHF_JJLk0yR1ir2y9ttGHU4E_89xur X-Proofpoint-ORIG-GUID: 4joU-_84x3xGn-j9pomuJqH9vVMSAvf1 X-Proofpoint-UnRewURL: 0 URL was un-rewritten Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.391,FMLib:17.0.607.475 definitions=2021-10-11_03,2021-10-07_02,2020-04-07_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 suspectscore=0 mlxlogscore=853 clxscore=1011 mlxscore=0 adultscore=0 bulkscore=0 priorityscore=1501 spamscore=0 impostorscore=0 phishscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2109230001 definitions=main-2110110057 On Mon, Oct 11, 2021 at 11:47:42AM +0530, Naresh Kamboju wrote: > [Please ignore this email if it is already reported ] > > Following s390 builds failed due to warnings / errors. > > metadata: > git_describe: v5.15-rc5 > git_repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > git_short_log: 64570fbc14f8 (\"Linux 5.15-rc5\") > target_arch: s390 > toolchain: clang-13 > > > Fail (2861 errors) s390 (tinyconfig) with clang-nightly > @ https://builds.tuxbuild.com/1zL35IUSGhDGeVuyIrAp7eyzEUi/ > Fail (2861 errors) s390 (tinyconfig) with clang-13 > @ https://builds.tuxbuild.com/1zL35Hn7wjErKsLDM6zAgh27BYJ/ > Fail (4112 errors) s390 (allnoconfig) with clang-13 > @ https://builds.tuxbuild.com/1zL35HR60hSFvBmAcYJvKHm8Lko/ > Fail (4112 errors) s390 (allnoconfig) with clang-nightly > @ https://builds.tuxbuild.com/1zL35DTlrX9qRGCtGqgtmmMDjnQ/ > Fail (23048 errors) s390 (defconfig) with clang-13 > @ https://builds.tuxbuild.com/1zL35DE2KWQUPxbbXeTbwIJaWXS/ > Fail (23045 errors) s390 (defconfig) with clang-nightly > @ https://builds.tuxbuild.com/1zL35EgeQfWQDXDupp4itkUO5At/ > > > Build errors log: > ---------------- > arch/s390/kernel/head64.S:24:17: error: invalid operand for instruction > lctlg %c0,%c15,.Lctl-.LPG1(%r13) # load control registers > ^ > arch/s390/kernel/head64.S:40:8: error: invalid operand for instruction > lpswe .Ldw-.(%r13) # load disabled wait psw You need to pass LLVM_IAS=0 on the make command line on s390 since commit f12b034afeb3 ("scripts/Makefile.clang: default to LLVM_IAS=1"). LLVM's integrated assembler doesn't seem to work well when compiling the kernel for s390 yet.