[odb-users] Failed to Build odb with Clang and libc++
Tony Lin
tony.lin at ringcentral.com
Mon Apr 18 21:59:05 EDT 2016
Hi Boris,
The same failed result. I checked config.log and it seems it still uses arm-linux-androideabi-g++ not clang++ and failed to check pthreads for arm-linux-androideabi-g++. Can you please help take a look?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: application/octet-stream
Size: 49000 bytes
Desc: config.log
Url : http://codesynthesis.com/pipermail/odb-users/attachments/20160419/77f9cf7b/config-0001.obj
-------------- next part --------------
Br,
Tony Lin
> On Apr 18, 2016, at 10:14 PM, Boris Kolpackov <boris at codesynthesis.com> wrote:
>
> Hi Tony,
>
> Tony Lin <tony.lin at ringcentral.com> writes:
>
>> ./configure CC=clang CXX=clang++ CXXFLAGS="-Os -pthread ...
>>
>> checking for the pthreads library -lpthreads... no
>> checking for the pthreads library -lpthread... no
>> checking whether pthreads work without any flags... no
>> checking whether pthreads work with -Kthread... no
>> checking whether pthreads work with -kthread... no
>> checking for the pthreads library -llthread... no
>> checking whether pthreads work with -pthread... no
>> checking whether pthreads work with -pthreads... no
>> checking whether pthreads work with -mthreads... no
>> checking whether pthreads work with --thread-safe... no
>> checking whether pthreads work with -mt... no
>> checking for pthread-config... no
>> configure: error: thread support not available; use --disable-threads to force single-threaded mode
>
> First try to remove -pthread from CXXFLAGS. ODB will try to figure
> out which option to use automatically. If that doesn't help, look into
> config.log for details on why the thread test fails.
>
> Boris
More information about the odb-users
mailing list