From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) (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 A38DD2BDC13 for ; Wed, 15 Oct 2025 03:38:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=148.163.156.1 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760499498; cv=none; b=OQ6Kh3pBiLFKETjOA6qUw+tUeErDuHmQbq/9TY7Uu6N15TAcOJ6WGc6qpBfRmgeK3TJSuE+n+3V3IEqvxLuJRHqlVl7IhSTqqydI5hVIF6yWanET1nzvi79lFBF78LwY/dbDgIYAUbOspRlUh+fioha6M4dnXKCGxN7D/SfH2Jk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760499498; c=relaxed/simple; bh=pEonomj0fLSNJmTz+pI0qR2KMrsnM0wkX9R9oldfo04=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=dZSzNQTAHMaG/NZ4DaUvCqaVlOXonVBF82w2MCEOk5A5/XclInCYkqiPRW8xw3T+0m2AszrzJxtF9uXFv2kl7HMzNnZyITF+MuBzrCKjKJFF5ad0uTjh5Zh+f53rroxN3QqoV5NLyeO60by1pnc2YUj3lSkWERxCJ77p1Eln4cU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.ibm.com; spf=pass smtp.mailfrom=linux.ibm.com; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b=c6R36xCe; arc=none smtp.client-ip=148.163.156.1 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.ibm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.ibm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b="c6R36xCe" Received: from pps.filterd (m0356517.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 59EHlvuK021187; Wed, 15 Oct 2025 03:38:04 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=cc :content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to; s=pp1; bh=JhcohmxMF8CEt4uB5tXm35fRtqDNhH zChbRDG+yKgEA=; b=c6R36xCelyC067BnkUlWO9WUPasN1rRpy0/oXe6OWcShL1 7BeHYsikJWfmwSL8AxKl+kkZB0HNO+CoPGOOcLaSFpKIcN2EdCMmY47xhgRCZa7i 9bcvRfZWvVMRtKFWnybI78tLiAnuk2R4eLc4F+t0JtWWlkPwhRKX021w2HYpKunC fFGaiJFWtAWRjHLIDZYjrgaen0awSYPJMP6rIlMERyq/Uv0O8zvlSIxl1Hy2Vn7f pzivfhgqNXJsgarfmBTa1WZ4MxP2U37EM9QP5My8OUudr85ZZpdJcGwYa96yfYFB ogV08GNV0fW7Z1QCIRW8RrvAFBz7pT7WHcmMeKgQ== Received: from ppma11.dal12v.mail.ibm.com (db.9e.1632.ip4.static.sl-reverse.com [50.22.158.219]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 49qey8t8j4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 15 Oct 2025 03:38:04 +0000 (GMT) Received: from pps.filterd (ppma11.dal12v.mail.ibm.com [127.0.0.1]) by ppma11.dal12v.mail.ibm.com (8.18.1.2/8.18.1.2) with ESMTP id 59EN1jDU018372; Wed, 15 Oct 2025 03:38:03 GMT Received: from smtprelay01.fra02v.mail.ibm.com ([9.218.2.227]) by ppma11.dal12v.mail.ibm.com (PPS) with ESMTPS id 49s3rf7vqs-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 15 Oct 2025 03:38:03 +0000 Received: from smtpav06.fra02v.mail.ibm.com (smtpav06.fra02v.mail.ibm.com [10.20.54.105]) by smtprelay01.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 59F3c1p553281032 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 15 Oct 2025 03:38:01 GMT Received: from smtpav06.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 8BC7B200EB; Wed, 15 Oct 2025 03:38:01 +0000 (GMT) Received: from smtpav06.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 82CF3200EE; Wed, 15 Oct 2025 03:37:58 +0000 (GMT) Received: from linux.ibm.com (unknown [9.39.24.169]) by smtpav06.fra02v.mail.ibm.com (Postfix) with ESMTPS; Wed, 15 Oct 2025 03:37:58 +0000 (GMT) Date: Wed, 15 Oct 2025 09:07:54 +0530 From: Vishal Chourasia To: Nathan Chancellor Cc: Christophe Leroy , maddy@linux.ibm.com, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, clang-built-linux@googlegroups.com, "llvm@lists.linux.dev" Subject: Re: [PATCH] arch/powerpc: Remove .interp section in vmlinux Message-ID: References: <20251013040148.560439-1-vishalc@linux.ibm.com> <2b4a3215-1620-40c9-a00c-ca833ebbb7b6@csgroup.eu> <20251015002154.GA2300901@ax162> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20251015002154.GA2300901@ax162> X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: UlRR5dnw_0Bhrnv_jkvBzNgkZQJE8_KD X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMDExMDAxMSBTYWx0ZWRfXz5JUHGeoVQns a+L09qm1y4zdDG2vGYL7SyGLxbGVhGyTnzE4zf2jYGQCkbIghhj1FxHEdkxiGdoEgIrsSeYyics Yg3ClyE/ZP5nGgpoUKMIKH/JDE2Z0E/MeGQzlYUclF3JkW+i/BvyazUHeTFOvxC98W6pHE8YUmw vZInIZtSVhAyEcQAOIuWsojg7R2Ig1XnF6plPv1Ae9NpmitrBQIIDnS1XddLGew9Y6bK13zE+8n gNN0An5e+8YPvd4dSnhM6jt4K9IgHzy+7Pg/o89Hxqs3ko7oolzKu5Na+309G47MXaR1nXmWBCI YWwh1B5P4wN5nTunzmHTU05kmvIwvLBRvspvhLsPVEe/lNNvN9+y1Imt8q0BEY1ulVy6E8lRs/W di3FzZ2WsUisYWIuuY6xgVPu3zuv9w== X-Proofpoint-GUID: UlRR5dnw_0Bhrnv_jkvBzNgkZQJE8_KD X-Authority-Analysis: v=2.4 cv=QZ5rf8bv c=1 sm=1 tr=0 ts=68ef171c cx=c_pps a=aDMHemPKRhS1OARIsFnwRA==:117 a=aDMHemPKRhS1OARIsFnwRA==:17 a=kj9zAlcOel0A:10 a=x6icFKpwvdMA:10 a=VkNPw1HP01LnGYTKEx00:22 a=NEAV23lmAAAA:8 a=nk_3v9Mxg0vDHs7q2dAA:9 a=CjuIK1q_8ugA:10 a=cPQSjfK2_nFv0Q5t_7PE:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.9,FMLib:17.12.80.40 definitions=2025-10-15_01,2025-10-13_01,2025-03-28_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 priorityscore=1501 phishscore=0 bulkscore=0 suspectscore=0 spamscore=0 malwarescore=0 impostorscore=0 clxscore=1015 adultscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2510020000 definitions=main-2510110011 Hello Nathan, On Tue, Oct 14, 2025 at 05:21:54PM -0700, Nathan Chancellor wrote: > In this bug report, you mention using LLVM=1. Does the issue happen if > you use GNU ld (ld.bfd) via LD (i.e., LD=powerpc64le-linux-gnu-ld or > equivalent) over ld.lld from LLVM=1? This sounds more likely to be a > linker difference rather than a compiler difference. Thank you for the insight. Yes, when using powerpc64le-linux-gnu-ld linker .interp section is not emitted. Command: $ make LLVM=1 ARCH=powerpc LD=powerpc64le-linux-gnu-ld -j 8 zImage $ llvm-readelf -p .comment vmlinux String dump of section '.comment': [ 0] clang version 22.0.0git (https://github.com/llvm/llvm-project.git 7314565281ec28b745502c3f429fd431e16673eb) $ llvm-readelf -p .interp vmlinux llvm-readelf: warning: 'vmlinux': could not find section '.interp' vishalc