From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-3.9 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_PASS, SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 46B511F990 for ; Thu, 6 Aug 2020 18:16:10 +0000 (UTC) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 2D3C2387085D; Thu, 6 Aug 2020 18:16:09 +0000 (GMT) Received: from hera.aquilenet.fr (hera.aquilenet.fr [IPv6:2a0c:e300::1]) by sourceware.org (Postfix) with ESMTPS id 26E523857023 for ; Thu, 6 Aug 2020 18:16:06 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 26E523857023 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=gnu.org Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=samuel.thibault@gnu.org Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 5BBDFC359; Thu, 6 Aug 2020 20:16:05 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KIws6klgiXEB; Thu, 6 Aug 2020 20:16:04 +0200 (CEST) Received: from function.home (unknown [IPv6:2a01:cb19:956:1b00:9eb6:d0ff:fe88:c3c7]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 8606ABF75; Thu, 6 Aug 2020 20:16:04 +0200 (CEST) Received: from samy by function.home with local (Exim 4.94) (envelope-from ) id 1k3kQt-003bQ4-Od; Thu, 06 Aug 2020 20:16:03 +0200 Date: Thu, 6 Aug 2020 20:16:03 +0200 From: Samuel Thibault To: bug-hurd@gnu.org Subject: Re: [hurd,commited] hurd: Implement basic sched_get/setscheduler Message-ID: <20200806181603.jhjecfen6rgq3wyv@function> Mail-Followup-To: bug-hurd@gnu.org, commit-hurd@gnu.org, libc-alpha@sourceware.org References: <20200805214736.386404-1-samuel.thibault@ens-lyon.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Organization: I am not organized User-Agent: NeoMutt/20170609 (1.8.3) X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: commit-hurd@gnu.org, libc-alpha@sourceware.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" 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