Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1661157pxb; Mon, 20 Sep 2021 02:07:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzNd3GfZy6ItnwdLZGVjxRSlJ0jEQ3HStkduXqeXpBMEaOZB1EWxDxfkPOBVYmTNr4O31bR X-Received: by 2002:a05:6402:5c2:: with SMTP id n2mr27763019edx.239.1632128870625; Mon, 20 Sep 2021 02:07:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632128870; cv=none; d=google.com; s=arc-20160816; b=z+FW0ZmRoY5F/CSLwV924wtWU6UdBRY5ZHjL+q3ZtSbW0zeK6HTSgzi5FWFa6p/xku vf8eFrZaoMbEfX7H0Ro741JlLSfpbZsTn2PIvDEeCqHIw/XCJGDzFV/ucc6I2VenWtA5 BM6ICsOJZ6ujP1pkfsnDs6pAfHXiM5F0RKFeEEIkwXqWXqLQRMr2KnOoOHWSZMUXxmUk xoVXN2SPHoHOhA8EwNOLqumAqNSszvB6y7YzLczpl8w0eWQydO4WI0qFtvSh3k7S+t6T Eipw/UOcmg2S2vTOAN0dAge0X3jOzmHYSSl1rBkXyJ4sv3MpYgqJ/AKz25JViXZQvLsL eLJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:mime-version :dkim-signature; bh=UyH5g5gkFhjfVaHvBZg29/bQ5+iZMioda5dgko5wWww=; b=QvdYc5HBaU+e8uW3b8poNMA5fTbrQNRvt5oju57ldZY/bLOrgCbw2S/0tHPZK+W/qB ne+NDfi1rR77gQGCGio4hulE/9v53pKIHCaNxvHCGq1XzDaKdjoorSPniAWtde6jixOh dAjD6ZcrS/dZ3DKYWDt87NeSLfiBlbsMhhAwJehPCdNhbGXSFgYRLgA81CeQ7fu8ho9z Anrsc8+r1jLT0RjDMV+1u6MGO/ReDlYfJRWWp+yMZXRtXg9n2PregfDHb8GjSPQzfCAI qDFWZpXMceT3YF4JorYuc1U5hSzQ07u4VtvjKcwV0GFLNGzEQCyt41pEhpAtWVPaHeRL 307g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ABbKko9j; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v12si14932524edr.87.2021.09.20.02.07.07; Mon, 20 Sep 2021 02:07:50 -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=@linaro.org header.s=google header.b=ABbKko9j; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229624AbhITD10 (ORCPT + 99 others); Sun, 19 Sep 2021 23:27:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43292 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229517AbhITD1Z (ORCPT ); Sun, 19 Sep 2021 23:27:25 -0400 Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3586CC061574 for ; Sun, 19 Sep 2021 20:25:59 -0700 (PDT) Received: by mail-ed1-x533.google.com with SMTP id v5so55103619edc.2 for ; Sun, 19 Sep 2021 20:25:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:from:date:message-id:subject:to:cc; bh=UyH5g5gkFhjfVaHvBZg29/bQ5+iZMioda5dgko5wWww=; b=ABbKko9j85x/YUs90ogi9RG63IqPMr8E+uMYqkFJ+13BuBWvIswedX7TV9bIXF6u9w OugSTSE8hxhXSlbEkTwG0BCKPnCmxfWEnVPq4zLBTJC8Dg7Oq2OG2XGWd/pnGDRCEeuS CBTpuoFFJm7qIlDQSPp5rwByYnpWMQeA/0fegw/2cAW8/p+vapn9fTE5mT8+g4OCsNDG gM41/9KSUQ+rcFG/OHRYfUzo/fc9+3uSgPi2XJnox2OI69M1Cylozniq7EoGSbRnJJOd cG0jyj6hTRuGwKfqEn0JgS75zUJY2lL/hQXYZ7AvQbLjRO7LKxwatWyUySc0lcbPez9c KMTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=UyH5g5gkFhjfVaHvBZg29/bQ5+iZMioda5dgko5wWww=; b=NWpnhLu/cU2PCdw/ZuYNfFL9RN84DvbLTJK1tJqH3olQ9LOk5+Dlmr9Hdy12vTaln3 BGnCnOhzHqdu+w5sxwn8BoCebAiJAoL2hzkN5qLhTjpEb+nxlD6Hw/WaW3DTnrR7Xuhr bJ9W5ioTBqN05SxI8puIhNE2PGPJ85PGP9X4V+7Y4K5xmzmr2SA2m/hNZd/dkSOAb228 eI0chdqE07tfFyFWykrMYj9QpU1ihB/cM3r3GcSngUn9FZzR0I8Ipo+BGEJDmelb4Ee8 qtXH1PoaezcxsV4XwMBFBrlFnce08HyDfoAqmkm7fp1L+ylQreyJdIYQMn6Q6hI6R6XI wmmQ== X-Gm-Message-State: AOAM533JVkzad3sjZTzPKjgl17IxtJqCv+rTAda18tjQlY6VPOiR8v0K Lu9Hj7sF7GmiYjBBAjVIGzMxvtB9A6RUZ+8X8RQaOw== X-Received: by 2002:a17:907:7601:: with SMTP id jx1mr25835157ejc.69.1632108357657; Sun, 19 Sep 2021 20:25:57 -0700 (PDT) MIME-Version: 1.0 From: Naresh Kamboju Date: Mon, 20 Sep 2021 08:55:46 +0530 Message-ID: Subject: x86_64: clang-10: :2:2: error: unknown use of instruction mnemonic without a size suffix To: clang-built-linux , llvm@lists.linux.dev, open list , X86 ML Cc: Nathan Chancellor , Nick Desaulniers , Linus Torvalds , Andy Lutomirski , Thomas Gleixner , Ingo Molnar Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [Please ignore this email if it is already reported ] Following build warnings/ errors noticed while building linux mainline master branch with clang-10 for x86_64 architecture. But clang-11, clang-12 and clang-13 build pass. :2:2: error: unknown use of instruction mnemonic without a size suffix lsl %rax, %rax ^ :1:1: note: while in macro instantiation LOAD_CPU_AND_NODE_SEG_LIMIT %rax ^ :2:2: note: while in macro instantiation GET_PERCPU_BASE %rax ^ /builds/linux/arch/x86/entry/entry_64.S:887:2: note: while in macro instantiation SAVE_AND_SET_GSBASE scratch_reg=%rax save_reg=%rbx ^ make[3]: *** [/builds/linux/scripts/Makefile.build:379: arch/x86/entry/entry_64.o] Error 1 arch/x86/entry/entry_64_compat.o: warning: objtool: .entry.text+0x215: can't find jump dest instruction at .entry.text+0x21a make[3]: Target '__build' not remade because of errors. make[2]: *** [/builds/linux/scripts/Makefile.build:540: arch/x86/entry] Error 2 make[2]: Target '__build' not remade because of errors. make[1]: *** [/builds/linux/Makefile:1868: arch/x86] Error 2 Build config: https://builds.tuxbuild.com/1yNlOcqNwVJJje4WbGjSV4ZeBh6/config Reported-by: Linux Kernel Functional Testing meta data: ----------- git_describe: v5.15-rc2 git_ref: git_repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git_sha: e4e737bb5c170df6135a127739a9e6148ee3da82 git_short_log: e4e737bb5c17 (\"Linux 5.15-rc2\") kconfig: [ defconfig ], target_arch: x86_64 toolchain: clang-10 steps to reproduce: tuxmake --runtime podman --target-arch x86_64 --toolchain clang-10 --kconfig defconfig https://builds.tuxbuild.com/1yNlOcqNwVJJje4WbGjSV4ZeBh6/tuxmake_reproducer.sh -- Linaro LKFT https://lkft.linaro.org