From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id KUt3CYps+mLkbycAWB0awg (envelope-from ) for ; Mon, 15 Aug 2022 11:55:54 -0400 Received: by simark.ca (Postfix, from userid 112) id 1B9FD1E5EA; Mon, 15 Aug 2022 11:55:54 -0400 (EDT) Authentication-Results: simark.ca; dkim=pass (2048-bit key; unprotected) header.d=lists.lttng.org header.i=@lists.lttng.org header.a=rsa-sha256 header.s=default header.b=DKvIsSy0; dkim-atps=neutral X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,NICE_REPLY_A,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.lttng.org (lists.lttng.org [167.114.26.123]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id DAF9C1E21F for ; Mon, 15 Aug 2022 11:55:52 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lists.lttng.org; s=default; t=1660578952; bh=smSRSNfXEJP0c6dOShDtS/GGc3hE5gwPy/MIKSMOn20=; h=Date:To:References:Cc:In-Reply-To:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=DKvIsSy0Q4Ky4A+FuR2EQJxUe4wCVtPWS1YcPbobfG/gJyoYnOMT8qtgKUlTr88nf ndOjAWSsQgrMfrox0O4FHI1hsjLaS5EZ3WvLK6DMvpcKPcffDPSxqu+KqxbeBQoAeO 13ZVsCgKoch70oHunR0eJnHDYGmsAEY34ysZ+WkYkZDj5d++dUAZPNAVGW0lrmqkBh aum6kEwuWWLB7zeCthJe5j8LYVqVX4/2dNvEshnbx+wANG9dEzyyuvkpns58zsGWy/ SoR41/B+e3dXTC63qXEy5lceKnRR6jNWV/A5KIUIMEGGBYg3e0AmQ5UDI9T3R/U8AQ 1EtXDY31YMc/Q== Received: from lists-lttng01.efficios.com (localhost [IPv6:::1]) by lists.lttng.org (Postfix) with ESMTP id 4M5zQc1M3dz1Gdj; Mon, 15 Aug 2022 11:55:52 -0400 (EDT) Received: from mail.efficios.com (mail.efficios.com [167.114.26.124]) by lists.lttng.org (Postfix) with ESMTPS id 4M5zQb16nBz1Gdh for ; Mon, 15 Aug 2022 11:55:49 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mail.efficios.com (Postfix) with ESMTP id 5675F3268B7 for ; Mon, 15 Aug 2022 11:55:49 -0400 (EDT) Received: from mail.efficios.com ([127.0.0.1]) by localhost (mail03.efficios.com [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id wKkv2G9kraab; Mon, 15 Aug 2022 11:55:49 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mail.efficios.com (Postfix) with ESMTP id EB3D73268B3; Mon, 15 Aug 2022 11:55:48 -0400 (EDT) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.efficios.com EB3D73268B3 X-Virus-Scanned: amavisd-new at efficios.com Received: from mail.efficios.com ([127.0.0.1]) by localhost (mail03.efficios.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 4nhdhpaP2LUb; Mon, 15 Aug 2022 11:55:48 -0400 (EDT) Received: from [10.10.0.55] (unknown [38.141.136.237]) by mail.efficios.com (Postfix) with ESMTPSA id C910F32653D; Mon, 15 Aug 2022 11:55:48 -0400 (EDT) Message-ID: <7e3f4047-101e-d8d4-93ed-370c8eaf7494@efficios.com> Date: Mon, 15 Aug 2022 11:55:48 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Content-Language: en-US To: Elad Lahav References: Cc: lttng-dev@lists.lttng.org In-Reply-To: Subject: Re: [lttng-dev] Change to CPU number detection breaks QNX compilation X-BeenThere: lttng-dev@lists.lttng.org X-Mailman-Version: 2.1.39 Precedence: list List-Id: LTTng development list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Michael Jeanson via lttng-dev Reply-To: Michael Jeanson Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: lttng-dev-bounces@lists.lttng.org Sender: "lttng-dev" On 2022-08-15 10 h 04, Elad Lahav wrote: > The problem is the use of d_type as a member of the dirent structure. > POSIX does not define such a member. > I can provide the necessary code for getting the file type in a > readdir() loop on QNX, but it seems unnecessary given that there is no > /sys file system with CPU information. The method for getting > information on processors is different, and I suspect that is true for > *BSDs and other non-Linux OSs. > > --Elad Can you try this patch [1] to see if it fixes the build on QNX? Can you also run 'make check' in 'tests/unit', the linux specific tests should be skipped. Michael [1] https://review.lttng.org/c/userspace-rcu/+/8664 _______________________________________________ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev