添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
-- Looking for pthread.h - not found CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:165 (message):   Could NOT find Threads (missing: Threads_FOUND) Call Stack (most recent call first):   /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:458 (_FPHSA_FAILURE_MESSAGE)   /usr/share/cmake/Modules/FindThreads.cmake:234 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)   Source/cmake/OptionsGTK.cmake:34 (find_package)   Source/cmake/WebKitCommon.cmake:56 (include)   CMakeLists.txt:169 (include) pthread.h seems to be installed: COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/10.2.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-10.2.0-r3/work/gcc-10.2.0/configure --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/10.2.0 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/10.2.0 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/10.2.0/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/10.2.0/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include/g++-v10 --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/10.2.0/python --enable-languages=c,c++,fortran --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo 10.2.0-r3 p4' --disable-esp --enable-libstdcxx-time --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-multilib --with-multilib-list=m32,m64 --disable-fixed-point --enable-targets=all --enable-libgomp --disable-libssp --disable-libada --disable-systemtap --enable-vtable-verify --without-zstd --enable-lto --without-isl --enable-default-pie --enable-default-ssp Thread model: posix Supported LTO compression algorithms: zlib gcc version 10.2.0 (Gentoo 10.2.0-r3 p4)
locate pthread.h:
/usr/include/pthread.h
musv wrote:
And furthermore it's the only packages, which fails in the update list. I didn't find any issue on bugs.gentoo.org, so I think the problem is on my system only.Any ideas?
Likely as it configures fine here. Which compiler used? Here's:
Code:
9.3.0-r2(9.3.0)^t(15:30:40 05/11/2020)(cxx fortran graphite lto multilib nptl openmp pch pgo pie sanitize -ada -altivec -d -debug -doc -fixed-point -go -hardened -jit -libssp -nls -objc -objc++ -objc-gc -ssp -systemtap -test -vanilla -vtv)
Plz note openmp USE activation. The include file you pointed out belongs to glibc here. Its presence is likely not to be enough. Thks 4 ur attention, interest & support.
_________________
USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
equery u sys-devel/gcc:
[ Legend : U - final flag setting for installation] [        : I - package is installed with flag     ] [ Colors : set, unset                             ]  * Found these USE flags for sys-devel/gcc-10.2.0-r3:  - - d         : Enable support for the D programming language  - - debug     : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful                  backtraces see https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces  + + doc       : Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of                  globally  + + fortran   : Add support for fortran  - - go        : Build the GCC Go language frontend.  - - graphite  : Add support for the framework for loop optimizations based on a polyhedral intermediate                  representation  - - jit       : Enable libgccjit so other applications can embed gcc for Just-In-Time compilation. This will                  slow down the compiler a bit as it forces all of the toolchain to be shared libs.  - - lto       : Build using Link Time Optimizations (LTO)  + + nls       : Add Native Language Support (using gettext - GNU locale utilities)  + + nptl      : Enable support for Native POSIX Threads Library, the new threading module (requires linux-2.6 or                  better usually)  - - objc      : Build support for the Objective C code language  - - objc++    : Build support for the Objective C++ language  - - objc-gc   : Build support for the Objective C code language Garbage Collector  + + openmp    : Build support for the OpenMP (support parallel computing), requires >=sys-devel/gcc-4.2 built                  with USE="openmp"  + + pch       : Enable precompiled header support for faster compilation at the expense of disk space and memory                  (>=sys-devel/gcc-3.4 only)  - - pgo       : Build GCC using Profile Guided Optimization (PGO)  + + sanitize  : Build support for various sanitizer functions (ASAN/TSAN/etc...)  + + ssp       : Build packages with stack smashing protector on by default  - - systemtap : enable systemtap static probe points  - - test      : Enable dependencies and/or preparations necessary to run tests (usually controlled by                  FEATURES=test but can be toggled independently)  - - vanilla   : Do not add extra patches which change default behaviour; DO NOT USE THIS ON A GLOBAL SCALE as                  the severity of the meaning changes drastically  + + vtv       : Build support for virtual table verification (a C++ hardening feature)  - - zstd      : Enable support for ZSTD compression
I've also rebuilt glibc. Successfully tested gcc:10 configuration steps... Do you have 'openmp' activated in /etc/make.conf? Thks 4 ur attention, interest & support
_________________
USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
System wide lto? Thks 4 ur attention, interest & support.
_________________
USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
CMake should have written a log describing how it tested for pthread.h. My guess would be that you have the header, but there is some problem that causes the test compilation to fail, and the script does not distinguish between a failure caused by the header's absence versus a failure caused by the header being present but not usable for compilation. Jump to: You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Designed by Kyle Manna © 2003; Style derived from original subSilver theme. | Hosting by Gossamer Threads Inc. © | Powered by phpBB 2.0.23-gentoo-p11 © 2001, 2002 phpBB Group
Privacy Policy