From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8D18BC48BD1 for ; Fri, 11 Jun 2021 23:06:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 768BE613F0 for ; Fri, 11 Jun 2021 23:06:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229814AbhFKXIw (ORCPT ); Fri, 11 Jun 2021 19:08:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55692 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230232AbhFKXIv (ORCPT ); Fri, 11 Jun 2021 19:08:51 -0400 Received: from nautica.notk.org (ipv6.notk.org [IPv6:2001:41d0:1:7a93::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 330A6C061574; Fri, 11 Jun 2021 16:06:52 -0700 (PDT) Received: by nautica.notk.org (Postfix, from userid 108) id 9EA4EC025; Sat, 12 Jun 2021 01:06:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codewreck.org; s=2; t=1623452809; bh=xMk/mRnt+0x6uvbOOBrPm78VeRQG1jWN2+kTnIFkaA4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ccOHO2qgJ0m56nZzgLr/x63jOtSMUmb/9QtJv6kfWKJTQGoP8EBjcJuBlHLXfQ77o z30w12i9GjZ57Q4PrBy+V/+i0ayiy2Nduy6WIkdv08p5p6LcnCVHiW+MshXZyDE2ws XbKeb5w6mq2SJXZ8lfIgy/dNvLPYHgEUHZPIeJVeX4hJ1LK1dJvlk1Vv+OeO1OnyYo ggT5m9IfWuNI+W9IuxDo5HG1rXqvdssgNFnHocSNMWyrkaUDmqJk+kWXcKz/GZfy/U J+HugX+JWLEwf103UHgV+IxB2fJw10SvAoeJcAiQMN6m1ktzpIETHbZ1pJwr+i5dX0 2ErwJgAsUCs1g== Received: from odin.codewreck.org (localhost [127.0.0.1]) by nautica.notk.org (Postfix) with ESMTPS id 6BA51C01F; Sat, 12 Jun 2021 01:06:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codewreck.org; s=2; t=1623452809; bh=xMk/mRnt+0x6uvbOOBrPm78VeRQG1jWN2+kTnIFkaA4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ccOHO2qgJ0m56nZzgLr/x63jOtSMUmb/9QtJv6kfWKJTQGoP8EBjcJuBlHLXfQ77o z30w12i9GjZ57Q4PrBy+V/+i0ayiy2Nduy6WIkdv08p5p6LcnCVHiW+MshXZyDE2ws XbKeb5w6mq2SJXZ8lfIgy/dNvLPYHgEUHZPIeJVeX4hJ1LK1dJvlk1Vv+OeO1OnyYo ggT5m9IfWuNI+W9IuxDo5HG1rXqvdssgNFnHocSNMWyrkaUDmqJk+kWXcKz/GZfy/U J+HugX+JWLEwf103UHgV+IxB2fJw10SvAoeJcAiQMN6m1ktzpIETHbZ1pJwr+i5dX0 2ErwJgAsUCs1g== Received: from localhost (odin.codewreck.org [local]) by odin.codewreck.org (OpenSMTPD) with ESMTPA id 149329d1; Fri, 11 Jun 2021 23:06:43 +0000 (UTC) Date: Sat, 12 Jun 2021 08:06:28 +0900 From: Dominique Martinet To: Luca Boccassi Cc: Andrii Nakryiko , Arnaldo Carvalho de Melo , Deepak Kumar Mishra , dwarves@vger.kernel.org, Qais Yousef , Jiri Olsa , siudin@fb.com, bpf Subject: Re: [PATCH v2 1/2] CMakeLists.txt: enable SHARED and STATIC lib creation Message-ID: References: <70cb7cb534af9850dc5fe3c4b9f4366ce7dc6316.1623091959.git.deepakkumar.mishra@arm.com> <9b4bcb2372f00c9ffa1b3d5d30a84755d8a3896c.camel@debian.org> <49ebd74aac20b3896996c3b1fdcc14e35c7a05ec.camel@debian.org> <8471df5c1e5aa52bedb032b2fcb3b6ce7722de6b.camel@debian.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: dwarves@vger.kernel.org Dominique Martinet wrote on Sat, Jun 12, 2021 at 07:53:51AM +0900: > changing btf_loader.c to include bpf/btf.h instead fixes the issue for me: Sorry that was a bit quick on my part, it's not the proper solution if there are worse conflicts and I'm actually not sure why that worked... It still includes the wrong btf.h -- Luca's patch is much better /me goes back to bed -- Dominique