[Kst] Compiling problem on Mac "Thread-local storage"
Nicholas Chapman
nchapman at u.northwestern.edu
Fri Jan 3 23:12:11 UTC 2014
I tried recompiling using the -Dkst_clang=1 option to cmake, but it
didn't change anything. I'll see about disabling the "last value"
feature in ascii data on Monday. Here are the versions of clang and
gcc I currently have. I could probably install newer versions using
macports.
% clang --version
Apple clang version 1.7 (tags/Apple/clang-77) (based on LLVM 2.9svn)
Target: x86_64-apple-darwin10
Thread model: posix
% g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/x86_64-apple-darwin10/4.6.0/lto-wrapper
Target: x86_64-apple-darwin10
Configured with: ../gcc-4.6-20100703/configure
--enable-languages=fortran,c++ --host=x86_64-apple-darwin10
--build=x86_64-apple-darwin10
Thread model: posix
gcc version 4.6.0 20100703 (experimental) (GCC)
Nicholas Chapman
On 1/3/14, Peter Kümmel <syntheticpp at gmx.net> wrote:
> On 02.01.2014 21:52, Nicholas Chapman wrote:
>> Hi, just now I did a "git pull" to get the latest KST, then attempted
>> to build it. I get the following error message:
>>
>> In file included from
>> /Users/chapman/data1/Applications/kst/src/datasources/ascii/asciisource.cpp:22:
>> /Users/chapman/data1/Applications/kst/src/datasources/ascii/kst_atof.h:63:
>> error: thread-local storage not supported for this target
>> make[2]: ***
>> [src/datasources/CMakeFiles/kst2_datasource_ascii.dir/Users/chapman/data1/Applications/kst/src/datasources/ascii/asciisource.cpp.o]
>> Error 1
>> make[1]: *** [src/datasources/CMakeFiles/kst2_datasource_ascii.dir/all]
>> Error 2
>> make: *** [all] Error 2
>> 14:47:25: The process "/usr/bin/make" exited with code 2.
>> Error while building/deploying project Kst (kit: Desktop)
>>
>> It looks like it is complaining about line 63 of
>> kst/src/datasources/ascii/kst_atof.h:
>> static KST_THREAD_LOCAL double _previousValue;
>>
>> Any ideas?
>
> Please try to compile with clang: run cmake with -Dkst_clang=1 in a clean
> build dir.
>
>>
>> I'm compiling on Mac OS 10.6.8 using Qt 4.8.4
>>
>> Nicholas Chapman
>> _______________________________________________
>> Kst mailing list
>> Kst at kde.org
>> https://mail.kde.org/mailman/listinfo/kst
>>
>
> _______________________________________________
> Kst mailing list
> Kst at kde.org
> https://mail.kde.org/mailman/listinfo/kst
>
More information about the Kst
mailing list