Source: cpuid Version: 20140123-1 Severity: important Tags: patch User: debian-h...@lists.debian.org Usertags: hurd
Hi, GNU/Hurd is no longer in the architecture list for cpuid, yet it is listed as out-of-date: Adding hurd-i386 to debian/control makes it build also for Hurd. Additionally, since sched_setaffinity(), used by --inst, is not yet implemented, set --one-cpu as default instead.
--- a/cpuid.c 2014-04-22 15:38:27.000000000 +0200 +++ b/cpuid.c 2014-04-22 16:27:58.000000000 +0200 @@ -6516,6 +6516,13 @@ exit(1); } +#ifdef __GNU__ + fprintf(stderr, + "%s: -i (sched_setaffinity) is not supported on GNU/Hurd, setting --one-cpu as default\n", + program); + opt_one_cpu = TRUE; +#endif + // Default to -i. So use inst unless -k is specified. boolean inst = !opt_kernel;