Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1458664pxb; Mon, 11 Oct 2021 06:31:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxaxpkbXW7K9iUtv4DEXosrqTHUuA7wL5Ls8NUGXKWyOqOYEv8pFJtWl9z0SG4ACQuOkHlV X-Received: by 2002:a17:906:7007:: with SMTP id n7mr25253719ejj.275.1633959067994; Mon, 11 Oct 2021 06:31:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633959067; cv=none; d=google.com; s=arc-20160816; b=UGHUUOp5Ec/tcOvDOr1RS6JYDmTDhyeaHvuIlg6TWCHLcUvfAVJS9C6dU1vqysmTwb Qu3OgkM5aOVEJ1uf/w7wRTUS2uirzLf+alNBl8RB4GHIO4A2prL5SZw9m0NsL5Gjw7mn sqF1j6Lkw7BxWPOO2xP9MX+8V+kGyO30Tg66E84ceCprcSGlGpiAQ5sDwcK3gpujAbTg hrBW48H3SiJkOKUrW6KaR+xdTdZ6pkpTecM/1KSChpBllRVO7AGKgL16sTkDPx1gv8w8 nbPHrvo/9Cgrxc781YQZ8/QeRxrGOA9NLIiM85ILv+VlZdrxtNB2itSB/ZC0ftjGUri8 Raig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:in-reply-to:content-disposition :references:message-id:subject:cc:to:from:date:dkim-signature; bh=WCNQW008KqRadTwMEqOJX2IJ4+dVZVQvodrIMlZrvdQ=; b=SrfOSbT7JW2fyDBelfa7+xj19cuMqHCAX/6UCneKyjO46dF7te8sl0ZosD0nNEamIB h2sX8jlgv2Nk7IO3jTOD7wT0ns38R4R+ePGIxrBlYhaA69Jr+OyI7fe32gA8tuyHWId/ zLY7TEOH5tay4nzptWHKLEi9B9k+CXw1SnwkxImwuIa1UTW6fJOGk30qmXCC5w7NsvlL va6kIO/g1IF5N2oCpGRowCcbzAhxhGR51ILUkM+2rbwn3qhfx9VxU78wzlXXDhg+/lby rBMYkPNMQ4asuhx3JRlcv7BvPtNXE/KYZHG1DwKOIsosPLqhBzP7Py8xabdlr8rpUHiR +u3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=GmGL0WOz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x44si11437315ede.453.2021.10.11.06.30.42; Mon, 11 Oct 2021 06:31:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=GmGL0WOz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235725AbhJKKDW (ORCPT + 99 others); Mon, 11 Oct 2021 06:03:22 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:52410 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S235602AbhJKKDV (ORCPT ); Mon, 11 Oct 2021 06:03:21 -0400 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 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.