Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2164402rwl; Sat, 1 Apr 2023 03:02:10 -0700 (PDT) X-Google-Smtp-Source: AKy350ahOM/0Dx4XEMJu9Zx/J1f55Pt+YFzPQdabU5ILHCdH5yNNi4LvwVdc0y+IpfBzdb5nFV5V X-Received: by 2002:aa7:8bc3:0:b0:627:f964:7594 with SMTP id s3-20020aa78bc3000000b00627f9647594mr29511743pfd.12.1680343330158; Sat, 01 Apr 2023 03:02:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680343330; cv=none; d=google.com; s=arc-20160816; b=GFdmHNMAzU0HUB3vWa4GJOYXZ2dR1dSIKMx4ZcH8cvXG2g1DzRktUvGJKsYgF/5dKv qUMrponJ7QDSj6H56p53pQmRLJV1V6wYfabNSN585ehl4/m0/t293nISAN1zxAiQV7jp UjZfJI+d0OW0JY9kTaG6u5gZGP+s/iLcMzCbWjBhqvp7NVaZOx66GW9/jdYiL5qqDBhr 7ohOCNOayToB42M3TBzfkOkYs0D3S2lXEC+3vJJkcf2s/qwr03yUr6zB/FhG6/IL6aMa FY7B/LH0rBbZZ1scbUV0lEaRF/nqEugTHgECbteIeO17f61KCyU/SmobphgTec67U5X8 p5gA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=8OwNskOq/WB2ogrPeVhoUbqDTcGZFk0KDKVEoD0eJvA=; b=mW9quOfgj9uxzLkjpnSUMzTZh5UKivsO++RE1En5Rhm4RT6D7w1yJbPHntmDpYsoLK D/rxJKgxaUFJZZ3eLUiMZBIh7jOlEfmLAFDVEdFrLz1kqIg3bb7Fcb8THlM5XbMpyTju fHydxea00E3YsLsHxDbc4xGSn4iOKE1VLRnRBXtFBsWhtYcVtTFNyDZGU94l7SQbXufF KXNQsyuhxCttJjBRksBassYna6mfpQ6DFaeUE9EK9h3CYR2D/sU+1+TRoTawP2LIb9XT ZcWUhSHxu70HmBj1Ru+sqILubZH9jKl/9g0KGgZKp3Ar3zuqnINFIt+oqvfeb/t2YWSm ch9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=djYDNY7I; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g9-20020a635209000000b004fbd435fc2esi4321504pgb.447.2023.04.01.03.01.58; Sat, 01 Apr 2023 03:02:10 -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; dkim=pass header.i=@gmail.com header.s=20210112 header.b=djYDNY7I; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229569AbjDAJ7a (ORCPT + 99 others); Sat, 1 Apr 2023 05:59:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35514 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229437AbjDAJ73 (ORCPT ); Sat, 1 Apr 2023 05:59:29 -0400 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3C35EE18F; Sat, 1 Apr 2023 02:59:28 -0700 (PDT) Received: by mail-ed1-x532.google.com with SMTP id b20so99181546edd.1; Sat, 01 Apr 2023 02:59:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680343167; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=8OwNskOq/WB2ogrPeVhoUbqDTcGZFk0KDKVEoD0eJvA=; b=djYDNY7ILOyCIaQ3ynhdb6NTzFDRn4w512o8Dask1IPGpZOiVnFIAdGcyx0lZPUM1U IRAEtiictVQDX7eFMUk/atoUBaZiei5Iq/EofIxpQjQfEKOZnVw3QfNSjqTjHSQdWHqm wAufeUN0yVWRGCGxetpjp3kc6Nzal71vgK8Nd5yMItO8iYicCSOHu3ne20U0o6YSmssQ IsVnsE/k6EXYg98Q7EBzZYlICzeJB/0UYFWXXHknMbDJAX6neirI6ChQiRcgqxrmHwK0 QR4HxTKyT6MforZCioaKdX77CN1eqQMKv1A16PAoKTUDcK8QHVw8mAjn/Pwvmn9DMi7C jtmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680343167; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=8OwNskOq/WB2ogrPeVhoUbqDTcGZFk0KDKVEoD0eJvA=; b=reP6SHsZVJQGGTu5ChTN3jgNsquOVEoqhoEkegXEXX7J83HpGw1NCN/ntiUEMHsn9r uDFleeAy3dBZTKNUd5fIr5MDFIxuBrY8NrUieIydE3pxiTA7etFgoMdb3/VLakAeLsFf 4I3IKQNIFjj6cWOBivFoBzqEuk7V09FGeX58apnLJldGl845kjkhU3Zfoxsh1c0TqDDH VPPJ/9T9XmXcqTZ+VBAPO0WaP7clCQqbDX6IIejT4z/vG/oOTK3eeA+qxLDeYO56lv7v l0E0fl6vcIPNVOb0bGnabpJLiAg1bOk63K9K1vyNvkmPF2IfGMvTORSPhDua3LbrPjow +aHA== X-Gm-Message-State: AAQBX9e90NwVp1aGpotTJjLRkiwOH7bP61sGrENG/a8LkSQwZcAMZ5se +VkFeQsVa8UsewrivKPxZg== X-Received: by 2002:a17:907:a586:b0:946:c60b:470b with SMTP id vs6-20020a170907a58600b00946c60b470bmr17147587ejc.63.1680343166687; Sat, 01 Apr 2023 02:59:26 -0700 (PDT) Received: from p183 ([46.53.251.40]) by smtp.gmail.com with ESMTPSA id gl25-20020a170906e0d900b00929fc8d264dsm1957803ejb.17.2023.04.01.02.59.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 01 Apr 2023 02:59:26 -0700 (PDT) Date: Sat, 1 Apr 2023 12:59:24 +0300 From: Alexey Dobriyan To: Joe Lawrence Cc: live-patching@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org, Josh Poimboeuf , Miroslav Benes , Petr Mladek , Marcos Paulo de Souza Subject: Re: [PATCH v7 00/10] livepatch: klp-convert tool Message-ID: <0d28af49-ff04-417c-9047-fc2c796a5040@p183> References: <4ce29654-4e1e-4680-9c25-715823ff5e02@p183> <683593a8-79db-4f3b-bc78-7917284683e4@p183> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 On Fri, Mar 31, 2023 at 12:03:52PM -0400, Joe Lawrence wrote: > On 3/30/23 13:04, Alexey Dobriyan wrote: > > This patchset somehow breaks the build of the simplest livepatch module: > > > > make -f linux/linux-1/scripts/Makefile.modfinal > > make[1]: *** No rule to make target 'linux/module-klp/main.tmp.ko', needed by 'linux/module-klp/main.ko'. Stop. > > > > Thanks for testing. > > Presumably this is an out-of-tree livepatch module? If so, that is > still on the TODO list. If not, that is weird as the patchset itself > includes updates to samples/ and lib/ livepatches that build and load fine. Yes, this is external module. make doesn't see this implicit rule despite it is hiding in the open: +%.tmp.ko: %.o %.mod.o symbols.klp FORCE + +$(call if_changed,ld_ko_o)