csmith-project / creduce

C-Reduce, a C and C++ program reducer
Other
1.47k stars 128 forks source link

sysctl: unknown oid 'machdep.hyperthreading_allowed' on FreeBSD/powerpc64 #209

Open pkubaj opened 4 years ago

pkubaj commented 4 years ago

I'm running creduce on FreeBSD on powerpc64 platform. creduce tries to check machdep.hyperthreading_allowed sysctl parameter on every run and fails, because this parameter is only available on amd64 and i386. Other than that, creduce works fine, this warning doesn't really cause any breakage, but creduce anyway should check on what architecture it's running.

eeide commented 4 years ago

Thank you for the report! It is always good to hear from another FreeBSD user!

As you describe it, this sounds like a low-priority bug. Patches welcome, of course!