Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp4279990pxb; Tue, 10 Nov 2020 12:16:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJwZKVfVqYvq7KydfgVMZihkVb+GX1BvE2N0VdxhOLVyLbkoIOOpZ9OwGPDcsU8E3+iaB3Zb X-Received: by 2002:a17:906:32d7:: with SMTP id k23mr21445621ejk.294.1605039364437; Tue, 10 Nov 2020 12:16:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605039364; cv=none; d=google.com; s=arc-20160816; b=vFnuKOR7SpW6pdFSaBM00w6/7T+Zo0CbpfTkQNdnYn3BEYZ7oksHP4FE87eG9/1dQP Dt6bRhfZN04qpHwhRnEjkrJDfx87JrPzqOEliGA5tTbWa4uRHofyE++lRTBqB7t5h2bB 3DvV8IsI529+IIByXIRb6FuMl0iheWNo1PIAvVqcLO42LIvdtzaeifieqgYKkHYhOzc3 nbXipyt+hoLqFM4ZJWY9N1MwaG5PhoRoHJ4WPZNexfCw7UY090ESy1TjdvpMaqouLKvZ rXk1XLo7kKdUUEuUTUorLuLErSH/XFvQaVXG4NNdGEomcC2xy0aPVW0U7ZfE+NRbqmBb qSaA== 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:in-reply-to :references:mime-version:dkim-signature; bh=dF4wNWErsCaTFjbAYZ5rOT8K7SSx1h9isfYodFGRVTA=; b=LMwrEnKlGhXiUpxOnJYAj8368AOREqEkO05fPK2hzCr8hxtZYNM4z3kkEuyFsJJgqT K+acY1JbLe9D+7LpCwJmZGVFCbxjxWwCmJSHlEicdBGk6IoKua8Lv56HJ43VCNsYTvJk 5SD8sgM6hxHt+LlW5WoAb++aZY/+hAEdelrKC8zYMDDfK7RFI3LpnIo9xvto0Tg9T+Lo LD7Lsak9HCbAFRownGBopzrAx/ub70aZjlcV0EaTdSCZ0T+kAPV6+aKtFpf5G0MYwjRR arZQVaRFYkMaBhIFLUr9BFtMaMbT+rm3NJ/tzHBzDQhtRRm/+1vxGpHEunzgeRaRLK3v jOwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=wPVJ2kjr; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j15si9694556ejb.160.2020.11.10.12.15.37; Tue, 10 Nov 2020 12:16:04 -0800 (PST) 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=@google.com header.s=20161025 header.b=wPVJ2kjr; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730979AbgKJULh (ORCPT + 99 others); Tue, 10 Nov 2020 15:11:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57858 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726428AbgKJULg (ORCPT ); Tue, 10 Nov 2020 15:11:36 -0500 Received: from mail-pg1-x541.google.com (mail-pg1-x541.google.com [IPv6:2607:f8b0:4864:20::541]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A5EABC0613D1 for ; Tue, 10 Nov 2020 12:11:36 -0800 (PST) Received: by mail-pg1-x541.google.com with SMTP id z24so11229849pgk.3 for ; Tue, 10 Nov 2020 12:11:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=dF4wNWErsCaTFjbAYZ5rOT8K7SSx1h9isfYodFGRVTA=; b=wPVJ2kjrCdXfic4OirA/w3wgoBc/It/D83vsJEJN6hm/H7G+iRjyYDIkKmgRwYzKDx hYimeswpWH+DAYxdTvefM2YJIoTW6vjLotcZa1n65Kg8Zt2457EJxJgW9Qi2Ux2e68VA /OJKNHBe1/wv2AeXEXC3/wU4IQT3e7mZjrXTemunce2bKovomyv/rQ9iqiEk7jT26aaE MhclsAIOtGp575YcYh3ISx7NPJr6v+aZ7IQCtGLWB+hnWVnKKnnDbt5aYIPpdvQ5BCaF SacUG8t5U24sunNlBeeQxoGenr+obbr+8YVAxGxxmwqW8FrYTSmpZL27Kzq+zGgKnTLD tfVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=dF4wNWErsCaTFjbAYZ5rOT8K7SSx1h9isfYodFGRVTA=; b=gSETnTTQ6O8tc9njy/34TNAzHxpS4n/pAMm4Z2DbPnpjjMEOZ6T0R5xfB1/h4SJYlV WynGATRQo+fwzfvMDv2SnkTO/humiQczcGEP8UDKAje5fxWpyvI0X5GRFYkVPVYM4GDn aQmR+W5c+Q/JK84MTImUhMbblaNaEMRXsz6fTBKPkG/7bAjPIq/qQibAs9JJHLSVOI1p hDrpX1inQhIGKFGwM+Exc2o9pa/uaoQC7p2Fd7d+mbCWczql55hyc/lI1TYVTpkuq5Em hD5HSXr3wbrQeQunGHbVT4rc/87FRDydSPR6I0WfeuF/ekY0UTtaSCZLvEhlTSe753hQ 4a1g== X-Gm-Message-State: AOAM531PYFwEYLT3LTUweVTWv8411dUv6bt6rQpqmsNDOYxDKBD/NQbi 1SwXoh17LXOU8cxoqG5Qe89efPPzYgoICxBWGG00VA== X-Received: by 2002:a17:90a:6b04:: with SMTP id v4mr867608pjj.101.1605039095998; Tue, 10 Nov 2020 12:11:35 -0800 (PST) MIME-Version: 1.0 References: <20200409232728.231527-1-caij2003@gmail.com> <20201107001056.225807-1-jiancai@google.com> In-Reply-To: From: Nick Desaulniers Date: Tue, 10 Nov 2020 12:11:24 -0800 Message-ID: Subject: Re: [PATCH v2] Make iwmmxt.S support Clang's integrated assembler To: Jian Cai Cc: Ard Biesheuvel , Manoj Gupta , Luis Lozano , clang-built-linux , Russell King , Nathan Chancellor , Linux ARM , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 10, 2020 at 12:10 PM Jian Cai wrote: > > I tried to verify with ixp4xx_defconfig, and I noticed it also used CONFIG_CPU_BIG_ENDIAN=y to enable big endianness as follows, > > linux$ grep ENDIAN arch/arm/configs/ixp4xx_defconfig > CONFIG_CPU_BIG_ENDIAN=y > > Also it appeared arch/arm/kernel/iwmmxt.o was not built with ixp4xx_defconfig. The commands I used > > linux$ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- make CC=clang ixp4xx_defconfig > linux$ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- make -j32 CC=clang > linux$ ls arch/arm/kernel/iwmmxt.o > ls: cannot access 'arch/arm/kernel/iwmmxt.o': No such file or directory > > Did I miss any steps? Yes, you need to manually enable CONFIG_IWMMXT in menuconfig or via `scripts/configs -e`. -- Thanks, ~Nick Desaulniers