[lttng-dev] Change to CPU number detection breaks QNX compilation

Elad Lahav e2lahav at gmail.com
Mon Aug 15 13:52:03 EDT 2022


/bin/sh on QNX is (by default) ksh, not bash, so perhaps that's the issue.

Shouldn't block you from submitting that change. +1 from me, if that matters ;-)

--Elad

On Mon, 15 Aug 2022 at 13:39, Michael Jeanson <mjeanson at efficios.com> wrote:
>
> On 2022-08-15 12 h 56, Elad Lahav wrote:
> > 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
>
> I tested on Freebsd (as a non-linux target) and I get the expected :
>
> SKIP: test_get_cpu_mask_from_sysfs - Skip Linux specific tests.
>
> I wonder what might differ here, it might have to do with the version of
> bash on QNX, I'm not familiar with this platform.
>
> Michael


More information about the lttng-dev mailing list