Samuel Thibault
unread,Aug 6, 2020, 2:16:10 PM8/6/20You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to bug-...@gnu.org, commi...@gnu.org, libc-...@sourceware.org
Joseph Myers, le jeu. 06 août 2020 18:01:44 +0000, a ecrit:
> On Wed, 5 Aug 2020, Samuel Thibault wrote:
>
> > +/* Retrieve scheduling algorithm for a particular purpose. */
> > +int
> > +__sched_getscheduler (pid_t pid)
> > +{
> > + return SCHED_OTHER;
> > +}
> > +weak_alias (__sched_getscheduler, sched_getscheduler)
>
> I'm seeing build failures:
>
> ../sysdeps/mach/hurd/sched_gets.c:30:35: error: 'sched_getscheduler' aliased to undefined symbol '__sched_getscheduler'
>
> Missing libc_hidden_def, since there is libc_hidden_proto
> (__sched_getscheduler) in include/sched.h?
Oh, sorry, there was indeed a difference there between my previous test
build tree and the current master. Pushed the fix.
Thanks,
Samuel