This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: mark test requiring pthreads
- From: Nathan Sidwell <nathan at acm dot org>
- To: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 18 Dec 2015 09:44:20 -0500
- Subject: Re: mark test requiring pthreads
- Authentication-results: sourceware.org; auth=none
- References: <56741838 dot 5080706 at mentor dot com> <yddmvt7x1ql dot fsf at CeBiTec dot Uni-Bielefeld dot DE>
On 12/18/15 09:36, Rainer Orth wrote:
Hi Nathan,
c-c++-common/attr-simd-3.c's use of -fcilkplus means it requires pthreads.
why would this matter for a compile test? What happens without?
Executing on host: nvptx-none-gcc
/scratch/nsidwell/openacc/trunk-ptx-shared/src/gcc-mainline/gcc/testsuite/c-c++-common/attr-simd-3.c
-fno-diagnostics-show-caret -fdiagnostics-color=never -Wc++-compat
-fcilkplus -DSTACK_SIZE=8192 -DNO_TRAMPOLINES -DNO_LABEL_VALUES
-DSIGNAL_SUPPRESS -S -o attr-simd-3.s (timeout = 600)
nvptx-none-gcc: error: unrecognized command line option '-pthread'
compiler exited with status 1
output is:
nvptx-none-gcc: error: unrecognized command line option '-pthread'
FAIL: c-c++-common/attr-simd-3.c -Wc++-compat PR68158 (test for errors, line 5)
FAIL: c-c++-common/attr-simd-3.c -Wc++-compat (test for excess errors)
Excess errors:
nvptx-none-gcc: error: unrecognized command line option '-pthread'
nathan