In Linux Clients, put the glibc version in the "os_version" instead of the kernel name. If at all, the kernel name could be appended to the "os_name".
Currently the os_version lists the kernel name, which is completely arbitrary (e.g. it doesn't even need to contain the (correct) kernel version) and is irrelevant for building applications. The thing relevant for linking applications is instead the (g)libc version. The kernel name may give a hint at best. We currently determine the glibc version in the application and log it to stderr_out to at least get an overview, but it would be much more helpful if we could get this in the host table, e.g. to add a filter for plan classes. Here's the code that we use in the App: /* for glibc version */ #ifdef __GLIBC__ #define _GNU_SOURCE #include <gnu/libc-version.h> #endif #ifdef __GLIBC__ /* log the glibc version */ fprintf(stderr, "glibc version/release: %s/%s\n", gnu_get_libc_version(), gnu_get_libc_release()); #endif I suppose this still works in the distros that recently dropped glibc in favor of eglibc, but can anyone confirm this? Best, Bernd _______________________________________________ boinc_dev mailing list [email protected] http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev To unsubscribe, visit the above URL and (near bottom of page) enter your email address.
