Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp10061945rwr; Fri, 12 May 2023 03:18:25 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6cIwsyuaN+AmznbeHGNb3oooPY6mW4hSTaS6//HyJQ/GX/cocm6Q4gzKC0L36MSshIWmrN X-Received: by 2002:a05:6a00:9a7:b0:638:7c22:6fd with SMTP id u39-20020a056a0009a700b006387c2206fdmr36293186pfg.1.1683886705078; Fri, 12 May 2023 03:18:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683886705; cv=none; d=google.com; s=arc-20160816; b=gmWZnLya0o1ouKHWRg6e8otA+vYn87sLVOsbWpp7/ot9iP9kcUtKR2BNBLy6gxgT25 OG4VUflSI4t4QBTD1S6PHyoZvDQhDw7hqalf+yEeFvfy0TztxD+3OcqRMXi0RHcbPAKe U7prIoJZDyLLIE+ll0+VW8lKE69IEibsd6rN0LPGrfoyAtDhpeCNe5xmzQ9VCa7j7nAK NAFriHPJRhCl8nFhEnivxr+qi9k7+7tw8/P4xlaWSqBSsWsadC/8i5WXJwAhcFoJk7iR G73tDzH7OS/CYGco91XKfQtWNTaaz/qV0czr83YxKgpb9eX2muVh8TC657OmozcEft7w +dCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:subject:references:cc:to:user-agent:mime-version :date:message-id; bh=4Lj467cfm4tr4Bf5blcVaio3eEkx2dbsAFmpyodgYec=; b=EC8IMb4kqRKbBjNpbIN7PMufKfGKctsCx53rTjRmUuHCjQfxqaR7/1YE0ZzXRmVhrW TRHtiUgRQw/gG29GNLW0CJC5GSwNZA6OW44JNaDeVHSUv00dVqcEYc0mwgPE2sXb3Nqc Qto4z36YShSVoJ5S5cOnQsgueVefQOxIjbBZSwNnJA7NGokbVAoH1cZE1A7+wQ2jPDBw ip3PcnIOMSNQsPzfZgWIUqY/DRxLCaj+oW/4zqZSdWM2UmLtyF58x6uzI/B0ZuR6VVCq 5MW6YGweMzHwv5AWchH+72irDKu4nTfdm/k4yfyu8nJAxKrx2rE0gTGUXPzMnqY57U6H finw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r188-20020a632bc5000000b0051b2e37e657si8816500pgr.719.2023.05.12.03.18.11; Fri, 12 May 2023 03:18:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240091AbjELKLg (ORCPT + 99 others); Fri, 12 May 2023 06:11:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39182 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240013AbjELKLe (ORCPT ); Fri, 12 May 2023 06:11:34 -0400 Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1F356106D3; Fri, 12 May 2023 03:10:59 -0700 (PDT) Received: from dggpemm500016.china.huawei.com (unknown [172.30.72.57]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4QHktL6xytz18LRW; Fri, 12 May 2023 18:06:02 +0800 (CST) Received: from [10.67.108.26] (10.67.108.26) by dggpemm500016.china.huawei.com (7.185.36.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Fri, 12 May 2023 18:10:15 +0800 Message-ID: Date: Fri, 12 May 2023 18:10:15 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 To: CC: , , , , , , , , , , , , , , , References: <20221226184537.744960-1-masahiroy@kernel.org> Subject: Re: [PATCH v2] arch: fix broken BuildID for arm64 and riscv Content-Language: en-US From: "chenjiahao (C)" In-Reply-To: <20221226184537.744960-1-masahiroy@kernel.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.67.108.26] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To dggpemm500016.china.huawei.com (7.185.36.25) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-6.1 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, It seems this patch introduces a compile error on powerpc 85xx platform with CONFIG_RELOCATABLE enabled. To reproduce the problem, I compiled the mainline linux kernel with patch 99cb0d917ffa ("arch: fix broken BuildID for arm64 and riscv"), using configure file: arch/powerpc/configs/85xx-32bit.config and enabled CONFIG_RELOCATABLE manually. Then the compile log with Segmentation fault appeared as below:   ...   AR      fs/proc/built-in.a   AR      fs/built-in.a   AR      built-in.a   AR      vmlinux.a   LD      vmlinux.o   OBJCOPY modules.builtin.modinfo   GEN     modules.builtin   MODPOST vmlinux.symvers   UPD     include/generated/utsversion.h   CC      init/version-timestamp.o   LD      .tmp_vmlinux.kallsyms1 Segmentation fault (core dumped) scripts/Makefile.vmlinux:34: recipe for target 'vmlinux' failed make[1]: *** [vmlinux] Error 139 Makefile:1252: recipe for target 'vmlinux' failed make: *** [vmlinux] Error 2 Could anyone reproduce above error, or have I missed anything else? Thanks, Jiahao