From: Samuel Thibault <samuel.thibault@gnu.org>
To: bug-hurd@gnu.org
Cc: commit-hurd@gnu.org, libc-alpha@sourceware.org
Subject: Re: [hurd,commited] hurd: Implement basic sched_get/setscheduler
Date: Thu, 6 Aug 2020 20:16:03 +0200 [thread overview]
Message-ID: <20200806181603.jhjecfen6rgq3wyv@function> (raw)
In-Reply-To: <alpine.DEB.2.21.2008061800230.2071@digraph.polyomino.org.uk>
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
prev parent reply other threads:[~2020-08-06 18:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-05 21:47 Samuel Thibault
2020-08-06 18:01 ` Joseph Myers
2020-08-06 18:16 ` Samuel Thibault [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200806181603.jhjecfen6rgq3wyv@function \
--to=samuel.thibault@gnu.org \
--cc=bug-hurd@gnu.org \
--cc=commit-hurd@gnu.org \
--cc=libc-alpha@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).