From nobody Fri Nov 26 16:37:23 2021 X-Original-To: multimedia@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 4B81718A9E56 for ; Fri, 26 Nov 2021 16:37:24 +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 4J10lS0ZNCz4YNJ for ; Fri, 26 Nov 2021 16:37:24 +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 E8F563D5D 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 1AQGbNJG055635 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 1AQGbN4a055634 for multimedia@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: multimedia@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: Multimedia discussions List-Archive: https://lists.freebsd.org/archives/freebsd-multimedia List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-multimedia@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1637944644; 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=apYF8lWNDTOIPZzlTCKmUcJFmbTNEdGApFa7POQfn5iSET2WUKcupORPnNvtdFO/8lBQi0 ZfR9qFOkWsBDLco2nVGHqqBOfdJy8FvtAmJcC19eqU//6Zun+HVpqsomis6JR/kBMhRMOB G9h6vhv0BQKU/wGvXLzOQbMhA8WdEIm0lQxSBv9kuIHpf/Iair9aIuj6ZcEDD7PZH7IiRM zK3jTjlWLzEGB1WjRtHdEYgcivIiu9FrOjovypwsrN5EdzCXVwQImF1Dq6hw9s/dw+WXEV dVL5JBkf2R0SKcacV40hGk1WOQRgP/WyQ6oZJzp0GzxqTgnY5GjNdPTwqMyNag== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1637944644; a=rsa-sha256; cv=none; b=H51+0iKXnPYIInonmdpT2ko0Zzuys2k2cdbAHIr17iRr1b9P5E/ziGcGQ0jeredXQYpB7K gZQT1AUjo95amnuVHGW5RrbJxtBblxMFwrmhXj/hK+PvMMK6HJTpkO4QfKLR/VCHwrde0Y WzOJFMWg/cUlwPxEn+dFIXccy8wSFmxiwr9KcwzmFv6xAukJG/zfR7EfjnNkVo/qY8eUdI hoQueNOnKZQpe2TqkmREeHCIoGh5D522aGS9a2fltXIW/mvtvtErdlmG6ptLIMdKb6KqSX omv15vDlJTollr8ITbSmG6CdYGZ+AQ98qRT/jbH39GGvf9gQ2r7AQnSorW/WDA== 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.=