From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lf1-f43.google.com (mail-lf1-f43.google.com [209.85.167.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D1AB31AF4EE for ; Mon, 4 Nov 2024 10:14:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730715250; cv=none; b=Bz9ZhwJyfmuqBXhuqvg6eFDe5uwBXRlevYWXeaRB5texfXJgGICxxcWUEZl7gx7lGpqBka9avxLRgIQnQeA8i06WhhQ4uaSKR9Br5fLlqiOJxsu1T1cvoP0PjHIPT6IKXFCzU5Wd1zOPc4V+FJcl8bDoT2TYf1jXJgO6zNm7JgY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730715250; c=relaxed/simple; bh=1ZD8l+C1EuzgucsrrDGFXbeA8HL3duQOdkk9LUjOOuY=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=LdDIu7UYwQNzjIjEVIznCAMeOrjemVVuf5u5ts337hXORkQa3nIKSGwLnuBgj5PvicPlFe6t1RE8O4tRzFg1QZjDN6pFRU9OLYsuK1rWP0wPk10bGAeasbCk5YvGxLuUM2wrwqUbQRBcRBMNZvjXrGUM1sjJ9KrENc6oHWtB0lQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=JBdTG2CD; arc=none smtp.client-ip=209.85.167.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="JBdTG2CD" Received: by mail-lf1-f43.google.com with SMTP id 2adb3069b0e04-539f7606199so1552078e87.0 for ; Mon, 04 Nov 2024 02:14:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1730715246; x=1731320046; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=4c7jIDPXYCos97zH52V3Rx0a/Pe9j9klHJ/m3x5c878=; b=JBdTG2CDsTk3bs7k7oFyMLdFf3h6mEPrlfvF8A+EXatQWii5XOEqByNOKFyzpNXT7A gUc9w104s2pnumvfOHiGIz75TL/gkko1HsQT1BM/+uKKoIThYAg3eezlW7C4aqmgm+5O YvqUaxNq5wTbcdLXVT3Cg0TKrZtZqnNyO+04V+TuwFLDr451GZ1xtm9MP6IpwWnXsqZq I5cnC26we+v3aXyQ2613FQEoPfnMlBtwjnnZGAl/OGSjD8jdN19wuyYqeeWJ4dGKU+x/ eEpTHJNfuq+tTdJ3gUf2gqg/BG6AgbNanpmapup9zElD/2Doz3bbECi2eT0x1jo+nOKY 1usg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730715246; x=1731320046; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4c7jIDPXYCos97zH52V3Rx0a/Pe9j9klHJ/m3x5c878=; b=la2cxmRvso597TtrRS1JhRfb7vd+d6PM+1uwdmbyFNEblO68CdJPSfUnu7z5ifVpJg 0lu85P4Dvmqrwp1gL8Ku/d4K0H82VxDnrdcdtXmPh/Zv4YQ1ZJtgUEtOx2CTVghHsXPL qksr5ZVgN89nsedMlrI5ZMyAx1MqQ5LPrAF0d0CW2Bvv7+OuztQw5XFhROKxrLpa1hd0 meo9afScvpckexhKSVly561o9g3Av7QEmbxC7Ud+4RUZ0uAj0t443KO/3Aykj0fkB7Ot E230CqhdCWZLQllpZZbSL4ZvD5elJR0Q1I/JGOOcl2CiNnl7OKmSlvKPHkpAjciUu1d5 Gk7Q== X-Forwarded-Encrypted: i=1; AJvYcCXNMgNqPv60UbPb7zIIdpo4WejV47oYtXtxN5nrlle7eF+0hLSjAU3g2VOkqIyeZFJBfj/JPfuLKdxbns2mRw==@vger.kernel.org X-Gm-Message-State: AOJu0YwHGKhE5ougHVzlVjJh15TaqRqIjD1RTTaAlripr2lk58853Fe4 md8NteS7nAMe9TDtnspamFPDtXHCoky9ys2jM+vG3SesgNLBvoyHGHIGwHVUTo6ENwMx+QguvGc /4FZNIjDajZqLkyo88wm98Y2fvHNlk7CnbvfZ X-Google-Smtp-Source: AGHT+IF3YrSYDNpUh7K6DP1BrHft72F43XaFavJhNPR1z+HcVXMbGOoX4JuofOBYs8pgr4OQ7WmvjdXbt+mvTRqeQfM= X-Received: by 2002:a05:6512:3041:b0:539:e6bf:ca97 with SMTP id 2adb3069b0e04-53b7ecf28d7mr10644101e87.32.1730715245823; Mon, 04 Nov 2024 02:14:05 -0800 (PST) Precedence: bulk X-Mailing-List: rust-for-linux@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20241030-tracepoint-v12-3-eec7f0f8ad22@google.com> <202411021421.jZ0FSDq6-lkp@intel.com> In-Reply-To: <202411021421.jZ0FSDq6-lkp@intel.com> From: Alice Ryhl Date: Mon, 4 Nov 2024 11:13:53 +0100 Message-ID: Subject: Re: [PATCH v12 3/5] rust: samples: add tracepoint to Rust sample To: kernel test robot Cc: Steven Rostedt , Masami Hiramatsu , Mathieu Desnoyers , Peter Zijlstra , Josh Poimboeuf , Jason Baron , Ard Biesheuvel , Miguel Ojeda , Alex Gaynor , Wedson Almeida Filho , Boqun Feng , Gary Guo , =?UTF-8?Q?Bj=C3=B6rn_Roy_Baron?= , Benno Lossin , Andreas Hindborg , oe-kbuild-all@lists.linux.dev, linux-trace-kernel@vger.kernel.org, rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org, Arnd Bergmann , linux-arch@vger.kernel.org, Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , Sean Christopherson , Uros Bizjak , Catalin Marinas , Will Deacon Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, Nov 2, 2024 at 8:08=E2=80=AFAM kernel test robot wr= ote: > > Hi Alice, > > kernel test robot noticed the following build errors: > > [auto build test ERROR on eb887c4567d1b0e7684c026fe7df44afa96589e6] > > url: https://github.com/intel-lab-lkp/linux/commits/Alice-Ryhl/rust-ad= d-static_branch_unlikely-for-static_key_false/20241031-000709 > base: eb887c4567d1b0e7684c026fe7df44afa96589e6 > patch link: https://lore.kernel.org/r/20241030-tracepoint-v12-3-eec7f0= f8ad22%40google.com > patch subject: [PATCH v12 3/5] rust: samples: add tracepoint to Rust samp= le > config: x86_64-randconfig-103-20241101 (https://download.01.org/0day-ci/a= rchive/20241102/202411021421.jZ0FSDq6-lkp@intel.com/config) > compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51= eccf88f5321e7c60591c5546b254b6afab99) > reproduce (this is a W=3D1 build): (https://download.01.org/0day-ci/archi= ve/20241102/202411021421.jZ0FSDq6-lkp@intel.com/reproduce) > > If you fix the issue in a separate patch/commit (i.e. not just a new vers= ion of > the same patch/commit), kindly add following tags > | Reported-by: kernel test robot > | Closes: https://lore.kernel.org/oe-kbuild-all/202411021421.jZ0FSDq6-lkp= @intel.com/ > > All errors (new ones prefixed by >>): > > >> error[E0425]: cannot find value `__tracepoint_rust_sample_loaded` in c= rate `$crate::bindings` > --> samples/rust/rust_print.rs:87:5 > | > 87 | / kernel::declare_trace! { > 88 | | /// # Safety > 89 | | /// > 90 | | /// Always safe to call. > 91 | | unsafe fn rust_sample_loaded(magic: c_int); > 92 | | } > | |_____^ not found in `$crate::bindings` > | > =3D note: this error originates in the macro `kernel::declare_trace` (= in Nightly builds, run with -Z macro-backtrace for more info) > -- > >> error[E0425]: cannot find function `rust_do_trace_rust_sample_loaded` = in crate `$crate::bindings` > --> samples/rust/rust_print.rs:87:5 > | > 87 | / kernel::declare_trace! { > 88 | | /// # Safety > 89 | | /// > 90 | | /// Always safe to call. > 91 | | unsafe fn rust_sample_loaded(magic: c_int); > 92 | | } > | |_____^ not found in `$crate::bindings` > | > =3D note: this error originates in the macro `kernel::declare_trace` (= in Nightly builds, run with -Z macro-backtrace for more info) This bot is using a buggy bindgen. Please see https://lore.kernel.org/all/20241030-bindgen-libclang-warn-v1-1-3a7ba9fedcf= e@google.com/ which was also mentioned in the cover letter. Alice