From nobody Sun Nov 14 16:29:31 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 0E734184E1D0 for ; Sun, 14 Nov 2021 16:29:32 +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 4Hsd7v6TS7z4t1k for ; Sun, 14 Nov 2021 16:29:31 +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 BBE6E14CD for ; Sun, 14 Nov 2021 16:29:31 +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 1AEGTV2a072845 for ; Sun, 14 Nov 2021 16:29:31 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1AEGTV92072844 for multimedia@FreeBSD.org; Sun, 14 Nov 2021 16:29:31 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: Sun, 14 Nov 2021 16:29:31 +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: evgeniy@khramtsov.org 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? X-Bugzilla-Changed-Fields: 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259787 --- Comment #11 from Evgeniy Khramtsov --- 14-CURRENT as of base 20aa35977 still can't build: benchmarks/iperf3 [...] iperf_api.c:4460:5: error: unknown type name 'cpu_set_t'; did you mean 'cpuset_t'? cpu_set_t cpu_set; ^~~~~~~~~ cpuset_t /usr/include/sys/_cpuset.h:50:24: note: 'cpuset_t' declared here typedef struct _cpuset cpuset_t; ^ graphics/cairo [...] cairo-perf-micro.c:418:5: error: unknown type name 'cp u_set_t'; did you mean 'cpusetid_t'? cpu_set_t affinity; ^~~~~~~~~ cpusetid_t /usr/include/sys/types.h:86:22: note: 'cpusetid_t' declared here typedef __cpusetid_t cpusetid_t; ^ cairo-perf-micro.c:421:9: error: implicit declaration of function 'sched_getaffinity' is inva lid in C99 [-Werror,-Wimplicit-function-declaration] if (sched_getaffinity(0, sizeof(affinity), &affinity)) { ^ cairo-perf-micro.c:426:35: error: use of undeclared identifier 'CPU_SETSIZE' for(i =3D 0, cpu_count =3D 0; i < CPU_SETSIZE; ++i) { ^ cairo-perf-micro.c:427:6: error: implicit declaration of function 'CPU_ISSE= T' is invalid in C 99 [-Werror,-Wimplicit-function-declaration] if (CPU_ISSET(i, &affinity)) ^ 4 errors generated. graphics/mesa-devel [...] src/util/libmesa_util.a.p/u_cpu_detect.c.o -MF src/util/libmesa_util.a.p/u_cpu_detect.c.o.d -o src/util/libmesa_util.a.p/u_cpu_detect.c.o -c ../src/util/u_cpu_detect.c ../src/util/u_cpu_detect.c:613:11: error: implicit declaration of function 'sched_getaffinity' is invalid in C99 [-Werror,-Wimplicit-function-declarat= ion] if (sched_getaffinity(getpid(), sizeof(affin), &affin) =3D=3D 0) ^ ../src/util/u_cpu_detect.c:613:11: note: did you mean 'cpuset_getaffinity'? /usr/include/sys/cpuset.h:159:5: note: 'cpuset_getaffinity' declared here int cpuset_getaffinity(cpulevel_t, cpuwhich_t, id_t, size_t, cpuset_t *= ); ^ 1 error generated. Passing -D_WITH_CPU_SET_T to port's CFLAGS resolves this, but is this the intended behavior for porters to consider after base 90fa9705d ? --=20 You are receiving this mail because: You are on the CC list for the bug.=