[Bug 1872867] Review Request: stalld - thread stall detector

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1872867



--- Comment #7 from Jaroslav Škarvada <jskarvad@xxxxxxxxxx> ---
Also in the comment 5 I wasn't correct, it doesn't build on the aarch64,
ppc64le and s390x:

src/stalld.c: In function 'sched_setattr':
src/stalld.c:88:17: error: '__NR_sched_setattr' undeclared (first use in this
function); did you mean 'sched_setattr'?
   88 |  return syscall(__NR_sched_setattr, pid, attr, flags);
      |                 ^~~~~~~~~~~~~~~~~~
      |                 sched_setattr
src/stalld.c:88:17: note: each undeclared identifier is reported only once for
each function it appears in
src/stalld.c: In function 'sched_getattr':
src/stalld.c:94:18: error: '__NR_sched_getattr' undeclared (first use in this
function); did you mean 'sched_getattr'?
   94 |  return syscall (__NR_sched_getattr, pid , attr, size, flags);
      |                  ^~~~~~~~~~~~~~~~~~
      |                  sched_getattr
src/stalld.c: In function 'sched_setattr':
src/stalld.c:89:1: warning: control reaches end of non-void function
[-Wreturn-type]
   89 | }
      | ^
src/stalld.c: In function 'sched_getattr':
src/stalld.c:95:1: warning: control reaches end of non-void function
[-Wreturn-type]
   95 | }
      | ^
make: *** [<builtin>: src/stalld.o] Error 1

It needs to be fixed to build on all supported architectures or it nees
ExcludeArch.


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux