The specific "gnulib" tests fail due to "pthread"-related issue of the link-time optimization used with gcc-4.6 and 4.8.
same tests on same machine do not fail with gcc-4.4 or clang-3.3.
The workaround provided by Paul Eggert is to use "-pthread" instead of "-lpthread" as command-line parameter.
To clarify:
The specific "gnulib" tests fail due to "pthread"-related issue of the link-time optimization used with gcc-4.6 and 4.8.
same tests on same machine do not fail with gcc-4.4 or clang-3.3.
The workaround provided by Paul Eggert is to use "-pthread" instead of "-lpthread" as command-line parameter.