Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Nov 2021 05:28:31 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 259841] graphics/mesa-devel: build regressed with 14-CURRENT 90fa9705d
Message-ID:  <bug-259841-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259841

            Bug ID: 259841
           Summary: graphics/mesa-devel: build regressed with 14-CURRENT
                    90fa9705d
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: jbeich@FreeBSD.org
          Reporter: evgeniy@khramtsov.org
                CC: jbeich@FreeBSD.org
          Assignee: jbeich@FreeBSD.org
             Flags: maintainer-feedback?(jbeich@FreeBSD.org)
                CC: jbeich@FreeBSD.org
             Flags: maintainer-feedback?(jbeich@FreeBSD.org)

[...]
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 *=
);
        ^

Defining _WITH_CPU_SET_T by passing it in Makefile CFLAGS unbreaks it here.
I don't have time to check if this is the right thing to do.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-259841-7788>