[Buildroot] [PATCH 1/1] Fix build of lttng-libust

Philippe Proulx eeppeliteloop at gmail.com
Mon Nov 6 21:41:56 UTC 2017


On Mon, Nov 6, 2017 at 4:12 PM, Thomas Petazzoni
<thomas.petazzoni at free-electrons.com> wrote:
> Hello,
>
> On Mon, 6 Nov 2017 16:06:10 -0500, Philippe Proulx wrote:
>
>> >
>> >>>  Since this is anyway just an example, wouldn't it be better to just disable the
>> >>> documentation entirely? I.e. teach configure.ac to understand --disable-doc and
>> >>> teach Makefile.am to not recurse into doc if docs are disabled?
>> >>
>> >> No problem with that, for the upstream package this might be more of an issue.
>> >
>> >  Philippe (one of the upstream developers) already said that he'd look into it.
>> >
>>
>> It's in master now, hope it helps:
>> <https://github.com/lttng/lttng-ust/commit/08aa9a26779d4ede3de7857fafd03bd6331ba948>.
>
> Thanks!
>
> While you're at it, do you think you could also have a look at
> http://autobuild.buildroot.net/results/f46/f46ba3cc8bf3ce979e9391db05780476cbba6ea0/build-end.log ?
> I reported it on the lttng mailing list a loooong time ago, and never
> got any feedback.
>
> It also happens with musl:
> http://autobuild.buildroot.net/results/99b/99bfee5ccd45c945bd607c3a8c0f972338133efc/build-end.log.

Yes, I know how to fix this. I'll have a look at it. We need to check
for dlmopen()'s support in configure.ac (like we do in LTTng-UST) and
conditionally build parts of the test depending on the result.

Phil

>
> Thanks!
>
> Thomas
> --
> Thomas Petazzoni, CTO, Free Electrons
> Embedded Linux and Kernel engineering
> http://free-electrons.com



More information about the buildroot mailing list