[Top][All Lists]

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

tests fail: "test-lock" and "test-thread_create" with gcc 4.6/4.8

From: Assaf Gordon
Subject: tests fail: "test-lock" and "test-thread_create" with gcc 4.6/4.8
Date: Thu, 04 Sep 2014 12:59:52 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0


On Ubuntu 14.04 LTS with GCC 4.6.4 and 4.8.2, the tests "test-lock" and 
"test-thread_create" fail.
They do not fail on same system with GCC 4.4.7 or Clang-3.3 .

Confirmed also by Daiki Uenu:

From a brief look it seems the "pthread_cancel" is using weak linking, and is 
somehow not properly found by the binary:

It was found through libunistring but I've also reproduced it with the latest 
gnulib directly (v0.1-210-g4738e5a), with:
    ./gnulib/gnulib-tool --create-testdir --dir=test-thread --with-tests thread
    cd test-thread
    ./configure && make && make check

After running "./configure CC=xxx" with different compilers, the only difference I could spot (besides the 
obvious string change of "gcc-4.4" vs "gcc-4.8") is the following two additional lines appearing in 
"config.log" with gcc 4.6/4.8:


Using gcc-4.4 and clang-3.3 do not produce these lines in "config.log".
"config.h" is identical in all versions.

I can investigate further if you point me where to look.

- Assaf

reply via email to

[Prev in Thread] Current Thread [Next in Thread]