https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103532

            Bug ID: 103532
           Summary: internal compiler error: Segmentation fault
           Product: gcc
           Version: og10 (devel/omp/gcc-10)
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: michaelreneer at gmail dot com
  Target Milestone: ---

* The exact version of GCC: gcc (Ubuntu 10.3.0-1ubuntu1~18.04~1) 10.3.0
* The system type: Ubuntu
* The options given when GCC was configured/built: Not sure
* The compiler output (error messages, warnings, etc.):

ERROR:
/home/kbuilder/.cache/bazel/_bazel_kbuilder/37fb99bea68ee800120d59291ba62264/external/nccl_archive/BUILD.bazel:77:13:
C++ compilation of rule '@nccl_archive//:nccl' failed (Exit 1):
crosstool_wrapper_driver_is_not_gcc failed: error executing command 
  (cd
/home/kbuilder/.cache/bazel/_bazel_kbuilder/37fb99bea68ee800120d59291ba62264/execroot/org_tensorflow_federated
&& \
  exec env - \
   
LD_LIBRARY_PATH=/usr/local/cuda:/usr/local/cuda/lib64:/usr/local/cuda/extras/CUPTI/lib64:
\
   
PATH=/tmpfs/src/github/federated/venv/bin:/usr/local/cuda/bin:/opt/android-sdk/current/cmdline-tools/tools/bin:/opt/android-sdk/current/bin:/usr/local/go/bin:/usr/local/go/packages/bin:/opt/kubernetes/client/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
\
    PWD=/proc/self/cwd \
    TF2_BEHAVIOR=1 \
    TF_CUDA_VERSION=11 \
    TF_CUDNN_VERSION=8 \
 
external/local_config_cuda/crosstool/clang/bin/crosstool_wrapper_driver_is_not_gcc
-MD -MF bazel-out/k8-opt/bin/external/nccl_archive/_objs/nccl/bootstrap.d
'-frandom-seed=bazel-out/k8-opt/bin/external/nccl_archive/_objs/nccl/bootstrap.o'
-iquote external/nccl_archive -iquote
bazel-out/k8-opt/bin/external/nccl_archive -iquote external/local_config_cuda
-iquote bazel-out/k8-opt/bin/external/local_config_cuda
-Ibazel-out/k8-opt/bin/external/nccl_archive/_virtual_includes/nccl
-Ibazel-out/k8-opt/bin/external/nccl_archive/_virtual_includes/include_hdrs
-Ibazel-out/k8-opt/bin/external/local_config_cuda/cuda/_virtual_includes/cuda_headers_virtual
-Ibazel-out/k8-opt/bin/external/nccl_archive/_virtual_includes/src_hdrs
-isystem external/local_config_cuda/cuda -isystem
bazel-out/k8-opt/bin/external/local_config_cuda/cuda -isystem
external/local_config_cuda/cuda/cuda/include -isystem
bazel-out/k8-opt/bin/external/local_config_cuda/cuda/cuda/include
-Wno-builtin-macro-redefined '-D__DATE__="redacted"'
'-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -fPIE -U_FORTIFY_SOURCE
'-D_FORTIFY_SOURCE=1' -fstack-protector -Wall -fno-omit-frame-pointer
-no-canonical-prefixes -fno-canonical-system-headers -DNDEBUG -g0 -O2
-ffunction-sections -fdata-sections -Wno-stringop-truncation
-Wno-maybe-uninitialized -w -DAUTOLOAD_DYNAMIC_KERNELS '-march=native' -O3
-Wno-ignored-attributes -Wno-missing-field-initializers -Wno-unknown-pragmas
'-std=c++14' '-std=c++14' '-D_GLIBCXX_USE_CXX11_ABI=0' -x cuda
'-DGOOGLE_CUDA=1' '-Xcuda-fatbinary=--compress-all' '--no-cuda-include-ptx=all'
'--cuda-include-ptx=sm_35' '--cuda-gpu-arch=sm_35' '--cuda-include-ptx=sm_52'
'--cuda-gpu-arch=sm_52' -c external/nccl_archive/src/bootstrap.cc -o
bazel-out/k8-opt/bin/external/nccl_archive/_objs/nccl/bootstrap.o)
Execution platform: @local_execution_config_platform//:platform
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37'
and 'sm_50' architectures are deprecated, and may be removed in a future
release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37'
and 'sm_50' architectures are deprecated, and may be removed in a future
release (Use -Wno-deprecated-gpu-targets to suppress warning).
/usr/include/c++/10/chrono: In substitution of ‘template<class _Rep, class
_Period> template<class _Period2> using __is_harmonic =
std::__bool_constant<(std::ratio<((_Period2::num / std::chrono::duration<_Rep,
_Period>::_S_gcd(_Period2::num, _Period::num)) * (_Period::den /
std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::den, _Period::den))),
((_Period2::den / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::den,
_Period::den)) * (_Period::num / std::chrono::duration<_Rep,
_Period>::_S_gcd(_Period2::num, _Period::num)))>::den == 1)> [with _Period2 =
_Period2; _Rep = _Rep; _Period = _Period]’:
/usr/include/c++/10/chrono:473:154:   required from here
/usr/include/c++/10/chrono:428:27: internal compiler error: Segmentation fault
  428 |  _S_gcd(intmax_t __m, intmax_t __n) noexcept
      |                           ^~~~~~
Please submit a full bug report,
with preprocessed source if appropriate.

* The preprocessed file (*.i*) that triggers the bug: This will be difficult
for me to acquire, please let me know if this file will be useful in this case
to help debug.
  • [Bug c++/103532] New: internal... michaelreneer at gmail dot com via Gcc-bugs

Reply via email to