text:
ubuntu 16.04 compile errror

/usr/lib/nvidia-cuda-toolkit/bin/nvcc -std=c++11 -Xcompiler -D_FORCE_INLINES -g -O3 -ccbin g++  -Xcompiler "-D_MWAITXINTRIN_H_INCLUDED  -O3 -I/home/weizi/MXNet/mxnet/mshadow/ -I/home/weizi/MXNet/mxnet/dmlc-core/include -fPIC -Iinclude -funroll-loops -Wno-unused-parameter -Wno-unknown-pragmas -msse3 -I/usr/lib/nvidia-cuda-toolkit/include -DMSHADOW_USE_CBLAS=1 -DMSHADOW_USE_MKL=0 -DMSHADOW_RABIT_PS=0 -DMSHADOW_DIST_PS=0 -DMSDHADOW_USE_PASCAL=0 -DMXNET_USE_OPENCV=1 pkg-config --cflags opencv -fopenmp -D_FORCE_INLINES -DMXNET_USE_NVRTC=0" -M -MT build/src/operator/sequence_reverse_gpu.o src/operator/sequence_reverse.cu >build/src/operator/sequence_reverse_gpu.d
/usr/lib/nvidia-cuda-toolkit/bin/nvcc -c -o build/src/operator/sequence_reverse_gpu.o -std=c++11 -Xcompiler -D_FORCE_INLINES -g -O3 -ccbin g++  -Xcompiler "-D_MWAITXINTRIN_H_INCLUDED  -O3 -I/home/weizi/MXNet/mxnet/mshadow/ -I/home/weizi/MXNet/mxnet/dmlc-core/include -fPIC -Iinclude -funroll-loops -Wno-unused-parameter -Wno-unknown-pragmas -msse3 -I/usr/lib/nvidia-cuda-toolkit/include -DMSHADOW_USE_CBLAS=1 -DMSHADOW_USE_MKL=0 -DMSHADOW_RABIT_PS=0 -DMSHADOW_DIST_PS=0 -DMSDHADOW_USE_PASCAL=0 -DMXNET_USE_OPENCV=1 pkg-config --cflags opencv -fopenmp -D_FORCE_INLINES -DMXNET_USE_NVRTC=0" src/operator/sequence_reverse.cu
/usr/include/c++/5/bits/stl_iterator_base_types.h(154): error: name followed by "::" must be a class or namespace name
detected during:
instantiation of class "std::__iterator_traits<_Iterator, void> [with _Iterator=int]"
(163): here
instantiation of class "std::iterator_traits<_Iterator> [with _Iterator=int]"
src/operator/./sequence_reverse-inl.h(91): here
implicit generation of "mxnet::op::SequenceReverseOp<xpu, DType>::~SequenceReverseOp() [with xpu=mxnet::gpu, DType=float]"
src/operator/./sequence_reverse-inl.h(45): here
instantiation of class "mxnet::op::SequenceReverseOp<xpu, DType> [with xpu=mxnet::gpu, DType=float]"
src/operator/./sequence_reverse-inl.h(45): here
instantiation of "mxnet::op::SequenceReverseOp<xpu, DType>::SequenceReverseOp(mxnet::op::SequenceReverseParam) [with xpu=mxnet::gpu, DType=float]"
src/operator/sequence_reverse.cu(14): here
/usr/include/c++/5/bits/stl_iterator_base_types.h(155): error: name followed by "::" must be a class or namespace name
detected during:
instantiation of class "std::__iterator_traits<_Iterator, void> [with _Iterator=int]"
(163): here
instantiation of class "std::iterator_traits<_Iterator> [with _Iterator=int]"
src/operator/./sequence_reverse-inl.h(91): here
implicit generation of "mxnet::op::SequenceReverseOp<xpu, DType>::~SequenceReverseOp() [with xpu=mxnet::gpu, DType=float]"
src/operator/./sequence_reverse-inl.h(45): here
instantiation of class "mxnet::op::SequenceReverseOp<xpu, DType> [with xpu=mxnet::gpu, DType=float]"
src/operator/./sequence_reverse-inl.h(45): here
instantiation of "mxnet::op::SequenceReverseOp<xpu, DType>::SequenceReverseOp(mxnet::op::SequenceReverseParam) [with xpu=mxnet::gpu, DType=float]"
src/operator/sequence_reverse.cu(14): here
/usr/include/c++/5/bits/stl_iterator_base_types.h(156): error: name followed by "::" must be a class or namespace name
detected during:
instantiation of class "std::__iterator_traits<_Iterator, void> [with _Iterator=int]"
(163): here
instantiation of class "std::iterator_traits<_Iterator> [with _Iterator=int]"
src/operator/./sequence_reverse-inl.h(91): here
implicit generation of "mxnet::op::SequenceReverseOp<xpu, DType>::~SequenceReverseOp() [with xpu=mxnet::gpu, DType=float]"
src/operator/./sequence_reverse-inl.h(45): here
instantiation of class "mxnet::op::SequenceReverseOp<xpu, DType> [with xpu=mxnet::gpu, DType=float]"
src/operator/./sequence_reverse-inl.h(45): here
instantiation of "mxnet::op::SequenceReverseOp<xpu, DType>::SequenceReverseOp(mxnet::op::SequenceReverseParam) [with xpu=mxnet::gpu, DType=float]"
src/operator/sequence_reverse.cu(14): here
/usr/include/c++/5/bits/stl_iterator_base_types.h(157): error: name followed by "::" must be a class or namespace name
detected during:
instantiation of class "std::__iterator_traits<_Iterator, void> [with _Iterator=int]"
(163): here
instantiation of class "std::iterator_traits<_Iterator> [with _Iterator=int]"
src/operator/./sequence_reverse-inl.h(91): here
implicit generation of "mxnet::op::SequenceReverseOp<xpu, DType>::~SequenceReverseOp() [with xpu=mxnet::gpu, DType=float]"
src/operator/./sequence_reverse-inl.h(45): here
instantiation of class "mxnet::op::SequenceReverseOp<xpu, DType> [with xpu=mxnet::gpu, DType=float]"
src/operator/./sequence_reverse-inl.h(45): here
instantiation of "mxnet::op::SequenceReverseOp<xpu, DType>::SequenceReverseOp(mxnet::op::SequenceReverseParam) [with xpu=mxnet::gpu, DType=float]"
src/operator/sequence_reverse.cu(14): here
/usr/include/c++/5/bits/stl_iterator_base_types.h(158): error: name followed by "::" must be a class or namespace name
detected during:
instantiation of class "std::__iterator_traits<_Iterator, void> [with _Iterator=int]"
(163): here
instantiation of class "std::iterator_traits<_Iterator> [with _Iterator=int]"
src/operator/./sequence_reverse-inl.h(91): here
implicit generation of "mxnet::op::SequenceReverseOp<xpu, DType>::~SequenceReverseOp() [with xpu=mxnet::gpu, DType=float]"
src/operator/./sequence_reverse-inl.h(45): here
instantiation of class "mxnet::op::SequenceReverseOp<xpu, DType> [with xpu=mxnet::gpu, DType=float]"
src/operator/./sequence_reverse-inl.h(45): here
instantiation of "mxnet::op::SequenceReverseOp<xpu, DType>::SequenceReverseOp(mxnet::op::SequenceReverseParam) [with xpu=mxnet::gpu, DType=float]"
src/operator/sequence_reverse.cu(14): here
5 errors detected in the compilation of "/tmp/tmpxft_00000139_00000000-7_sequence_reverse.cpp1.ii".
Makefile:179: recipe for target 'build/src/operator/sequence_reverse_gpu.o' failed
make: *** [build/src/operator/sequence_reverse_gpu.o] Error 2

what's your cuda and gcc version

gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.2)
Cuda compilation tools, release 7.5, V7.5.17

config.mk
#---------------------
choice of compiler
#--------------------
export CC = gcc
export CXX = g++
export NVCC = nvcc
whether compile with debug
DEBUG = 0
the additional link flags you want to add
ADD_LDFLAGS =
the additional compile flags you want to add
ADD_CFLAGS =  -D_FORCE_INLINES
Makefile
CFLAGS = -D_MWAITXINTRIN_H_INCLUDED

nvcc doesn't support gcc 5.x
Try downgrade to 4.8

I have no problem compiling with cuda-8.0/cudnn-5.1 and gcc-5.4 on ubuntu 16.04.

@piiswrong
sudo apt-get install gcc-4.8 g++-4.8
config.mk
export CC = gcc-4.8
export CXX = g++ -4.8
make[1]: Leaving directory '/home/weizi/MXNet/mxnet/dmlc-core'
g++-4.8 -D_MWAITXINTRIN_H_INCLUDED  -O3 -I/home/weizi/MXNet/mxnet/mshadow/ -I/home/weizi/MXNet/mxnet/dmlc-core/include -fPIC -Iinclude -funroll-loops -Wno-unused-parameter -Wno-unknown-pragmas -msse3 -I/usr/lib/nvidia-cuda-toolkit/include -DMSHADOW_USE_CBLAS=1 -DMSHADOW_USE_MKL=0 -DMSHADOW_RABIT_PS=0 -DMSHADOW_DIST_PS=0 -DMSDHADOW_USE_PASCAL=0 -DMXNET_USE_OPENCV=1 pkg-config --cflags opencv -fopenmp  -DMXNET_USE_NVRTC=0 -std=c++11  -o bin/im2rec tools/im2rec.cc build/src/resource.o build/src/io/io.o build/src/io/image_aug_default.o build/src/io/iter_csv.o build/src/io/iter_image_recordio.o build/src/io/iter_mnist.o build/src/common/mxrtc.o build/src/ndarray/ndarray_function.o build/src/ndarray/ndarray.o build/src/operator/svm_output.o build/src/operator/smooth_l1_unary.o build/src/operator/pooling.o build/src/operator/cast.o build/src/operator/crop.o build/src/operator/cudnn_convolution.o build/src/operator/swapaxis.o build/src/operator/softmax_output.o build/src/operator/elementwise_binary_broadcast_op.o build/src/operator/matrix_op.o build/src/operator/operator_util.o build/src/operator/sequence_reverse.o build/src/operator/rnn.o build/src/operator/operator.o build/src/operator/sequence_last.o build/src/operator/elementwise_binary_op.o build/src/operator/make_loss.o build/src/operator/deconvolution.o build/src/operator/lrn.o build/src/operator/correlation.o build/src/operator/elementwise_binary_scalar_op.o build/src/operator/reshape.o build/src/operator/broadcast_reduce_op.o build/src/operator/spatial_transformer.o build/src/operator/native_op.o build/src/operator/block_grad.o build/src/operator/leaky_relu.o build/src/operator/embedding.o build/src/operator/identity_attach_KL_sparse_reg.o build/src/operator/broadcast_mask_op.o build/src/operator/upsampling.o build/src/operator/elementwise_sum.o build/src/operator/convolution.o build/src/operator/roi_pooling.o build/src/operator/slice_channel.o build/src/operator/cudnn_batch_norm.o build/src/operator/loss_binary_op.o build/src/operator/elementwise_unary_op.o build/src/operator/fully_connected.o build/src/operator/regression_output.o build/src/operator/l2_normalization.o build/src/operator/ndarray_op.o build/src/operator/concat.o build/src/operator/sample_op.o build/src/operator/activation.o build/src/operator/custom.o build/src/operator/batch_norm.o build/src/operator/dropout.o build/src/operator/cross_device_copy.o build/src/operator/softmax_activation.o build/src/operator/sequence_mask.o build/src/optimizer/optimizer.o build/src/optimizer/sgd.o build/src/engine/naive_engine.o build/src/engine/threaded_engine_pooled.o build/src/engine/threaded_engine.o build/src/engine/engine.o build/src/engine/threaded_engine_perdevice.o build/src/symbol/graph_memory_allocator.o build/src/symbol/graph_executor.o build/src/symbol/static_graph.o build/src/symbol/symbol.o build/src/storage/storage.o build/src/c_api/c_predict_api.o build/src/c_api/c_api.o build/src/c_api/c_api_error.o build/src/kvstore/kvstore.o build/src/operator/mkl/mkl_cppwrapper.o build/src/operator/mkl/mkl_memory.o /home/weizi/MXNet/mxnet/dmlc-core/libdmlc.a build/src/ndarray/ndarray_function_gpu.o build/src/operator/svm_output_gpu.o build/src/operator/lrn_gpu.o build/src/operator/correlation_gpu.o build/src/operator/elementwise_binary_scalar_op_gpu.o build/src/operator/fully_connected_gpu.o build/src/operator/reshape_gpu.o build/src/operator/broadcast_reduce_op_gpu.o build/src/operator/softmax_activation_gpu.o build/src/operator/pooling_gpu.o build/src/operator/regression_output_gpu.o build/src/operator/block_grad_gpu.o build/src/operator/leaky_relu_gpu.o build/src/operator/embedding_gpu.o build/src/operator/identity_attach_KL_sparse_reg_gpu.o build/src/operator/sequence_mask_gpu.o build/src/operator/activation_gpu.o build/src/operator/spatial_transformer_gpu.o build/src/operator/loss_binary_op_gpu.o build/src/operator/roi_pooling_gpu.o build/src/operator/cudnn_batch_norm_gpu.o build/src/operator/native_op_gpu.o build/src/operator/elementwise_unary_op_gpu.o build/src/operator/convolution_gpu.o build/src/operator/l2_normalization_gpu.o build/src/operator/batch_norm_gpu.o build/src/operator/concat_gpu.o build/src/operator/sample_op_gpu.o build/src/operator/dropout_gpu.o build/src/operator/matrix_op_gpu.o build/src/operator/make_loss_gpu.o build/src/operator/elementwise_binary_broadcast_op_gpu.o build/src/operator/elementwise_sum_gpu.o build/src/operator/cast_gpu.o build/src/operator/crop_gpu.o build/src/operator/sequence_reverse_gpu.o build/src/operator/deconvolution_gpu.o build/src/operator/slice_channel_gpu.o build/src/operator/elementwise_binary_op_gpu.o build/src/operator/smooth_l1_unary_gpu.o build/src/operator/softmax_output_gpu.o build/src/operator/broadcast_mask_op_gpu.o build/src/operator/swapaxis_gpu.o build/src/operator/upsampling_gpu.o build/src/operator/sequence_last_gpu.o build/src/operator/rnn_gpu.o build/src/optimizer/sgd_gpu.o -pthread -lm -lcudart -lcublas -lcurand -L/usr/lib/nvidia-cuda-toolkit/lib64 -L/usr/lib/nvidia-cuda-toolkit/lib -lcblas -fopenmp -lrt pkg-config --libs opencv  -lcuda
/tmp/ccOZOam2.o: In function main': im2rec.cc:(.text.startup+0x2639): undefined reference to cv::imencode(std::string const&, cv::_InputArray const&, std::vector<unsigned char, std::allocator >&, std::vector<int, std::allocator > const&)'
collect2: error: ld returned 1 exit status
Makefile:228: recipe for target 'bin/im2rec' failed
make: *** [bin/im2rec] Error 1

@wangg12
it's fine.
think

I get the same errors too with g++5.3 && cuda7.5
/mnt/disk/0/hzxiahouzuoxin/usr/gcc-5.3/include/c++/5.3.0/bits/stl_iterator_base_types.h(158): error: name followed by "::" must be a class or namespace name
          detected during:
            instantiation of class "std::__iterator_traits<_Iterator, void> [with _Iterator=int]"
(163): here
            instantiation of class "std::iterator_traits<_Iterator> [with _Iterator=int]"
src/operator/./sequence_reverse-inl.h(91): here
            implicit generation of "mxnet::op::SequenceReverseOp<xpu, DType>::~SequenceReverseOp() [with xpu=mxnet::gpu, DType=float]"
src/operator/./sequence_reverse-inl.h(45): here
            instantiation of class "mxnet::op::SequenceReverseOp<xpu, DType> [with xpu=mxnet::gpu, DType=float]"
src/operator/./sequence_reverse-inl.h(45): here
            instantiation of "mxnet::op::SequenceReverseOp<xpu, DType>::SequenceReverseOp(mxnet::op::SequenceReverseParam) [with xpu=mxnet::gpu, DType=float]"
src/operator/sequence_reverse.cu(14): here

It seems that cuda7.5 not support this vector initialization mode in src/operator/sequence_reverse-inl.h
std::vector<index_t> indices_vec(n, max_seq_len);

I change to
std::vector<index_t> indices_vec(n/*, max_seq_len*/);
// Init by this way for GPU support
for (int k = 0; k < n; ++k) {
    indices_vec[k] = max_seq_len;
}

All is OK!

I get the error too with cuda8.0 ,cudnn6 , gcc5.4
usr/local/cuda-8.0/bin/nvcc -std=c++11 -Xcompiler -D_FORCE_INLINES -g -O3 -ccbin g++  -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_50,code=compute_50 -Xcompiler "-DMSHADOW_FORCE_STREAM -Wall -Wsign-compare -O3 -I/home/Deep-Feature-Flow/external/mxnet/mshadow/ -I/home/Deep-Feature-Flow/external/mxnet/dmlc-core/include -fPIC -I/home/Deep-Feature-Flow/external/mxnet/nnvm/include -Iinclude -funroll-loops -Wno-unused-variable -Wno-unused-parameter -Wno-unknown-pragmas -Wno-unused-local-typedefs -msse3 -I/usr/local/cuda-8.0/include -DMSHADOW_USE_CBLAS=1 -DMSHADOW_USE_MKL=0 -DMSHADOW_RABIT_PS=0 -DMSHADOW_DIST_PS=0 -DMSHADOW_USE_PASCAL=0 -DMXNET_USE_OPENCV=1 -I/usr/include/opencv -fopenmp -DMSHADOW_USE_CUDNN=1  -I/home/Deep-Feature-Flow/external/mxnet/cub -DMXNET_USE_NVRTC=0" -M -MT build/src/operator/convolution_gpu.o src/operator/convolution.cu >build/src/operator/convolution_gpu.d
/usr/local/cuda-8.0/bin/nvcc -std=c++11 -Xcompiler -D_FORCE_INLINES -g -O3 -ccbin g++  -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_50,code=compute_50 -Xcompiler "-DMSHADOW_FORCE_STREAM -Wall -Wsign-compare -O3 -I/home/Deep-Feature-Flow/external/mxnet/mshadow/ -I/home/Deep-Feature-Flow/external/mxnet/dmlc-core/include -fPIC -I/home/Deep-Feature-Flow/external/mxnet/nnvm/include -Iinclude -funroll-loops -Wno-unused-variable -Wno-unused-parameter -Wno-unknown-pragmas -Wno-unused-local-typedefs -msse3 -I/usr/local/cuda-8.0/include -DMSHADOW_USE_CBLAS=1 -DMSHADOW_USE_MKL=0 -DMSHADOW_RABIT_PS=0 -DMSHADOW_DIST_PS=0 -DMSHADOW_USE_PASCAL=0 -DMXNET_USE_OPENCV=1 -I/usr/include/opencv -fopenmp -DMSHADOW_USE_CUDNN=1  -I/home/Deep-Feature-Flow/external/mxnet/cub -DMXNET_USE_NVRTC=0" -M -MT build/src/operator/batch_norm_gpu.o src/operator/batch_norm.cu >build/src/operator/batch_norm_gpu.d
/usr/local/cuda-8.0/bin/nvcc -std=c++11 -Xcompiler -D_FORCE_INLINES -g -O3 -ccbin g++  -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_50,code=compute_50 -Xcompiler "-DMSHADOW_FORCE_STREAM -Wall -Wsign-compare -O3 -I/home/Deep-Feature-Flow/external/mxnet/mshadow/ -I/home/Deep-Feature-Flow/external/mxnet/dmlc-core/include -fPIC -I/home/Deep-Feature-Flow/external/mxnet/nnvm/include -Iinclude -funroll-loops -Wno-unused-variable -Wno-unused-parameter -Wno-unknown-pragmas -Wno-unused-local-typedefs -msse3 -I/usr/local/cuda-8.0/include -DMSHADOW_USE_CBLAS=1 -DMSHADOW_USE_MKL=0 -DMSHADOW_RABIT_PS=0 -DMSHADOW_DIST_PS=0 -DMSHADOW_USE_PASCAL=0 -DMXNET_USE_OPENCV=1 -I/usr/include/opencv -fopenmp -DMSHADOW_USE_CUDNN=1  -I/home/Deep-Feature-Flow/external/mxnet/cub -DMXNET_USE_NVRTC=0" -M -MT build/src/operator/upsampling_gpu.o src/operator/upsampling.cu >build/src/operator/upsampling_gpu.d
/usr/local/cuda-8.0/bin/nvcc -std=c++11 -Xcompiler -D_FORCE_INLINES -g -O3 -ccbin g++  -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_50,code=compute_50 -Xcompiler "-DMSHADOW_FORCE_STREAM -Wall -Wsign-compare -O3 -I/home/Deep-Feature-Flow/external/mxnet/mshadow/ -I/home/Deep-Feature-Flow/external/mxnet/dmlc-core/include -fPIC -I/home/Deep-Feature-Flow/external/mxnet/nnvm/include -Iinclude -funroll-loops -Wno-unused-variable -Wno-unused-parameter -Wno-unknown-pragmas -Wno-unused-local-typedefs -msse3 -I/usr/local/cuda-8.0/include -DMSHADOW_USE_CBLAS=1 -DMSHADOW_USE_MKL=0 -DMSHADOW_RABIT_PS=0 -DMSHADOW_DIST_PS=0 -DMSHADOW_USE_PASCAL=0 -DMXNET_USE_OPENCV=1 -I/usr/include/opencv -fopenmp -DMSHADOW_USE_CUDNN=1  -I/home/Deep-Feature-Flow/external/mxnet/cub -DMXNET_USE_NVRTC=0" -M -MT build/src/operator/sequence_reverse_gpu.o src/operator/sequence_reverse.cu >build/src/operator/sequence_reverse_gpu.d
/usr/local/cuda-8.0/bin/nvcc -std=c++11 -Xcompiler -D_FORCE_INLINES -g -O3 -ccbin g++  -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_50,code=compute_50 -Xcompiler "-DMSHADOW_FORCE_STREAM -Wall -Wsign-compare -O3 -I/home/Deep-Feature-Flow/external/mxnet/mshadow/ -I/home/Deep-Feature-Flow/external/mxnet/dmlc-core/include -fPIC -I/home/Deep-Feature-Flow/external/mxnet/nnvm/include -Iinclude -funroll-loops -Wno-unused-variable -Wno-unused-parameter -Wno-unknown-pragmas -Wno-unused-local-typedefs -msse3 -I/usr/local/cuda-8.0/include -DMSHADOW_USE_CBLAS=1 -DMSHADOW_USE_MKL=0 -DMSHADOW_RABIT_PS=0 -DMSHADOW_DIST_PS=0 -DMSHADOW_USE_PASCAL=0 -DMXNET_USE_OPENCV=1 -I/usr/include/opencv -fopenmp -DMSHADOW_USE_CUDNN=1  -I/home/Deep-Feature-Flow/external/mxnet/cub -DMXNET_USE_NVRTC=0" -M -MT build/src/operator/slice_channel_gpu.o src/operator/slice_channel.cu >build/src/operator/slice_channel_gpu.d
/usr/local/cuda-8.0/bin/nvcc -std=c++11 -Xcompiler -D_FORCE_INLINES -g -O3 -ccbin g++  -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_50,code=compute_50 -Xcompiler "-DMSHADOW_FORCE_STREAM -Wall -Wsign-compare -O3 -I/home/Deep-Feature-Flow/external/mxnet/mshadow/ -I/home/Deep-Feature-Flow/external/mxnet/dmlc-core/include -fPIC -I/home/Deep-Feature-Flow/external/mxnet/nnvm/include -Iinclude -funroll-loops -Wno-unused-variable -Wno-unused-parameter -Wno-unknown-pragmas -Wno-unused-local-typedefs -msse3 -I/usr/local/cuda-8.0/include -DMSHADOW_USE_CBLAS=1 -DMSHADOW_USE_MKL=0 -DMSHADOW_RABIT_PS=0 -DMSHADOW_DIST_PS=0 -DMSHADOW_USE_PASCAL=0 -DMXNET_USE_OPENCV=1 -I/usr/include/opencv -fopenmp -DMSHADOW_USE_CUDNN=1  -I/home/Deep-Feature-Flow/external/mxnet/cub -DMXNET_USE_NVRTC=0" -M -MT build/src/operator/dropout_gpu.o src/operator/dropout.cu >build/src/operator/dropout_gpu.d
/usr/local/cuda-8.0/bin/nvcc -std=c++11 -Xcompiler -D_FORCE_INLINES -g -O3 -ccbin g++  -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_50,code=compute_50 -Xcompiler "-DMSHADOW_FORCE_STREAM -Wall -Wsign-compare -O3 -I/home/Deep-Feature-Flow/external/mxnet/mshadow/ -I/home/Deep-Feature-Flow/external/mxnet/dmlc-core/include -fPIC -I/home/Deep-Feature-Flow/external/mxnet/nnvm/include -Iinclude -funroll-loops -Wno-unused-variable -Wno-unused-parameter -Wno-unknown-pragmas -Wno-unused-local-typedefs -msse3 -I/usr/local/cuda-8.0/include -DMSHADOW_USE_CBLAS=1 -DMSHADOW_USE_MKL=0 -DMSHADOW_RABIT_PS=0 -DMSHADOW_DIST_PS=0 -DMSHADOW_USE_PASCAL=0 -DMXNET_USE_OPENCV=1 -I/usr/include/opencv -fopenmp -DMSHADOW_USE_CUDNN=1  -I/home/Deep-Feature-Flow/external/mxnet/cub -DMXNET_USE_NVRTC=0" -M -MT build/src/operator/softmax_activation_gpu.o src/operator/softmax_activation.cu >build/src/operator/softmax_activation_gpu.d
/usr/local/cuda-8.0/bin/nvcc -std=c++11 -Xcompiler -D_FORCE_INLINES -g -O3 -ccbin g++  -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_50,code=compute_50 -Xcompiler "-DMSHADOW_FORCE_STREAM -Wall -Wsign-compare -O3 -I/home/Deep-Feature-Flow/external/mxnet/mshadow/ -I/home/Deep-Feature-Flow/external/mxnet/dmlc-core/include -fPIC -I/home/Deep-Feature-Flow/external/mxnet/nnvm/include -Iinclude -funroll-loops -Wno-unused-variable -Wno-unused-parameter -Wno-unknown-pragmas -Wno-unused-local-typedefs -msse3 -I/usr/local/cuda-8.0/include -DMSHADOW_USE_CBLAS=1 -DMSHADOW_USE_MKL=0 -DMSHADOW_RABIT_PS=0 -DMSHADOW_DIST_PS=0 -DMSHADOW_USE_PASCAL=0 -DMXNET_USE_OPENCV=1 -I/usr/include/opencv -fopenmp -DMSHADOW_USE_CUDNN=1  -I/home/Deep-Feature-Flow/external/mxnet/cub -DMXNET_USE_NVRTC=0" -M -MT build/src/operator/pad_gpu.o src/operator/pad.cu >build/src/operator/pad_gpu.d
/usr/local/cuda-8.0/bin/nvcc -c -o build/src/operator/upsampling_gpu.o -std=c++11 -Xcompiler -D_FORCE_INLINES -g -O3 -ccbin g++  -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_50,code=compute_50 -Xcompiler "-DMSHADOW_FORCE_STREAM -Wall -Wsign-compare -O3 -I/home/Deep-Feature-Flow/external/mxnet/mshadow/ -I/home/Deep-Feature-Flow/external/mxnet/dmlc-core/include -fPIC -I/home/Deep-Feature-Flow/external/mxnet/nnvm/include -Iinclude -funroll-loops -Wno-unused-variable -Wno-unused-parameter -Wno-unknown-pragmas -Wno-unused-local-typedefs -msse3 -I/usr/local/cuda-8.0/include -DMSHADOW_USE_CBLAS=1 -DMSHADOW_USE_MKL=0 -DMSHADOW_RABIT_PS=0 -DMSHADOW_DIST_PS=0 -DMSHADOW_USE_PASCAL=0 -DMXNET_USE_OPENCV=1 -I/usr/include/opencv -fopenmp -DMSHADOW_USE_CUDNN=1  -I/home/Deep-Feature-Flow/external/mxnet/cub -DMXNET_USE_NVRTC=0" src/operator/upsampling.cu
/usr/local/cuda-8.0/bin/nvcc -c -o build/src/operator/dropout_gpu.o -std=c++11 -Xcompiler -D_FORCE_INLINES -g -O3 -ccbin g++  -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_50,code=compute_50 -Xcompiler "-DMSHADOW_FORCE_STREAM -Wall -Wsign-compare -O3 -I/home/Deep-Feature-Flow/external/mxnet/mshadow/ -I/home/Deep-Feature-Flow/external/mxnet/dmlc-core/include -fPIC -I/home/Deep-Feature-Flow/external/mxnet/nnvm/include -Iinclude -funroll-loops -Wno-unused-variable -Wno-unused-parameter -Wno-unknown-pragmas -Wno-unused-local-typedefs -msse3 -I/usr/local/cuda-8.0/include -DMSHADOW_USE_CBLAS=1 -DMSHADOW_USE_MKL=0 -DMSHADOW_RABIT_PS=0 -DMSHADOW_DIST_PS=0 -DMSHADOW_USE_PASCAL=0 -DMXNET_USE_OPENCV=1 -I/usr/include/opencv -fopenmp -DMSHADOW_USE_CUDNN=1  -I/home/Deep-Feature-Flow/external/mxnet/cub -DMXNET_USE_NVRTC=0" src/operator/dropout.cu
/usr/local/cuda-8.0/bin/nvcc -c -o build/src/operator/convolution_gpu.o -std=c++11 -Xcompiler -D_FORCE_INLINES -g -O3 -ccbin g++  -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_50,code=compute_50 -Xcompiler "-DMSHADOW_FORCE_STREAM -Wall -Wsign-compare -O3 -I/home/Deep-Feature-Flow/external/mxnet/mshadow/ -I/home/Deep-Feature-Flow/external/mxnet/dmlc-core/include -fPIC -I/home/Deep-Feature-Flow/external/mxnet/nnvm/include -Iinclude -funroll-loops -Wno-unused-variable -Wno-unused-parameter -Wno-unknown-pragmas -Wno-unused-local-typedefs -msse3 -I/usr/local/cuda-8.0/include -DMSHADOW_USE_CBLAS=1 -DMSHADOW_USE_MKL=0 -DMSHADOW_RABIT_PS=0 -DMSHADOW_DIST_PS=0 -DMSHADOW_USE_PASCAL=0 -DMXNET_USE_OPENCV=1 -I/usr/include/opencv -fopenmp -DMSHADOW_USE_CUDNN=1  -I/home/Deep-Feature-Flow/external/mxnet/cub -DMXNET_USE_NVRTC=0" src/operator/convolution.cu
/usr/local/cuda-8.0/bin/nvcc -c -o build/src/operator/sequence_reverse_gpu.o -std=c++11 -Xcompiler -D_FORCE_INLINES -g -O3 -ccbin g++  -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_50,code=compute_50 -Xcompiler "-DMSHADOW_FORCE_STREAM -Wall -Wsign-compare -O3 -I/home/Deep-Feature-Flow/external/mxnet/mshadow/ -I/home/Deep-Feature-Flow/external/mxnet/dmlc-core/include -fPIC -I/home/Deep-Feature-Flow/external/mxnet/nnvm/include -Iinclude -funroll-loops -Wno-unused-variable -Wno-unused-parameter -Wno-unknown-pragmas -Wno-unused-local-typedefs -msse3 -I/usr/local/cuda-8.0/include -DMSHADOW_USE_CBLAS=1 -DMSHADOW_USE_MKL=0 -DMSHADOW_RABIT_PS=0 -DMSHADOW_DIST_PS=0 -DMSHADOW_USE_PASCAL=0 -DMXNET_USE_OPENCV=1 -I/usr/include/opencv -fopenmp -DMSHADOW_USE_CUDNN=1  -I/home/Deep-Feature-Flow/external/mxnet/cub -DMXNET_USE_NVRTC=0" src/operator/sequence_reverse.cu
/usr/local/cuda-8.0/bin/nvcc -c -o build/src/operator/pad_gpu.o -std=c++11 -Xcompiler -D_FORCE_INLINES -g -O3 -ccbin g++  -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_50,code=compute_50 -Xcompiler "-DMSHADOW_FORCE_STREAM -Wall -Wsign-compare -O3 -I/home/Deep-Feature-Flow/external/mxnet/mshadow/ -I/home/Deep-Feature-Flow/external/mxnet/dmlc-core/include -fPIC -I/home/Deep-Feature-Flow/external/mxnet/nnvm/include -Iinclude -funroll-loops -Wno-unused-variable -Wno-unused-parameter -Wno-unknown-pragmas -Wno-unused-local-typedefs -msse3 -I/usr/local/cuda-8.0/include -DMSHADOW_USE_CBLAS=1 -DMSHADOW_USE_MKL=0 -DMSHADOW_RABIT_PS=0 -DMSHADOW_DIST_PS=0 -DMSHADOW_USE_PASCAL=0 -DMXNET_USE_OPENCV=1 -I/usr/include/opencv -fopenmp -DMSHADOW_USE_CUDNN=1  -I/home/Deep-Feature-Flow/external/mxnet/cub -DMXNET_USE_NVRTC=0" src/operator/pad.cu
/usr/local/cuda-8.0/bin/nvcc -c -o build/src/operator/softmax_activation_gpu.o -std=c++11 -Xcompiler -D_FORCE_INLINES -g -O3 -ccbin g++  -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_50,code=compute_50 -Xcompiler "-DMSHADOW_FORCE_STREAM -Wall -Wsign-compare -O3 -I/home/Deep-Feature-Flow/external/mxnet/mshadow/ -I/home/Deep-Feature-Flow/external/mxnet/dmlc-core/include -fPIC -I/home/Deep-Feature-Flow/external/mxnet/nnvm/include -Iinclude -funroll-loops -Wno-unused-variable -Wno-unused-parameter -Wno-unknown-pragmas -Wno-unused-local-typedefs -msse3 -I/usr/local/cuda-8.0/include -DMSHADOW_USE_CBLAS=1 -DMSHADOW_USE_MKL=0 -DMSHADOW_RABIT_PS=0 -DMSHADOW_DIST_PS=0 -DMSHADOW_USE_PASCAL=0 -DMXNET_USE_OPENCV=1 -I/usr/include/opencv -fopenmp -DMSHADOW_USE_CUDNN=1  -I/home/Deep-Feature-Flow/external/mxnet/cub -DMXNET_USE_NVRTC=0" src/operator/softmax_activation.cu
/usr/local/cuda-8.0/bin/nvcc -c -o build/src/operator/batch_norm_gpu.o -std=c++11 -Xcompiler -D_FORCE_INLINES -g -O3 -ccbin g++  -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_50,code=compute_50 -Xcompiler "-DMSHADOW_FORCE_STREAM -Wall -Wsign-compare -O3 -I/home/Deep-Feature-Flow/external/mxnet/mshadow/ -I/home/Deep-Feature-Flow/external/mxnet/dmlc-core/include -fPIC -I/home/Deep-Feature-Flow/external/mxnet/nnvm/include -Iinclude -funroll-loops -Wno-unused-variable -Wno-unused-parameter -Wno-unknown-pragmas -Wno-unused-local-typedefs -msse3 -I/usr/local/cuda-8.0/include -DMSHADOW_USE_CBLAS=1 -DMSHADOW_USE_MKL=0 -DMSHADOW_RABIT_PS=0 -DMSHADOW_DIST_PS=0 -DMSHADOW_USE_PASCAL=0 -DMXNET_USE_OPENCV=1 -I/usr/include/opencv -fopenmp -DMSHADOW_USE_CUDNN=1  -I/home/Deep-Feature-Flow/external/mxnet/cub -DMXNET_USE_NVRTC=0" src/operator/batch_norm.cu
/usr/local/cuda-8.0/bin/nvcc -c -o build/src/operator/slice_channel_gpu.o -std=c++11 -Xcompiler -D_FORCE_INLINES -g -O3 -ccbin g++  -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_50,code=compute_50 -Xcompiler "-DMSHADOW_FORCE_STREAM -Wall -Wsign-compare -O3 -I/home/Deep-Feature-Flow/external/mxnet/mshadow/ -I/home/Deep-Feature-Flow/external/mxnet/dmlc-core/include -fPIC -I/home/Deep-Feature-Flow/external/mxnet/nnvm/include -Iinclude -funroll-loops -Wno-unused-variable -Wno-unused-parameter -Wno-unknown-pragmas -Wno-unused-local-typedefs -msse3 -I/usr/local/cuda-8.0/include -DMSHADOW_USE_CBLAS=1 -DMSHADOW_USE_MKL=0 -DMSHADOW_RABIT_PS=0 -DMSHADOW_DIST_PS=0 -DMSHADOW_USE_PASCAL=0 -DMXNET_USE_OPENCV=1 -I/usr/include/opencv -fopenmp -DMSHADOW_USE_CUDNN=1  -I/home/Deep-Feature-Flow/external/mxnet/cub -DMXNET_USE_NVRTC=0" src/operator/slice_channel.cu
src/operator/./cudnn_convolution-inl.h(286): error: too few arguments in function call
detected during instantiation of "mxnet::op::CuDNNConvolutionOp::CuDNNConvolutionOp(const mxnet::op::ConvolutionParam &, const std::vector<mxnet::TShape, std::allocatormxnet::TShape> &, const std::vector<mxnet::TShape, std::allocatormxnet::TShape> &, const mxnet::Context &) [with DType=float]"
src/operator/convolution.cu(32): here
1 error detected in the compilation of "/tmp/tmpxft_0000f05e_00000000-11_convolution.compute_50.cpp1.ii".
Makefile:211: recipe for target 'build/src/operator/convolution_gpu.o' failed
make: *** [build/src/operator/convolution_gpu.o] Error 2
make: *** Waiting for unfinished jobs....
/home/Deep-Feature-Flow/external/mxnet/dmlc-core/include/dmlc/logging.h: In instantiation of 'dmlc::LogCheckError dmlc::LogCheck_EQ(const X&, const Y&) [with X = int; Y = unsigned int]':
/home/Deep-Feature-Flow/external/mxnet/nnvm/include/nnvm/tuple.h:446:55:   required from 'mshadow::Shape nnvm::TShape::get() const [with int dim = 1]'
include/mxnet/././tensor_blob.h:228:112:   required from 'mshadow::Tensor<Device, dim, DType> mxnet::TBlob::get(mshadow::Stream) const [with Device = mshadow::gpu; int dim = 1; DType = mshadow::half::half_t]'
src/operator/./sequence_reverse-inl.h:93:20:   required from 'void mxnet::op::SequenceReverseOp<xpu, DType>::Forward(const mxnet::OpContext&, const std::vectormxnet::TBlob&, const std::vectormxnet::OpReqType&, const std::vectormxnet::TBlob&, const std::vectormxnet::TBlob&) [with xpu = mshadow::gpu; DType = mshadow::half::half_t]'
/tmp/tmpxft_0000f065_00000000-4_sequence_reverse.compute_50.cudafe1.stub.c:98:27:   required from here
/home/Deep-Feature-Flow/external/mxnet/dmlc-core/include/dmlc/logging.h:94:94: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
/home/Deep-Feature-Flow/external/mxnet/dmlc-core/include/dmlc/logging.h: In instantiation of 'dmlc::LogCheckError dmlc::LogCheck_EQ(const X&, const Y&) [with X = int; Y = unsigned int]':
/home/Deep-Feature-Flow/external/mxnet/nnvm/include/nnvm/tuple.h:446:55:   required from 'mshadow::Shape nnvm::TShape::get() const [with int dim = 4]'
include/mxnet/././tensor_blob.h:228:112:   required from 'mshadow::Tensor<Device, dim, DType> mxnet::TBlob::get(mshadow::Stream) const [with Device = mshadow::gpu; int dim = 4; DType = mshadow::half::half_t]'
src/operator/./pad-inl.h:79:98:   required from 'void mxnet::op::PadOp<xpu, DType>::Forward(const mxnet::OpContext&, const std::vectormxnet::TBlob&, const std::vectormxnet::OpReqType&, const std::vectormxnet::TBlob&, const std::vectormxnet::TBlob&) [with xpu = mshadow::gpu; DType = mshadow::half::half_t]'
/tmp/tmpxft_0000f069_00000000-4_pad.compute_50.cudafe1.stub.c:228:27:   required from here
/home/Deep-Feature-Flow/external/mxnet/dmlc-core/include/dmlc/logging.h:94:94: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
/home/Deep-Feature-Flow/external/mxnet/dmlc-core/include/dmlc/logging.h: In instantiation of 'dmlc::LogCheckError dmlc::LogCheck_EQ(const X&, const Y&) [with X = int; Y = unsigned int]':
/home/Deep-Feature-Flow/external/mxnet/nnvm/include/nnvm/tuple.h:446:55:   required from 'mshadow::Shape nnvm::TShape::get() const [with int dim = 4]'
include/mxnet/././tensor_blob.h:228:112:   required from 'mshadow::Tensor<Device, dim, DType> mxnet::TBlob::get(mshadow::Stream*) const [with Device = mshadow::gpu; int dim = 4; DType = float]'
src/operator/./batch_norm-inl.h:87:6:   required from 'void mxnet::op::BatchNormOp::Forward(const mxnet::OpContext&, const std::vectormxnet::TBlob&, const std::vectormxnet::OpReqType&, const std::vectormxnet::TBlob&, const std::vectormxnet::TBlob&) [with xpu = mshadow::gpu]'
/tmp/tmpxft_0000f078_00000000-4_batch_norm.compute_50.cudafe1.stub.c:251:27:   required from here
/home/Deep-Feature-Flow/external/mxnet/dmlc-core/include/dmlc/logging.h:94:94: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
/home/Deep-Feature-Flow/external/mxnet/dmlc-core/include/dmlc/logging.h: In instantiation of 'dmlc::LogCheckError dmlc::LogCheck_EQ(const X&, const Y&) [with X = unsigned int; Y = int]':
src/operator/./deconvolution-inl.h:418:72:   required from here
/home/Deep-Feature-Flow/external/mxnet/dmlc-core/include/dmlc/logging.h:94:94: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
/home/Deep-Feature-Flow/external/mxnet/dmlc-core/include/dmlc/logging.h: In instantiation of 'dmlc::LogCheckError dmlc::LogCheck_EQ(const X&, const Y&) [with X = int; Y = unsigned int]':
/home/Deep-Feature-Flow/external/mxnet/nnvm/include/nnvm/tuple.h:446:55:   required from 'mshadow::Shape nnvm::TShape::get() const [with int dim = 3]'
src/operator/./deconvolution-inl.h:420:63:   required from here
/home/Deep-Feature-Flow/external/mxnet/dmlc-core/include/dmlc/logging.h:94:94: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]

@chencjiajy
hi! I got the same problem as u. Did u solve the problem now ?

Any Solutions to this?

authors: Anida-qin chencjiajy meetshah1995 nmweizi piiswrong wangg12 xiahouzuoxin


text:
fix bugs in im2rec.py

fout should be closed before doing anything, if it is not "WindowsError: [Error 32]" will occur.
fname should be removed before renaming fname+".tmp" to fname, if it is not "WindowsError: [Error 183]" will occur.
But why here must rewrite the lst file?
PS, My OS is Windows 10.

if use multithread, the image order in rec file maybe different to the one given in .lst. so we need to generate a new one to guarantee both files have the same order.

source: gharchive/pull-request

authors: ChasonLee mli

repo: dmlc/mxnet

license_type: permissive

license_source: github-api


text:
Fixed the trailing L problem of hex(...)

Using hex for 16-bit string conversion will cause the Trailing L Problem for 64-bit value.  See https://github.com/dmlc/mxnet/issues/545 for more detail.

Can someone verify that this works for both julia & python before we merge?

This only changes code on the python side of things, so no  need for checking Julia
I can confirm that the python side works, by running the numpy_softmax example.

This will not affect Julia side as the native operator for Julia is still pending for some refactoring of the async callback in libmxnet. In the current interface it is not possible to implement. On my phone but can provide reference to existing issues if needed.

See https://github.com/dmlc/MXNet.jl/pull/16 for reference.

authors: piiswrong pluskid sxjscience vchuravy


text:
[CI] The link in darknet tutorial is broken

The link in darknet tutorial is broken. This blocks the CI test for all pull requests.
http://ci.tvm.ai:8080/blue/organizations/jenkins/tvm/detail/PR-1671/10/pipeline
@siju-samuel  Can you take a look?

@merrymercy
The recent changes in tutorial is with PR  #1501 broken the link for downloading the weights file, leading to this CI failure.
@yzhliu please merge #1682

source: gharchive/issue

authors: merrymercy siju-samuel

repo: dmlc/tvm


text:
[Relay] [WIP] First order reverse mode Automatic Differentiation

This is still WIP - memory planner need to handle recursive tuple, and type inference need to do generalize in order for this to work.

@MarisaKirisame please update https://github.com/dmlc/tvm/issues/2237 or open a new RFC to discuss the signature of the FGradient function used in first order AD(and hopefully can be used in more advanced AD pass)

@tqchen can you be more specific? the fgradient signature is included in the rfc already.

Differentiating programs that include operators requires us to register implementations of gradients for the different operators, which we will include as attributes. More specfically, for an operator f : <x0, x1, x2...> -> y, the gradient of the operator is f : <x0, x1, x2...> -> <y, y -> <x0, x1, x2...>>

@MarisaKirisame Sorry, I meant the signature of the FGradient in C++

authors: MarisaKirisame tqchen


text:
New warning on CRAN.

https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-fedora-gcc/xgboost-00check.html
The warning must be addressed before Aug 03.

I was just looking at this, there is that one:
Result: WARN
  Found the following significant warnings:
    ./include/xgboost/parameter.h:56:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
  See ‘/data/gannet/ripley/R/packages/tests-devel/xgboost.Rcheck/00install.out’ for details.
  * used C compiler: ‘gcc-14 (GCC) 14.1.0’
  * used C++ compiler: ‘g++-14 (GCC) 14.1.0’

But also these using icc:
* checking whether package ‘xgboost’ can be installed ... [12m/16m] WARNING
Found the following significant warnings:
  /usr/lib/gcc/x86_64-redhat-linux/12/../../../../include/c++/12/bits/stl_tempbuf.h:263:8: warning: 'get_temporary_buffer<unsigned long>' is deprecated [-Wdeprecated-declarations]
  /usr/lib/gcc/x86_64-redhat-linux/12/../../../../include/c++/12/bits/stl_tempbuf.h:263:8: warning: 'get_temporary_buffer<std::pair<float, unsigned int>>' is deprecated [-Wdeprecated-declarations]
  /usr/lib/gcc/x86_64-redhat-linux/12/../../../../include/c++/12/bits/stl_tempbuf.h:263:8: warning: 'get_temporary_buffer<float>' is deprecated [-Wdeprecated-declarations]
  /usr/lib/gcc/x86_64-redhat-linux/12/../../../../include/c++/12/bits/stl_tempbuf.h:263:8: warning: 'get_temporary_buffer<xgboost::obj::ListEntry>' is deprecated [-Wdeprecated-declarations]

references:

full list of check results: https://cran.r-project.org/web/checks/check_results_xgboost.html
install: https://www.stats.ox.ac.uk/pub/bdr/Intel/xgboost.log
R CMD check: https://www.stats.ox.ac.uk/pub/bdr/Intel/xgboost.out

For {lightgbm}, we received a similar warning from CRAN about template IDs in constructors.
I had success tonight replicating those in CI using the new container images from rhub:

https://github.com/microsoft/LightGBM/pull/6523
https://r-hub.github.io/containers/

Addressed in https://github.com/dmlc/xgboost/pull/9980 , will backport.

The checks for the patch release is on-going now: https://cran.r-project.org/web/checks/check_results_xgboost.html Closing this issue. The patch release includes:

A part of https://github.com/dmlc/xgboost/pull/10465 .
https://github.com/dmlc/xgboost/pull/9980

Thank you @jameslamb for sharing the test results, excellent that r-hub has a gcc trunk container.

authors: jameslamb trivialfis

repo: dmlc/xgboost