From nobody Fri Nov 26 16:37:23 2021 X-Original-To: desktop@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id E994A18A9CD2 for ; Fri, 26 Nov 2021 16:37:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J10lR5Kvyz4YYl for ; Fri, 26 Nov 2021 16:37:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 977E436D7 for ; Fri, 26 Nov 2021 16:37:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 1AQGbNPW055616 for ; Fri, 26 Nov 2021 16:37:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1AQGbN4K055615 for desktop@FreeBSD.org; Fri, 26 Nov 2021 16:37:23 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: desktop@FreeBSD.org Subject: [Bug 259787] sched.h: unknown type name 'cpu_set_t' after 160b4b922b6021848b6b48afc894d16b879b7af2 Date: Fri, 26 Nov 2021 16:37:23 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: needs-qa, regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: Trond.Endrestol@ximalas.info X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: kib@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? maintainer-feedback? maintainer-feedback+ X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Using and improving FreeBSD on the desktop List-Archive: https://lists.freebsd.org/archives/freebsd-desktop List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-desktop@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1637944643; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=7d1h9ljazpVkG13N69yuAQrBM4eTrSoT+IhbHoCV6TA=; b=MZLwC3AZjWcMl9dYx7bY6CALFAgtFT8J7jHgw9tYnam8AKWCgUoLgJ5DL5K3wTLeyWN5fH 71ixyXp8lfZn5MO33K5x49p90HiwfQjtgB4WfjRPAqP6iC4j6DQN/6Zm1famx3Y67/vUkP qyvUoghN/hQcTlcSHw2egCsnh+6WnN94Ol8trTNQxvCsR8XNnopNxl9oxCJ9sp5MIKRxo6 7U0wD851+YI03qeWNvT6UwB6FzYPacfqeHwCj5sKvM6Wmdese+DDqqFymCDRC7LUOoruec ufXFzBne+ieQINrlLQqdgKfjh/JzFVFujTo260/n+/t6lo3Ob4tCGHMQr7oe7Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1637944643; a=rsa-sha256; cv=none; b=Yf5BVLWVVqRUX6Mmt1IqZBDY8rx1MFALEwlkfjR36ULYhuHC9KmHmD9qEgImH1cETj2PqA +6upVKrUhDony5qh1Y/2WQdi0P5BmHU47JNSYG3PdUtAOT+BCqfA/isL/Ml2d0nsSmE+on ify9h5BAFc2CjQz/aRi36LEXN7P/zMNjaM+x/x/+uC3UQPsbiIOF74BENJEnG2Pg87mbwl CaTmvc0zFMCU16ZBL1vBKMapG8ENzx5wxQaoz6pkIj+eO9vXgDOh/imBCh9Ez6qzXR8Z+g 8S1kTtm9wE4+ojOJEkU26XnW3L9GIdmVkiIyBGSPouTWL7IHLA5Zgdr/Kc8EXA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259787 --- Comment #30 from Trond.Endrestol@ximalas.info --- Created attachment 229745 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D229745&action= =3Dedit Patch for lang/ghc, for rts/posix/OSThreads.c Should fix these errors: rts/posix/OSThreads.c:314:5: error: error: unknown type name 'cpu_set_t'; did you mean 'cpuset_t'? cpu_set_t cs; ^~~~~~~~~ cpuset_t | 314 | cpu_set_t cs; | ^ /usr/include/sys/_cpuset.h:50:24: error: note: 'cpuset_t' declared here | 50 | typedef struct _cpuset cpuset_t; | ^ typedef struct _cpuset cpuset_t; ^ rts/posix/OSThreads.c:322:5: error: warning: implicit declaration of function 'sched_setaffinity' is inval= id in C99 [-Wimplicit-function-declaration] sched_setaffinity(0, sizeof(cpu_set_t), &cs); ^ | 322 | sched_setaffinity(0, sizeof(cpu_set_t), &cs); | ^ rts/posix/OSThreads.c:322:33: error: error: use of undeclared identifier 'cpu_set_t' sched_setaffinity(0, sizeof(cpu_set_t), &cs); ^ | 322 | sched_setaffinity(0, sizeof(cpu_set_t), &cs); | ^ 1 warning and 2 errors generated. `cc' failed in phase `C Compiler'. (Exit code: 1) gmake[2]: *** [rts/ghc.mk:325: rts/dist/build/posix/OSThreads.p_o] Error 1 --=20 You are receiving this mail because: You are on the CC list for the bug.=