TaoLv commented on pull request #18801: URL: https://github.com/apache/incubator-mxnet/pull/18801#issuecomment-670326176
Not sure why it has both `-std=c++11` and `-std=gnu++1z` in the build line. ``` [2020-08-07T02:34:38.577Z] /usr/local/bin/ccache /opt/rh/devtoolset-7/root/usr/bin/g++ -DDMLC_LOG_STACK_TRACE_SIZE=0 -DDMLC_MODERN_THREAD_LOCAL=0 -DDMLC_STRICT_CXX11 -DDMLC_USE_CXX11 -DDMLC_USE_CXX14 -DDNNL_ENABLE_CONCURRENT_EXEC -DDNNL_ENABLE_JIT_PROFILING=0 -DDNNL_ENABLE_MAX_CPU_ISA -DDNNL_X64=1 -DMSHADOW_IN_CXX11 -DNDEBUG=1 -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -I../3rdparty/mkldnn/include -I3rdparty/mkldnn/include -I../3rdparty/mkldnn/src -fPIC -mno-avx -fPIC -mno-avx -Wall -Wno-sign-compare -O3 -std=c++11 -fopenmp -fvisibility-inlines-hidden -Wall -Wno-unknown-pragmas -fvisibility=internal -fPIC -Wformat -Wformat-security -fstack-protector-strong -Wmissing-field-initializers -Wno-strict-overflow -fPIC -std=gnu++1z -MD -MT 3rdparty/mkldnn/src/cpu/x64/CMakeFiles/dnnl_cpu_x64.dir/jit_avx512_core_amx_1x1_convolution.cpp.o -MF 3rdparty/mkldnn/src/cpu/x64/CMakeFiles/dnnl_cpu_x64.dir/jit_avx512_core_amx_1x1_convolution.cpp.o.d -o 3rdparty/mkldnn/src/cpu/x64/CMakeFil es/dnnl_cpu_x64.dir/jit_avx512_core_amx_1x1_convolution.cpp.o -c ../3rdparty/mkldnn/src/cpu/x64/jit_avx512_core_amx_1x1_convolution.cpp [2020-08-07T02:34:38.577Z] ../3rdparty/mkldnn/src/cpu/x64/jit_avx512_core_amx_1x1_convolution.cpp: In instantiation of 'dnnl::impl::cpu::x64::jit_avx512_core_amx_1x1_convolution_fwd_t<src_type, wei_type, dst_type>::execute_forward(const dnnl::impl::exec_ctx_t&) const::<lambda(int, int)> [with dnnl_data_type_t src_type = (dnnl_data_type_t)5; dnnl_data_type_t wei_type = (dnnl_data_type_t)5; dnnl_data_type_t dst_type = (dnnl_data_type_t)6]': [2020-08-07T02:34:38.577Z] ../3rdparty/mkldnn/src/cpu/x64/jit_avx512_core_amx_1x1_convolution.cpp:159:29: required from 'struct dnnl::impl::cpu::x64::jit_avx512_core_amx_1x1_convolution_fwd_t<src_type, wei_type, dst_type>::execute_forward(const dnnl::impl::exec_ctx_t&) const [with dnnl_data_type_t src_type = (dnnl_data_type_t)5; dnnl_data_type_t wei_type = (dnnl_data_type_t)5; dnnl_data_type_t dst_type = (dnnl_data_type_t)6]::<lambda(int, int)>' [2020-08-07T02:34:38.577Z] ../3rdparty/mkldnn/src/cpu/x64/jit_avx512_core_amx_1x1_convolution.cpp:111:13: required from 'void dnnl::impl::cpu::x64::jit_avx512_core_amx_1x1_convolution_fwd_t<src_type, wei_type, dst_type>::execute_forward(const dnnl::impl::exec_ctx_t&) const [with dnnl_data_type_t src_type = (dnnl_data_type_t)5; dnnl_data_type_t wei_type = (dnnl_data_type_t)5; dnnl_data_type_t dst_type = (dnnl_data_type_t)6]' [2020-08-07T02:34:38.577Z] ../3rdparty/mkldnn/src/cpu/x64/jit_avx512_core_amx_1x1_convolution.cpp:192:17: required from here [2020-08-07T02:34:38.577Z] ../3rdparty/mkldnn/src/cpu/x64/jit_avx512_core_amx_1x1_convolution.cpp:151:28: internal compiler error: in maybe_undo_parenthesized_ref, at cp/semantics.c:1705 [2020-08-07T02:34:38.577Z] size_t dst_offset = (is_1d) ? dst_d.blk_off(mb, oc, ow) [2020-08-07T02:34:38.577Z] ^~~~~~~~~~ [2020-08-07T02:34:38.577Z] Please submit a full bug report, [2020-08-07T02:34:38.577Z] with preprocessed source if appropriate. [2020-08-07T02:34:38.577Z] See <http://bugzilla.redhat.com/bugzilla> for instructions. ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
