public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Joseph Myers <joseph@codesourcery.com>
To: Samuel Thibault <samuel.thibault@ens-lyon.org>
Cc: <libc-alpha@sourceware.org>, <commit-hurd@gnu.org>
Subject: Re: [hurd,commited] hurd: Implement basic sched_get/setscheduler
Date: Thu, 6 Aug 2020 18:01:44 +0000	[thread overview]
Message-ID: <alpine.DEB.2.21.2008061800230.2071@digraph.polyomino.org.uk> (raw)
In-Reply-To: <20200805214736.386404-1-samuel.thibault@ens-lyon.org>

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?

-- 
Joseph S. Myers
joseph@codesourcery.com

  reply	other threads:[~2020-08-06 18:01 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 [this message]
2020-08-06 18:16   ` Samuel Thibault

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=alpine.DEB.2.21.2008061800230.2071@digraph.polyomino.org.uk \
    --to=joseph@codesourcery.com \
    --cc=commit-hurd@gnu.org \
    --cc=libc-alpha@sourceware.org \
    --cc=samuel.thibault@ens-lyon.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).