From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7160013656256675840 X-Received: by 2002:a05:6870:470e:b0:13c:45c8:4123 with SMTP id b14-20020a056870470e00b0013c45c84123mr16688042oaq.9.1667458042797; Wed, 02 Nov 2022 23:47:22 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6808:1924:b0:345:bc21:cf7a with SMTP id bf36-20020a056808192400b00345bc21cf7als303706oib.1.-pod-prod-gmail; Wed, 02 Nov 2022 23:47:22 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4vIlSUA2Gwe7CVAPVi8c/kaXaMIQF84aoVL1Wj3YJBOIvZ8AtfSw5+C146pTJZmwLE2iub X-Received: by 2002:a05:6808:138e:b0:355:2b42:1580 with SMTP id c14-20020a056808138e00b003552b421580mr23378667oiw.91.1667458042327; Wed, 02 Nov 2022 23:47:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667458042; cv=none; d=google.com; s=arc-20160816; b=jp1F92i1hIxRjh+xmY/V5VtSTgHK52T+rRF58aheQOOa3wkg3NmKQQgpXbEDdCIyyY pxBixKBxYW4vjY52aC+u5bGpWuuCiIeKXnQ6JPKkZtHO5KYyvYI4g/NzCsbOQs2kxa6O r8xc9v5OvvO5N+7wBrvgJR3Q33g2Cgy87rIz6ercp99Bx/KzuikXrfkNHFbA70uKeDIb AVadWi1jZA4tlW80WTELmBFG9COBFrvpCsm+QnyC7FxzimhQw/y+HRR3ruwC4EvQliKN qq02gsK1SB/fJYwH9ybFs9AcDIhcwWS9coWWTbwM7kLPl7HK+B231z6Iklw5gh49J6Xa 9z0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from; bh=CsH611tj27hjPX/LKuiOHlJJCVPZQQXFs+WpN9Fpst4=; b=pMKkp6D1qstqQ7wccTKvcSlruvm3HhKPFJmEu9RU0Kukv+np3cdJE2yixE/gnlbY1t UDy93Ewyut/VJzpA7gzsLP/rCyclMFR3WWa7OsA7Mw/vnzpKCI1Pg8LnGzQB6mtztIQS 1StrMcoavcIcykxg2ioaSINI4kLksd7NOXDeWolKoaHXEq85yKT/ag2P7AfB72V/DsUE J8sDd6xjxqmr2YDUZkht0YRuaUOS3cIl8RFI1Eeypx7ornZpNebBkVDWHMcCp1nkdKQe 3ctlijlcLtFgBXoNLfGPsKv2s/DGQDFzSsiHVD/UZkfLymrpCRLMzPZlitliWvSvbYNf k1qQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Return-Path: Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id 64-20020a9d0346000000b0066c34c88dc2si844033otv.4.2022.11.02.23.47.21 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 02 Nov 2022 23:47:22 -0700 (PDT) Received-SPF: pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Received: from home.localnet (44-208-124-178-static.mgts.by [178.124.208.44] (may be forged)) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 2A36lHSI031931 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 3 Nov 2022 07:47:18 +0100 From: Uladzimir Bely To: isar-users@googlegroups.com, "Roberto A. Foglietta" Subject: Re: [PATCH 1/1] newer kernels (e.g. v5.19) do not include objtool anymore in linux-header fixed Date: Thu, 03 Nov 2022 09:47:14 +0300 Message-ID: <6813218.9J7NaK4W3v@home> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED 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-TUID: Dh5mTNcIXLTb In the email from Saturday, 29 October 2022 22:09:10 +03 user Roberto A. Foglietta wrote: > Hi all, > > I discovered that newer kernels (e.g. v5.19) when compiled and > packaged by an ISAR project do not include the objectool anymore. This > obviously breaks any activity which expects to use that binary > executable. In this a patch below a suggestion for fixing this issue > (tested ok). > > From 48c6e9b409eb9d00e04a20f69df71ae88f51e178 Mon Sep 17 00:00:00 2001 > From: "Roberto A. Foglietta" > Date: Sat, 29 Oct 2022 18:59:10 +0200 > Subject: [PATCH] linux install.tmpl: added OR with CONFIG_HAVE_OBJTOOL for > objtools > > linux install.tmpl: added OR with CONFIG_HAVE_OBJTOOL for objtools > a fix for newer kernels (since 5.19 for sure) to include objtool > > Signed-off-by: Roberto A. Foglietta > --- > meta/recipes-kernel/linux/files/debian/isar/install.tmpl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/meta/recipes-kernel/linux/files/debian/isar/install.tmpl > b/meta/recipes-kernel/linux/files/debian/isar/install.tmpl > index 0a8645d..de57d82 100644 > --- a/meta/recipes-kernel/linux/files/debian/isar/install.tmpl > +++ b/meta/recipes-kernel/linux/files/debian/isar/install.tmpl > @@ -177,7 +177,7 @@ kernel_headers() { > echo Module.symvers >> ${obj_hdr_files} > fi > (cd ${O}; find arch/${ARCH}/include include scripts -type f) > > >>${obj_hdr_files} > The patch is mailformed here. Looks like it was sent not via "git send-email", but just copy-pasted to the mail body. Could you please send v2? > - if [ -n "${CONFIG_STACK_VALIDATION}" ]; then > + if [ -n "${CONFIG_STACK_VALIDATION}" -o -n "${CONFIG_HAVE_OBJTOOL}" ]; > then (cd ${O}; find tools/objtool -type f -executable) >>${obj_hdr_files} > fi > if [ -n "${CONFIG_GCC_PLUGINS}" ]; then -- Uladzimir Bely