guanxinq opened a new issue #17874: Build Error URL: https://github.com/apache/incubator-mxnet/issues/17874 ## Description There is a build error when I do the following: ``` 1. git clone --recursive https://github.com/apache/incubator-mxnet 2. mkdir build && cd build 3. cmake -DBLAS=open -DUSE_CUDA=1 -DUSE_CUDA_PATH=/usr/local/cuda -DUSE_CUDNN=1 -DCMAKE_BUILD_TYPE=Release .. 4. make -j12 ``` Error message: ``` /home/ubuntu/last/incubator-mxnet/include/dmlc/concurrentqueue.h: In instantiation of ‘dmlc::moodycamel::ConcurrentQueue<T, Traits>::ImplicitProducer::dequeue(U&)::Guard::~Guard() [with U = mxnet::profiler::ProfileStat*; T = mxnet::profiler::ProfileStat*; Traits = dmlc::moodycamel::ConcurrentQueueDefaultTraits]’: /home/ubuntu/last/incubator-mxnet/include/dmlc/concurrentqueue.h:2569:1: required from ‘bool dmlc::moodycamel::ConcurrentQueue<T, Traits>::ImplicitProducer::dequeue(U&) [with U = mxnet::profiler::ProfileStat*; T = mxnet::profiler::ProfileStat*; Traits = dmlc::moodycamel::ConcurrentQueueDefaultTraits]’ /home/ubuntu/last/incubator-mxnet/include/dmlc/concurrentqueue.h:1663:67: required from ‘bool dmlc::moodycamel::ConcurrentQueue<T, Traits>::ProducerBase::dequeue(U&) [with U = mxnet::profiler::ProfileStat*; T = mxnet::profiler::ProfileStat*; Traits = dmlc::moodycamel::ConcurrentQueueDefaultTraits]’ /home/ubuntu/last/incubator-mxnet/include/dmlc/concurrentqueue.h:1066:20: required from ‘bool dmlc::moodycamel::ConcurrentQueue<T, Traits>::try_dequeue(U&) [with U = mxnet::profiler::ProfileStat*; T = mxnet::profiler::ProfileStat*; Traits = dmlc::moodycamel::ConcurrentQueueDefaultTraits]’ /home/ubuntu/last/incubator-mxnet/src/operator/./../profiler/./profiler.h:227:28: required from here /home/ubuntu/last/incubator-mxnet/include/dmlc/concurrentqueue.h:2566:65: error: cannot call member function ‘void dmlc::moodycamel::ConcurrentQueue<T, Traits>::add_block_to_free_list(dmlc::moodycamel::ConcurrentQueue<T, Traits>::Block*) [with T = mxnet::profiler::ProfileStat*; Traits = dmlc::moodycamel::ConcurrentQueueDefaultTraits]’ without object parent->add_block_to_free_list(block); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ CMakeFiles/mxnet_static.dir/build.make:6783: recipe for target 'CMakeFiles/mxnet_static.dir/src/operator/rnn.cu.o' failed make[2]: *** [CMakeFiles/mxnet_static.dir/src/operator/rnn.cu.o] Error 1 make[2]: *** Waiting for unfinished jobs.... ``` Environment: AWS G4 instance with Ubuntu 18.04.
---------------------------------------------------------------- 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] With regards, Apache Git Services
