From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id cFCELsh6+mLFdicAWB0awg (envelope-from ) for ; Mon, 15 Aug 2022 12:56:40 -0400 Received: by simark.ca (Postfix, from userid 112) id B6AD61E5EA; Mon, 15 Aug 2022 12:56:40 -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=oxxRqMmX; 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=-3.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,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 BE2A51E13B for ; Mon, 15 Aug 2022 12:56:39 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lists.lttng.org; s=default; t=1660582599; bh=mpfp+IgKUHLdc1VyrKcnl2firoMftgB0mBZGGLlDqKc=; h=References:In-Reply-To:Date:To:Cc:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=oxxRqMmXQpWlhZEAbB753Z86vtQFnI4DbO7B/5aomwSddCd+xq5iP+kgRQxixuNnU Ji5SPcyowuLbuMtLageMfW/kvUKQ+Q9Ud+lldXXpypfB29jgkmw4U1wQ3kZ8BeHW88 IYoTYAZhH+5+hnk+VaTu0uT7W895Zmm0USiUigf/XuIDIXEfRmso6K2QJtsDNOtDhF cTFjwRyxLYskAknpnZjs6I9ZSVFjXb3/jy02loRDmvrCoJNUK2NSTcE2dd6YeXj766 BbY8WiK69cNWxZN7UKYkXocF9aCSoe4gWX9zuQ5ydzfnHTNuCi+AVS5L5Fw1Pb/Xp0 XSznSGcXZbrGg== Received: from lists-lttng01.efficios.com (localhost [IPv6:::1]) by lists.lttng.org (Postfix) with ESMTP id 4M60ml1lQtz1Gkn; Mon, 15 Aug 2022 12:56:39 -0400 (EDT) Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by lists.lttng.org (Postfix) with ESMTPS id 4M60mk1ccXz1Ghw for ; Mon, 15 Aug 2022 12:56:29 -0400 (EDT) Received: by mail-ej1-x630.google.com with SMTP id a7so14550743ejp.2 for ; Mon, 15 Aug 2022 09:56:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=gbeaFqZ8O5rSILboJxbhLeYfqlJJwiGC2Knd4rUxMIc=; b=dh7FgLZH8yx2NZdq+BcIHOj+g5gWeWNIxWwDe7pSQUJ8m/f4FU2bfsrRrjO7GW8uZV em06mqVGBrc30sEBUZwc1tCLAyv67wBdZCld2gv5qc/G/+Veu79ZSbq9wUYdlgJu6Yoo Spl7eYQ/ikHBjuqmCbfImamXBg+B7c5f/txNipNM5QcaKF6bjqFEQlaRlLwqFjP9Uo2p BWM9YSsAL1vGlBrWgg4hCV2emT50OYIrMqYqkEbZtQNKerIyXefZFCaHrmMjha7DGSn7 +fEO/e73ZOBmgDtUjO37XQ+P7TkT8bmQJnzug7ao/VvYIeh5JGc/r9toO8wyfGtRsjgg xRNg== X-Gm-Message-State: ACgBeo0UV64squTmt30uICuHyRE7S3IurJtaPd8eDNEaS3OkBXrh+S6U lyyATec1Tl6OBzGLTgekvsp52V46Mkc4zH3PUDWWrxmndPO5Ug== X-Google-Smtp-Source: AA6agR4FSaY0aQzllK1/N/GQ9KBBbLb7gYpSWnFGccwk2a5jgjXbs0IyUEk2PT8tkX+DgMNLO5JdCBsTPSxlPnfWhHM= X-Received: by 2002:a17:906:93ef:b0:731:1478:b774 with SMTP id yl15-20020a17090693ef00b007311478b774mr10418192ejb.531.1660582587992; Mon, 15 Aug 2022 09:56:27 -0700 (PDT) MIME-Version: 1.0 References: <7e3f4047-101e-d8d4-93ed-370c8eaf7494@efficios.com> In-Reply-To: <7e3f4047-101e-d8d4-93ed-370c8eaf7494@efficios.com> Date: Mon, 15 Aug 2022 12:56:16 -0400 Message-ID: To: Michael Jeanson Cc: lttng-dev@lists.lttng.org 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: Elad Lahav via lttng-dev Reply-To: Elad Lahav Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: lttng-dev-bounces@lists.lttng.org Sender: "lttng-dev" That fixes the build, thanks. I see some errors coming out of "make check", though: ERROR: test_get_cpu_mask_from_sysfs - missing test plan ERROR: test_get_cpu_mask_from_sysfs - exited with status 1 --Elad On Mon, 15 Aug 2022 at 11:55, Michael Jeanson wrote: > > 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