[LTP] [PATCH] gethostid: Rewrite with newlib and use/test sethostid

Li Wang liwang@redhat.com
Thu Jul 8 15:17:41 CEST 2021


Hi Cyril, Ziyao,

Thanks for catching the failure, I have posted a new patch fixing that.
And sorry for my negligence in code pushing.

On Thu, Jul 8, 2021 at 8:24 PM Cyril Hrubis <chrubis@suse.cz> wrote:

> Hi!
> > > I made some refine and pushed, thanks!
> > Thanks for your review. Besides, I noticed the CI fails to be compiled
> > on Apine. The difference appears to be caused by the underlying libc
> > implementation: glibc and Alpine's musl-libc.
> >
> > Is there anything that needs to be modified for this patch? Or simply
> > ignore it in the CI script.
>
> This has to be fixed, the whole point of the CI is to catch build
> failures on different libc/compiler combinations.
>
> Looking at musl the sethostid() is not implemented at all, so I guess
> that the correct solution here would be adding a configure check for
> sethostid() and skip the whole test if it's not available.
>
> --
> Cyril Hrubis
> chrubis@suse.cz
>
>

-- 
Regards,
Li Wang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20210708/6ef6576a/attachment.htm>


More information about the ltp mailing list