From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Thu, 24 Sep 2026 11:58:55 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-wm1-f58.google.com (mail-wm1-f58.google.com [209.85.128.58]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 68O9wtjG020715 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 24 Sep 2026 11:58:55 +0200 Received: by mail-wm1-f58.google.com with SMTP id 5b1f17b1804b1-49e661c6440sf10985725e9.3 for ; Thu, 24 Sep 2026 02:58:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1790243930; cv=pass; d=google.com; s=arc-20260327; b=FYHm+4L1FGnRMbtyVCXrnPwgZgOCdlU/VkuOqZh6+yIJA6oroOqpzMlxsIQrfXNsg/ j7APKQT2FlSLw286p5JJXlPdhNlsJ6ZcVLnD5/nDOdtHISmIw8b+VY/+cNBO4E0uo+gz ERL5RNcsymUVNnbS2/8WTnYP/kSLSzz2uiXNEyzXXfaI8i9CNqkWKYyohy8C2Mdv4aRI s9SaF1R80N9uWYsUjGDJFwgABjpJcIxU2ardciaz+4lT2+/Pjw83mwzb68Td69O8WfRk s9tSjl4hakBfKKK+ThPrpiwG6r+ZnxB7xGVldne3U8CHT8HonGV0qDC7HVdPpV7wFkOs zA8w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:sender:dkim-signature; bh=KUymnP6A16sp9s9dRLQzqiB9Mhv4p/Wzgug/JAwmX1k=; fh=lxOW2/ol9CLnnpwbFXosljnpHCrIRFrp6Yt7+f41FiA=; b=CrdZJhcSwWwRmCmLbyxqH0sZMNXz6vzgXa8l+TXPJuqAECJZ3AQ1ll2bPZYajtFfc6 8zjZnDlGI1nDoUon5FUgs1CgYG/UistSM5IqdK1IZMzheJGVYBtoWLHKrdhyA/FYLIb/ yHytTt64DFT2gryzkg/I5qFhSmhYOY/KTQJzXwK4brBmwFeRWfT+7v3v/1qO9DR3vrHU HVNcaoXhr4xPm5zzfH4krPPdoxEZ1IcGhl69DB1hz1aUbkVG99IFptbdvzYw5aWKrB4w ewTxx5PYBgZlQknzbWkBVg5c+CiW3CKqYApFYZFyUBE9XF/gaPHOoEiNnCM4MFHj06wF ZG9g==; darn=ilbers.de ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of alaur@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=alaur@ilbers.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20251104; t=1790243929; x=1790848729; darn=ilbers.de; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:user-agent:content-transfer-encoding :content-type:references:in-reply-to:date:cc:to:from:subject :message-id:sender:from:to:cc:subject:date:message-id:reply-to :content-type; bh=KUymnP6A16sp9s9dRLQzqiB9Mhv4p/Wzgug/JAwmX1k=; b=pZLvgAIv6nImCSrPJ9tKqARovnNDcOMNwChAPmTEKhnEPD0ciiHB5XXXPXiQamxdNz aw6tij1XyFokEUHs9+Tkl6/tOY0gEY99Iinrq8y6CW6MBM1T8CL0bFpuhIcd/5E+gH+/ xnl5X4QoyalYD/FXJipSzAx3fBg0Pw4EZT2/cLTiC5y3wkOmwaYMmnJvT98Dpk7X+i+q DCcywF4EYnTaQ6bxWAPGBXHejV+tHvGBwkY15ahVRaaDb44KsTbA1S1TBW4mtwNODDlk zBIGDlwtWJN3SOOeYKAm8BxQzYR2W8dhA9VhuiY0/O3G33gN53BTCb09C11n8DBXqBCp Eo3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1790243929; x=1790848729; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :user-agent:content-transfer-encoding:content-type:references :in-reply-to:date:cc:to:from:subject:message-id:x-beenthere :x-gm-message-state:sender:from:to:cc:subject:date:message-id :reply-to:content-type; bh=KUymnP6A16sp9s9dRLQzqiB9Mhv4p/Wzgug/JAwmX1k=; b=kdSeKitFspI77vIFzkkZKXDiK0R8ohvgkGviUUEEeRvwBmJ6QtBul/xIuLrPjJTpwX pIOkAqG2p+EcJqqbTgFugifNTvUVP6VZ67Z/n/UhvBNGCEFzaCZAiGTte92B1Aq1v+pu iZpgMdsgg01GvXhTkQJbSZl6CWSaGiPHQ2QatJ1P2QyyxHj3ebgsM7Pv/xsHLQn3sEhu HS8OT+nlfY5bvJIYeVWjBdu0MbAHF7majZ73oG9NWTLSaV0lHWNMcbZtYdhzqVhlmts5 GMbpskx8bFrYlT3sY+zGTKlEbkDnKGtL+LWDeJ36HWhqk/Mph2xIUGuAG47nQoTOgDQn esgA== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AKwUvBy6D1XeYO4Y/jK7mghX3w7DRC5+QsZBR0JBB0Yt2bizXl+gjORyb6EnpJS93t73cAiRCLtl@ilbers.de X-Gm-Message-State: AFuF++kJCCL8+MOaZKLVZUS4llRnFyVUucNre9Ab++B3woEgMKTuTa55 vGFNfUx9ehhC5uJfqCwjHDCp13H0ijkYhhg3GJ6A9UvqAuXKIlVm2YZc X-Received: by 2002:a05:600c:34d4:b0:495:6e68:5df2 with SMTP id 5b1f17b1804b1-49fe66d07c9mr30275365e9.12.1790243929714; Thu, 24 Sep 2026 02:58:49 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com; h="ATskLddjYb+ySk3LeZ4Cr5SFADAo5c6aBam3AGJG53B8i0/nCA==" Received: by 2002:a05:600c:1385:b0:497:feb0:f558 with SMTP id 5b1f17b1804b1-49fbd1b5560ls50762795e9.0.-pod-prod-03-eu; Thu, 24 Sep 2026 02:58:46 -0700 (PDT) X-Forwarded-Encrypted: i=2; AKwUvBzEsG97VAjWvZ1DzSytokfngoywj3hnnwKKALUa+7O+qNu1MidZXuwbUHRy4SSY+lDWNv2oMol7E/dr@googlegroups.com X-Received: by 2002:a05:600c:83cd:b0:49e:715e:ec1f with SMTP id 5b1f17b1804b1-49fe67044c1mr33475725e9.30.1790243926494; Thu, 24 Sep 2026 02:58:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1790243926; cv=none; d=google.com; s=arc-20260327; b=EXMSZfEKdeHXPTV8f3p02jtuEWzOnmEDxd3jmRbafNdXdvhxLq3zIjAPrRsNELOhmM xy0xAWa+EMZ7kDOIinBFys86d+rBvOhkPZPuUARKm7G4fqSl8sfB+Zkprnyj4acIOo9n 5XiNCfjmxlTeasoccMVo6T6dcxzXHyAXmUMjoWPmFHhhoL0pZAJeqjrdMTS5jPXAfZ2W xjAMgByneDZHbcJnyMftSeLe3fcDcPNSW9yCcltY+OANA2oZRPfDqlB5o7r22dGQjGaF ryCCaraQRMAkemyRdrrW/M5y63RTKzGvXnlzgd5Iho0I+JFjPtc9nVrrt6VFzWpfzI0f qu7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id; bh=6VPgUv3AKgENXRQGG1shnokdR/IurOgMC+NQK2udqTs=; fh=eYYed+5fhV2szaiUEGYkbhC+etNYMYGHz1z3U1lLC6U=; b=V34iW1J4W/lpFKLXj70zEFDxXJEGyDGOX1Ycxrt93xbUPmIp20Prqf5mUpw+sNp3xl mxjqIqQgGcqnZOTMOyMRF1KfILCUFXNxKsIVBens8mcv5X6We0B4Px6jnfM0p3OWnws+ UcRuUs4/Y4/+bVxR5VsF4BLarBdCYbP23vfa5wB2vUqjgl0t0l0NDjCXIFjX7c6X2Jey ZTocnaqSjwwkchSgfI0lAwtCGAiCYgiWp9E3k+V6HBZMuBmbkpMDMMLbWCt5m6LOwRpm hJzbX1pgqNDHJmSRDXQZk0H52mTAamia3pVS3i5ttWPdjUH1Kw2Aqr9Yh8asX7AdfeiX l4Dg==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of alaur@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=alaur@ilbers.de Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id 5b1f17b1804b1-49fe0c40239si676495e9.2.2026.09.24.02.58.46 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 24 Sep 2026 02:58:46 -0700 (PDT) Received-SPF: pass (google.com: domain of alaur@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Received: from ws-310.promwad.corp (62.122.174.6.serverel.net [62.122.174.6] (may be forged)) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 68O9wieO020706 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 24 Sep 2026 11:58:45 +0200 Message-ID: Subject: Re: [PATCH] fix: Add toolchain fixes to linux-cip 4.4 kernel on Noble From: Aleksey Laurynovich To: "MOESSBAUER, Felix" , "isar-users@googlegroups.com" Cc: "Kiszka, Jan" Date: Thu, 24 Sep 2026 12:58:44 +0300 In-Reply-To: References: <20260923120346.3256438-1-alaur@ilbers.de> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.52.3-0ubuntu1.1 MIME-Version: 1.0 X-Spam-Status: No, score=-4.6 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2, RCVD_IN_RP_CERTIFIED,RCVD_IN_RP_RNBL,RCVD_IN_RP_SAFE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-Original-Sender: alaur@ilbers.de X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of alaur@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=alaur@ilbers.de Precedence: list Mailing-list: list isar-users@googlegroups.com; contact isar-users+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: isar-users@googlegroups.com X-Google-Group-Id: 914930254986 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-TUID: paGcjgg4fz5X On Wed, 2026-09-23 at 13:49 +0000, MOESSBAUER, Felix wrote: > On Wed, 2026-09-23 at 14:03 +0200, Aleksey Laurynovich wrote: > > Older kernel (4.4.x) has three toolchain issues on Ubuntu Noble: > > - dtc yylloc multiple definition (fixed by HOSTCFLAGS+=3D-fcommon) > > - ld rejects -Wl,-Bsymbolic-functions (fixed by clearing LDFLAGS) > > - arm64 proc.S uses deprecated .section syntax rejected by binutils > > 2.42 > > =C2=A0 (fixed by patching to use modern 'ax' flags) > >=20 > > The issue can be reproduced with the command: > > $ bitbake mc:qemuarm64-noble:linux-cip-arm64 > >=20 > > Signed-off-by: Aleksey Laurynovich > > --- > > =C2=A0...rm64-proc.S-fix-binutils-2.42-section-syntax.patch | 11 > > +++++++++++ > > =C2=A0.../recipes-kernel/linux/linux-cip_4.4.166-cip29.bb=C2=A0=C2=A0 |= =C2=A0 6 ++++++ > > =C2=A02 files changed, 17 insertions(+) > > =C2=A0create mode 100644 meta-isar/recipes-kernel/linux/files/0001- > > arm64-proc.S-fix-binutils-2.42-section-syntax.patch > >=20 > > diff --git a/meta-isar/recipes-kernel/linux/files/0001-arm64- > > proc.S-fix-binutils-2.42-section-syntax.patch b/meta-isar/recipes- > > kernel/linux/files/0001-arm64-proc.S-fix-binutils-2.42-section- > > syntax.patch > > new file mode 100644 > > index 00000000..f464ac40 > > --- /dev/null > > +++ b/meta-isar/recipes-kernel/linux/files/0001-arm64-proc.S-fix- > > binutils-2.42-section-syntax.patch > > @@ -0,0 +1,11 @@ > > +--- a/arch/arm64/mm/proc.S > > ++++ b/arch/arm64/mm/proc.S > > +@@ -152,7 +152,7 @@ > > + alternative_endif > > + ENDPROC(cpu_do_switch_mm) > > +=20 > > +- .section ".text.init", #alloc, #execinstr > > ++ .section ".text.init", "ax" > > +=20 > > + /* > > +=C2=A0 * __cpu_setup > > diff --git a/meta-isar/recipes-kernel/linux/linux-cip_4.4.166- > > cip29.bb b/meta-isar/recipes-kernel/linux/linux-cip_4.4.166- > > cip29.bb >=20 > This kernel patch release is quite old. Did you check if v4.4.302- > cip99 > is also affected? v4.4.302-cip99 is also affected. It has ld rejects -Wl,-Bsymbolic- functions, and arm64 proc.S syntax problems. >=20 > Felix >=20 > > index e2e51304..4b606dee 100644 > > --- a/meta-isar/recipes-kernel/linux/linux-cip_4.4.166-cip29.bb > > +++ b/meta-isar/recipes-kernel/linux/linux-cip_4.4.166-cip29.bb > > @@ -9,8 +9,14 @@ PN .=3D "-${DISTRO_ARCH}" > > =C2=A0 > > =C2=A0inherit linux-kernel > > =C2=A0 > > +# Older kernel dtc has yylloc multiple definition, fixed by - > > fcommon > > +KERNEL_EXTRA_BUILDARGS +=3D "HOSTCFLAGS+=3D-fcommon" > > +# Older kernel passes -Wl,-Bsymbolic-functions to cross-linker > > which rejects it > > +KERNEL_EXTRA_BUILDARGS +=3D "LDFLAGS=3D" > > + > > =C2=A0SRC_URI +=3D " \ > > =C2=A0=C2=A0=C2=A0=C2=A0 git://git.kernel.org/pub/scm/linux/kernel/git/= cip/linux- > > cip.git;protocol=3Dhttps;branch=3Dlinux-4.4.y-cip;destsuffix=3D${P} \ > > +=C2=A0=C2=A0=C2=A0 > > file://0001-arm64-proc.S-fix-binutils-2.42-section-syntax.patch=C2=A0\ > > =C2=A0" > > =C2=A0 > > =C2=A0SRCREV =3D "af3adf9f9c633ac0e1d68487d7fad22285dda8a3" > > --=20 > > 2.43.0 > >=20 > > --=20 > > You received this message because you are subscribed to the Google > > Groups "isar-users" group. > > To unsubscribe from this group and stop receiving emails from it, > > send an email to isar-users+unsubscribe@googlegroups.com. > > To view this discussion visit > > https://groups.google.com/d/msgid/isar-users/20260923120346.3256438-1-a= laur%40ilbers.de > > . --=20 You received this message because you are subscribed to the Google Groups "= isar-users" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to isar-users+unsubscribe@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/isar-users/= c6c6930b010bb050d99d417231b30a8eb1cc4dd4.camel%40ilbers.de.