PaddlePaddle使用gcc4.9源码编译失败
Created by: yyhlvdl
xxx-System-Product-Name:~/paddle_gpu/build$ cmake ..
-- Found Paddle host system: ubuntu, version: 16.04.3
-- Found Paddle host system's CPU: 8 cores
-- Could NOT find Sphinx (missing: SPHINX_EXECUTABLE)
-- Protobuf protoc executable: /home/yyh/paddle_gpu/build/third_party/install/protobuf/bin/protoc
-- Protobuf library: /home/yyh/paddle_gpu/build/third_party/install/protobuf/lib/libprotobuf.a
-- Protobuf version: 3.1
-- Found cblas and lapack in MKLML (include: /home/yyh/paddle_gpu/build/third_party/install/mklml/mklml_lnx_2018.0.1.20171007/include, library: /home/yyh/paddle_gpu/build/third_party/install/mklml/mklml_lnx_2018.0.1.20171007/lib/libmklml_intel.so)
-- BLAS library: /home/yyh/paddle_gpu/build/third_party/install/mklml/mklml_lnx_2018.0.1.20171007/lib/libmklml_intel.so
-- Set /home/yyh/paddle_gpu/build/third_party/install/mkldnn/lib to runtime path
-- Build MKLDNN with MKLML /home/yyh/paddle_gpu/build/third_party/install/mklml/mklml_lnx_2018.0.1.20171007
-- MKLDNN library: /home/yyh/paddle_gpu/build/third_party/install/mkldnn/lib/libmkldnn.so
-- warp-ctc library: /home/yyh/paddle_gpu/build/third_party/install/warpctc/lib/libwarpctc.so
-- Current cuDNN header is /usr/local/cuda-8.0/include/cudnn.h. Current cuDNN version is v5.
-- Enable Intel OpenMP with /home/yyh/paddle_gpu/build/third_party/install/mklml/mklml_lnx_2018.0.1.20171007/lib/libiomp5.so
-- Paddle version is 0.10.0
-- CUDA detected: 8.0
-- Added CUDA NVCC flags for: sm_30 sm_35 sm_50 sm_52 sm_60 sm_61
-- Compile with MKLDNNMatrix
-- Compile with MKLDNNLayers and MKLDNNActivations
-- Configuring done
-- Generating done
-- Build files have been written to: /home/yyh/paddle_gpu/build
xxx-System-Product-Name:~/paddle_gpu/build$ make -j `nproc`
[ 1%] Built target extern_mklml
[ 3%] Built target zlib
[ 3%] Built target extern_eigen3
[ 3%] Built target extern_gflags
[ 4%] Built target extern_pybind
[ 5%] Built target extern_lib_any
[ 6%] Built target extern_nccl
[ 7%] Built target extern_warpctc
[ 7%] Built target extern_mkldnn
[ 7%] Built target extern_protobuf
[ 8%] Built target framework_py_proto_init
[ 8%] Built target extern_gtest
[ 9%] Built target extern_glog
Copy generated python proto into directory paddle/v2/fluid/proto.
[ 9%] Generating ../../paddle/python/paddle/proto/TrainerConfig_pb2.py
Scanning dependencies of target cblas
[ 9%] Built target framework_py_proto
[ 10%] Built target buddy_allocator
[ 10%] Generating ../../paddle/python/paddle/proto/ParameterService_pb2.py
[ 10%] Built target enforce
[ 10%] Building C object CMakeFiles/cblas.dir/cblas_dummy.c.o
[ 11%] Built target paddle_proto
[ 11%] Built target meta_data
[ 11%] Built target memcpy
[ 11%] Generating ../../paddle/python/paddle/proto/ParameterServerConfig_pb2.py
[ 12%] Built target memory_block
[ 12%] Built target cpu_info
[ 12%] Built target gpu_info
[ 13%] Generating ../../paddle/python/paddle/proto/ParameterConfig_pb2.py
[ 13%] Generating ../../paddle/python/paddle/proto/OptimizerConfig_pb2.py
[ 13%] Built target meta_cache
[ 13%] Generating ../../paddle/python/paddle/proto/ModelConfig_pb2.py
[ 13%] Generating ../../paddle/python/paddle/proto/DataFormat_pb2.py
[ 13%] Generating ../../paddle/python/paddle/proto/DataConfig_pb2.py
[ 13%] Linking CXX static library libpaddle_cuda.a
[ 14%] Built target paddle_trainer_lib
[ 14%] Built target gen_proto_py
[ 15%] Built target paddle_utils
[ 15%] Linking CXX static library libpaddle_math.a
[ 15%] Built target paddle_test_util
[ 15%] Linking CXX static library libpaddle_function.a
[ 16%] Built target paddle_test_main
[ 17%] Built target paddle_parameter
[ 18%] Built target paddle_pserver
[ 18%] Linking C shared library libcblas.so
[ 18%] Built target stringpiece
[ 18%] Built target paddle_network
[ 19%] Built target dynamic_loader
[ 19%] Built target cblas
[ 19%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/ContextProjection.cpp.o
[ 19%] Built target ddim
[ 19%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/ConcatenateLayer.cpp.o
[ 19%] Built target framework_proto
[ 19%] Built target scope
[ 19%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/ClipLayer.cpp.o
[ 19%] Built target activation_functions
[ 19%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/CTCLayer.cpp.o
[ 19%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/CRFLayer.cpp.o
cpplint: Checking source code style
Done processing /home/yyh/paddle_gpu/paddle/function/ContextProjectionOp.h
Done processing /home/yyh/paddle_gpu/paddle/function/ConvOp.h
Done processing /home/yyh/paddle_gpu/paddle/function/CosSimOp.h
Done processing /home/yyh/paddle_gpu/paddle/function/CropOp.h
Done processing /home/yyh/paddle_gpu/paddle/function/CrossMapNormalOp.h
Done processing /home/yyh/paddle_gpu/paddle/function/DepthwiseConvOp.h
Done processing /home/yyh/paddle_gpu/paddle/function/MulOp.h
Done processing /home/yyh/paddle_gpu/paddle/function/PadOp.h
Done processing /home/yyh/paddle_gpu/paddle/function/RowConvOp.h
Done processing /home/yyh/paddle_gpu/paddle/function/ScaleSubRegionOp.h
Done processing /home/yyh/paddle_gpu/paddle/function/SwitchOp.h
Done processing Function.h
Total errors found: 0
cpplint: Checking source code style
cpplint: Checking source code style
Done processing /home/yyh/paddle_gpu/paddle/function/BlockExpandOp.cpp
Done processing src/hl_time.cc
Done processing /home/yyh/paddle_gpu/paddle/function/ContextProjectionOp.cpp
Done processing src/hl_cpu_functions.cc
Done processing src/hl_math.cc
Done processing /home/yyh/paddle_gpu/paddle/function/CosSimOp.cpp
Done processing src/hl_avx_functions.cc
Done processing /home/yyh/paddle_gpu/paddle/function/CropOp.cpp
Done processing include/hl_time.h
Done processing /home/yyh/paddle_gpu/paddle/function/CrossMapNormalOp.cpp
Done processing include/hl_warpctc_wrap.h
Done processing include/hl_sequence.h
Done processing include/hl_cuda_cublas.h
Done processing /home/yyh/paddle_gpu/paddle/function/DepthwiseConvOp.cpp
Done processing include/hl_batch_transpose.h
Done processing include/hl_avx_functions.h
Done processing /home/yyh/paddle_gpu/paddle/function/GemmConvOp.cpp
cpplint: Checking source code style
Done processing include/hl_sparse.h
Done processing /home/yyh/paddle_gpu/paddle/function/Im2ColOp.cpp
Done processing include/hl_functions.h
Done processing /home/yyh/paddle_gpu/paddle/function/MulOp.cpp
Done processing /home/yyh/paddle_gpu/paddle/function/NaiveConvOp.cpp
Done processing include/hl_cuda_cudnn.h
Done processing /home/yyh/paddle_gpu/paddle/function/PadOp.cpp
Done processing /home/yyh/paddle_gpu/paddle/function/RowConvOp.cpp
Done processing include/hl_activation_functions.h
Done processing /home/yyh/paddle_gpu/paddle/function/ScaleSubRegionOp.cpp
Done processing /home/yyh/paddle_gpu/paddle/function/SwitchOp.cpp
Done processing include/hl_base.h
Done processing Function.cpp
Done processing BufferArg.cpp
Done processing GemmFunctor.cpp
Done processing neon/NeonDepthwiseConv.cpp
Total errors found: 0
cpplint: Checking source code style
Done processing include/stub/hl_cuda_cudnn_stub.h
[ 19%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/CRFDecodingLayer.cpp.o
[ 20%] Built target paddle_api
[ 20%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/BlockExpandLayer.cpp.o
Done processing /home/yyh/paddle_gpu/paddle/function/ContextProjectionOpGpu.cu
Done processing /home/yyh/paddle_gpu/paddle/math/BaseMatrix.cu
Done processing /home/yyh/paddle_gpu/paddle/function/CosSimOpGpu.cu
Done processing /home/yyh/paddle_gpu/paddle/function/CropOpGpu.cu
Done processing /home/yyh/paddle_gpu/paddle/function/CrossMapNormalOpGpu.cu
Done processing /home/yyh/paddle_gpu/paddle/math/TrainingAlgorithmOp.cu
Done processing /home/yyh/paddle_gpu/paddle/function/DepthwiseConvOpGpu.cu
Done processing include/stub/hl_cuda_stub.h
Done processing include/stub/hl_cuda_cublas_stub.h
[ 21%] Built target place
[ 21%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/BilinearInterpLayer.cpp.o
Done processing /home/yyh/paddle_gpu/paddle/math/CpuSparseMatrix.cpp
Done processing /home/yyh/paddle_gpu/paddle/function/Im2ColOpGpu.cu
Done processing /home/yyh/paddle_gpu/paddle/function/MulOpGpu.cu
Done processing include/stub/hl_cnn_stub.h
Done processing /home/yyh/paddle_gpu/paddle/function/PadOpGpu.cu
Done processing /home/yyh/paddle_gpu/paddle/math/MKLDNNMatrix.cpp
[ 21%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/BatchNormalizationLayer.cpp.o
Done processing include/stub/hl_lstm_stub.h
Done processing include/stub/hl_sequence_stub.h
Done processing include/stub/hl_aggregate_stub.h
Done processing /home/yyh/paddle_gpu/paddle/function/RowConvOpGpu.cu
Done processing /home/yyh/paddle_gpu/paddle/math/MathFunctions.cpp
Done processing /home/yyh/paddle_gpu/paddle/function/ScaleSubRegionOpGpu.cu
Done processing /home/yyh/paddle_gpu/paddle/math/MathUtils.cpp
Done processing /home/yyh/paddle_gpu/paddle/function/SwitchOpGpu.cu
Total errors found: 0
[ 24%] Built target paddle_function
Done processing include/stub/hl_sparse_stub.h
[ 25%] Built target paddle_optimizer
Done processing include/stub/hl_matrix_stub.h
Done processing include/hl_aggregate.h
[ 25%] Built target memory
Done processing include/hl_cuda.h
[ 25%] Built target system_allocator
Done processing include/hl_lstm.h
[ 25%] Built target dynload_cuda
Done processing include/hl_table_apply.h
Done processing include/hl_gpu.h
[ 25%] Built target attribute
Done processing include/hl_top_k.h
[ 25%] Built target prune
Done processing include/hl_matrix.h
[ 25%] Generating paddle_memory.dir/system_allocator.objdir
[ 25%] Generating paddle_memory.dir/memory.objdir
[ 25%] Generating paddle_memory.dir/memcpy.objdir
[ 25%] Generating paddle_memory.dir/meta_data.objdir
[ 25%] Generating paddle_memory.dir/meta_cache.objdir
[ 25%] Generating paddle_memory.dir/memory_block.objdir
Done processing include/hl_cnn.h
[ 25%] Generating paddle_memory.dir/buddy_allocator.objdir
Scanning dependencies of target paddle_memory
Done processing src/hl_warpctc_wrap.cc
[ 25%] Generating paddle_memory.dir/system_allocator.objdir
[ 25%] Generating paddle_memory.dir/memory.objdir
[ 25%] Generating paddle_memory.dir/memcpy.objdir
[ 25%] Generating paddle_memory.dir/meta_data.objdir
[ 25%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/BatchNormBaseLayer.cpp.o
[ 25%] Generating paddle_memory.dir/meta_cache.objdir
[ 25%] Generating paddle_memory.dir/memory_block.objdir
[ 25%] Generating paddle_memory.dir/buddy_allocator.objdir
[ 25%] Building C object paddle/memory/CMakeFiles/paddle_memory.dir/paddle_memory_dummy.c.o
Done processing src/hl_cuda_cublas.cc
[ 25%] Linking CXX static library libpaddle_memory.a
[ 26%] Built target paddle_memory
[ 26%] Built target device_context
Done processing src/hl_cuda_cudnn.cc
[ 26%] Built target shape_inference
[ 26%] Built target op_info
[ 26%] Built target op_proto_maker
Done processing src/hl_cuda_device.cc
Total errors found: 0
[ 28%] Built target paddle_cuda
[ 29%] Built target cross_entropy
[ 29%] Built target maxouting
[ 29%] Built target vol2col
[ 30%] Built target sequence2batch
[ 30%] Built target softmax
[ 30%] Built target pooling
Done processing /home/yyh/paddle_gpu/paddle/math/Matrix.cpp
[ 30%] Built target unpooling
[ 30%] Built target lstm_compute
[ 30%] Built target paddle_gtest_main
Done processing /home/yyh/paddle_gpu/paddle/math/MatrixBitCode.cpp
Done processing /home/yyh/paddle_gpu/paddle/math/MemoryHandle.cpp
[ 30%] Built target tensor
Done processing /home/yyh/paddle_gpu/paddle/math/NEONFunctions.cpp
Done processing /home/yyh/paddle_gpu/paddle/math/PoolAllocator.cpp
[ 30%] Linking CXX executable ddim_test
[ 31%] Built target math_function
[ 31%] Linking CXX executable dim_test
Done processing /home/yyh/paddle_gpu/paddle/math/SIMDFunctions.cpp
[ 31%] Built target dim_test
[ 31%] Linking CXX executable variable_test
[ 31%] Built target ddim_test
Done processing /home/yyh/paddle_gpu/paddle/math/SparseMatrix.cpp
[ 31%] Linking CXX executable scope_test
Done processing /home/yyh/paddle_gpu/paddle/math/SparseRowMatrix.cpp
Done processing /home/yyh/paddle_gpu/paddle/math/Storage.cpp
[ 31%] Built target variable_test
[ 31%] Linking CXX executable op_proto_maker_test
[ 31%] Built target scope_test
[ 31%] Linking CXX executable strided_memcpy_test
[ 31%] Built target op_proto_maker_test
Done processing /home/yyh/paddle_gpu/paddle/math/Vector.cpp
Total errors found: 0
cpplint: Checking source code style
[ 31%] Linking CXX executable gather_test
[ 31%] Built target strided_memcpy_test
[ 31%] Building NVCC (Device) object paddle/operators/math/CMakeFiles/gru_compute.dir/gru_compute_generated_gru_compute.cu.o
Done processing /home/yyh/paddle_gpu/paddle/math/Allocator.h
[ 31%] Built target gather_test
[ 31%] Building NVCC (Device) object paddle/operators/math/CMakeFiles/sequence_pooling.dir/sequence_pooling_generated_sequence_pooling.cu.o
Done processing /home/yyh/paddle_gpu/paddle/math/BaseMatrix.h
Done processing /home/yyh/paddle_gpu/paddle/math/CpuSparseMatrix.h
Done processing /home/yyh/paddle_gpu/paddle/math/ExecViaCpu.h
Done processing /home/yyh/paddle_gpu/paddle/math/MKLDNNMatrix.h
Done processing /home/yyh/paddle_gpu/paddle/math/MathFunctions.h
Done processing /home/yyh/paddle_gpu/paddle/math/MathUtils.h
[ 32%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/AverageLayer.cpp.o
[ 32%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/AgentLayer.cpp.o
[ 32%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/AddtoLayer.cpp.o
Done processing /home/yyh/paddle_gpu/paddle/math/Matrix.h
Done processing /home/yyh/paddle_gpu/paddle/math/MemoryHandle.h
Done processing /home/yyh/paddle_gpu/paddle/math/NEONFunctions.h
Done processing /home/yyh/paddle_gpu/paddle/math/PoolAllocator.h
[ 32%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/gradientmachines/RecurrentGradientMachine.cpp.o
Done processing /home/yyh/paddle_gpu/paddle/math/RowBuffer.h
Done processing /home/yyh/paddle_gpu/paddle/math/SIMDFunctions.h
Done processing /home/yyh/paddle_gpu/paddle/math/SparseMatrix.h
Done processing /home/yyh/paddle_gpu/paddle/math/SparseRowMatrix.h
Done processing /home/yyh/paddle_gpu/paddle/math/Storage.h
Done processing /home/yyh/paddle_gpu/paddle/math/TensorApply.h
Done processing /home/yyh/paddle_gpu/paddle/math/TensorAssign.h
Done processing /home/yyh/paddle_gpu/paddle/math/TensorEvaluate.h
[ 32%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/gradientmachines/ParallelNeuralNetwork.cpp.o
Done processing /home/yyh/paddle_gpu/paddle/math/TensorExpression.h
Done processing /home/yyh/paddle_gpu/paddle/math/TrainingAlgorithmOp.h
Done processing /home/yyh/paddle_gpu/paddle/math/Vector.h
Done processing /home/yyh/paddle_gpu/paddle/math/float16.h
Total errors found: 0
[ 34%] Built target paddle_math
[ 34%] Building NVCC (Device) object paddle/operators/math/CMakeFiles/context_project.dir/context_project_generated_context_project.cu.o
[ 34%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/gradientmachines/NeuralNetwork.cpp.o
[ 34%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/gradientmachines/MultiNetwork.cpp.o
[ 34%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/gradientmachines/MultiGradientMachine.cpp.o
[ 34%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/gradientmachines/GradientMachineMode.cpp.o
[ 34%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/gradientmachines/GradientMachine.cpp.o
[ 34%] Linking CXX executable scatter_test
[ 34%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/evaluators/Evaluator.cpp.o
[ 34%] Building NVCC (Device) object paddle/operators/math/CMakeFiles/math_function_gpu_test.dir/math_function_gpu_test_generated_math_function_test.cu.o
[ 34%] Built target scatter_test
[ 35%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/evaluators/DetectionMAPEvaluator.cpp.o
[ 35%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/evaluators/ChunkEvaluator.cpp.o
[ 35%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/evaluators/CTCErrorEvaluator.cpp.o
[ 35%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/dataproviders/PyDataProvider2.cpp.o
[ 35%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/dataproviders/PyDataProvider.cpp.o
[ 35%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/dataproviders/MultiDataProvider.cpp.o
[ 35%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/dataproviders/DataProvider.cpp.o
[ 35%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/activations/MKLDNNActivation.cpp.o
[ 35%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/activations/ActivationFunction.cpp.o
Scanning dependencies of target math_function_test
[ 35%] Building CXX object paddle/operators/math/CMakeFiles/math_function_test.dir/math_function_test.cc.o
Scanning dependencies of target im2col_test
[ 35%] Building CXX object paddle/operators/math/CMakeFiles/im2col_test.dir/im2col_test.cc.o
Scanning dependencies of target vol2col_test
[ 36%] Building CXX object paddle/operators/math/CMakeFiles/vol2col_test.dir/vol2col_test.cc.o
[ 36%] Linking CXX static library libpaddle_gserver.a
[ 36%] Linking CXX executable math_function_test
[ 36%] Built target math_function_test
Scanning dependencies of target parameter_optimizer_test
[ 36%] Building CXX object paddle/optimizer/CMakeFiles/parameter_optimizer_test.dir/parameter_optimizer_test.cc.o
[ 37%] Linking CXX executable im2col_test
[ 37%] Linking CXX executable vol2col_test
[ 37%] Built target im2col_test
Scanning dependencies of target serialization_test
[ 37%] Building CXX object paddle/optimizer/CMakeFiles/serialization_test.dir/serialization_test.cc.o
[ 37%] Built target vol2col_test
[ 37%] Building NVCC (Device) object paddle/math/tests/CMakeFiles/test_float16_gpu.dir/test_float16_gpu_generated_test_float16.cu.o
[ 37%] Linking CXX executable parameter_optimizer_test
[ 37%] Linking CXX executable serialization_test
[ 37%] Built target parameter_optimizer_test
[ 37%] Built target serialization_test
Scanning dependencies of target test_float16
[ 37%] Building CXX object paddle/math/tests/CMakeFiles/test_float16.dir/test_float16.cpp.o
Scanning dependencies of target stringpiece_test
[ 37%] Building CXX object paddle/string/CMakeFiles/stringpiece_test.dir/piece_test.cc.o
[ 37%] Linking CXX executable test_float16
[ 37%] Built target test_float16
[ 37%] Linking CXX executable stringpiece_test
Scanning dependencies of target stringprintf_test
[ 37%] Built target stringpiece_test
Scanning dependencies of target to_string_test
[ 37%] Building CXX object paddle/string/CMakeFiles/to_string_test.dir/to_string_test.cc.o
[ 37%] Building CXX object paddle/string/CMakeFiles/stringprintf_test.dir/printf_test.cc.o
Scanning dependencies of target gru_compute
Scanning dependencies of target context_project
[ 37%] Building CXX object paddle/operators/math/CMakeFiles/gru_compute.dir/gru_compute.cc.o
[ 37%] Building CXX object paddle/operators/math/CMakeFiles/context_project.dir/context_project.cc.o
[ 37%] Linking CXX executable stringprintf_test
Scanning dependencies of target sequence_pooling
Scanning dependencies of target math_function_gpu_test
[ 37%] Linking CXX executable to_string_test
[ 37%] Built target stringprintf_test
[ 37%] Built target to_string_test
Scanning dependencies of target memory_test
Scanning dependencies of target system_allocator_test
[ 37%] Linking CXX executable math_function_gpu_test
[ 38%] Building CXX object paddle/operators/math/CMakeFiles/sequence_pooling.dir/sequence_pooling.cc.o
[ 38%] Building CXX object paddle/memory/detail/CMakeFiles/system_allocator_test.dir/system_allocator_test.cc.o
[ 38%] Building CXX object paddle/memory/CMakeFiles/memory_test.dir/memory_test.cc.o
[ 38%] Built target math_function_gpu_test
[ 38%] Building NVCC (Device) object paddle/platform/CMakeFiles/nccl_test.dir/nccl_test_generated_nccl_test.cu.o
cpplint: Checking source code style
Done processing layers/WarpCTCLayer.cpp
[ 38%] Linking CXX static library libgru_compute.a
Done processing layers/ValidationLayer.cpp
Done processing layers/TransposedFullMatrixProjection.cpp
cpplint: Checking source code style
Done processing layers/TransLayer.cpp
Done processing layers/TensorLayer.cpp
Done processing layers/TableProjection.cpp
Done processing layers/SwitchOrderLayer.cpp
Done processing gru_compute.cc
Done processing layers/SumToOneNormLayer.cpp
Done processing gru_compute.cu
Done processing layers/SubSequenceLayer.cpp
Done processing /home/yyh/paddle_gpu/paddle/operators/math/gru_compute.h
Total errors found: 0
[ 38%] Built target gru_compute
Done processing layers/SubNestedSequenceLayer.cpp
[ 38%] Building NVCC (Device) object paddle/platform/CMakeFiles/transform_test.dir/transform_test_generated_transform_test.cu.o
Done processing layers/SpatialPyramidPoolLayer.cpp
Done processing layers/SlopeInterceptLayer.cpp
Done processing layers/SliceProjection.cpp
Done processing layers/SequenceToBatch.cpp
[ 38%] Linking CXX executable system_allocator_test
Done processing layers/SequenceSliceLayer.cpp
Done processing layers/SequenceReshapeLayer.cpp
Done processing layers/SequencePoolLayer.cpp
Done processing layers/SequenceLastInstanceLayer.cpp
[ 38%] Built target system_allocator_test
Done processing layers/SequenceConcatLayer.cpp
Scanning dependencies of target cpu_info_test
[ 38%] Building CXX object paddle/platform/CMakeFiles/cpu_info_test.dir/cpu_info_test.cc.o
Done processing layers/SelectiveFullyConnectedLayer.cpp
Done processing layers/ScalingProjection.cpp
Done processing layers/ScalingLayer.cpp
Done processing layers/ScaleSubRegionLayer.cpp
Done processing layers/ScaleShiftLayer.cpp
Done processing layers/SamplingIdLayer.cpp
Done processing layers/RowL2NormLayer.cpp
Done processing layers/RowConvLayer.cpp
Done processing layers/RotateLayer.cpp
Done processing layers/ResizeLayer.cpp
Done processing layers/RecurrentLayerGroup.cpp
[ 38%] Linking CXX executable memory_test
Done processing layers/RecurrentLayer.cpp
Done processing layers/ROIPoolLayer.cpp
Done processing layers/Projection.cpp
Done processing layers/PriorBox.cpp
[ 38%] Built target memory_test
Done processing layers/PrintLayer.cpp
Scanning dependencies of target cudnn_helper_test
Done processing layers/PowerLayer.cpp
[ 38%] Building CXX object paddle/platform/CMakeFiles/cudnn_helper_test.dir/cudnn_helper_test.cc.o
Done processing layers/PoolProjectionLayer.cpp
Done processing layers/PoolProjection.cpp
Done processing layers/PoolLayer.cpp
Done processing layers/Pool3DLayer.cpp
Done processing layers/ParameterReluLayer.cpp
Done processing layers/PadLayer.cpp
Done processing layers/OuterProdLayer.cpp
Done processing layers/Operator.cpp
Done processing layers/NormProjectionLayer.cpp
Done processing layers/NormLayer.cpp
Done processing layers/NCELayer.cpp
Done processing layers/MultiplexLayer.cpp
Done processing layers/MultinomialSampler.cpp
Done processing layers/MultiBoxLossLayer.cpp
Done processing layers/MixedLayer.cpp
Done processing layers/MaxPoolWithMaskLayer.cpp
[ 38%] Linking CXX static library libcontext_project.a
Done processing layers/MaxOutLayer.cpp
Done processing layers/MaxLayer.cpp
Done processing layers/MaxIdLayer.cpp
cpplint: Checking source code style
Done processing layers/MKLDNNPoolLayer.cpp
[ 38%] Linking CXX executable cpu_info_test
Done processing context_project.cc
Done processing context_project.cu
Done processing layers/MKLDNNLayer.cpp
[ 38%] Built target cpu_info_test
Scanning dependencies of target place_test
Done processing layers/MKLDNNFcLayer.cpp
[ 38%] Building CXX object paddle/platform/CMakeFiles/place_test.dir/place_test.cc.o
Done processing /home/yyh/paddle_gpu/paddle/operators/math/context_project.h
Total errors found: 0
[ 38%] Built target context_project
Scanning dependencies of target enforce_test
[ 38%] Building CXX object paddle/platform/CMakeFiles/enforce_test.dir/enforce_test.cc.o
Done processing layers/MKLDNNConvLayer.cpp
Done processing layers/MKLDNNConcatLayer.cpp
Done processing layers/MKLDNNBatchNormLayer.cpp
Done processing layers/MKLDNNAddtoLayer.cpp
Done processing layers/MDLstmLayer.cpp
Done processing layers/LstmStepLayer.cpp
Done processing layers/LstmLayer.cpp
Done processing layers/LstmCompute.cpp
Done processing layers/LinearChainCTC.cpp
Done processing layers/LinearChainCRF.cpp
Done processing layers/Layer.cpp
Done processing layers/L2DistanceLayer.cpp
Done processing layers/KmaxSeqScoreLayer.cpp
Done processing layers/InterpolationLayer.cpp
Done processing layers/IdentityProjection.cpp
Done processing layers/HierarchicalSigmoidLayer.cpp
Done processing layers/GruStepLayer.cpp
Done processing layers/GruCompute.cpp
Done processing layers/GetOutputLayer.cpp
Done processing layers/GatedRecurrentLayer.cpp
Scanning dependencies of target test_float16_gpu
[ 38%] Linking CXX executable test_float16_gpu
Done processing layers/FullyConnectedLayer.cpp
[ 38%] Linking CXX static library libsequence_pooling.a
Done processing layers/FullMatrixProjection.cpp
Done processing layers/FeatureMapExpandLayer.cpp
cpplint: Checking source code style
Done processing layers/FactorizationMachineLayer.cpp
[ 38%] Built target test_float16_gpu
Done processing layers/ExpandLayer.cpp
Done processing sequence_pooling.cc
Scanning dependencies of target device_context_test
Done processing sequence_pooling.cu
Done processing /home/yyh/paddle_gpu/paddle/operators/math/sequence_pooling.h
Total errors found: 0
Done processing layers/ExpandConvLayer.cpp
[ 38%] Built target sequence_pooling
Done processing layers/EosIdCheckLayer.cpp
[ 38%] Building CXX object paddle/platform/CMakeFiles/device_context_test.dir/device_context_test.cc.o
Done processing layers/DotProdLayer.cpp
Done processing layers/DotMulProjection.cpp
[ 38%] Built target selected_rows
Done processing layers/DotMulOperator.cpp
[ 39%] Built target lod_tensor
[ 39%] Built target operator
[ 39%] Linking CXX executable eigen_test
Done processing layers/DetectionUtil.cpp
Done processing layers/DetectionOutputLayer.cpp
Done processing layers/DeConv3DLayer.cpp
[ 39%] Built target eigen_test
Done processing layers/DataNormLayer.cpp
[ 39%] Linking CXX executable cudnn_helper_test
Done processing layers/DataLayer.cpp
Done processing layers/CudnnPoolLayer.cpp
[ 39%] Linking CXX executable tensor_util_test
Done processing layers/CudnnConvBaseLayer.cpp
[ 39%] Linking CXX executable place_test
[ 39%] Built target cudnn_helper_test
Done processing layers/CudnnBatchNormLayer.cpp
[ 39%] Linking CXX executable tensor_test
Done processing layers/CrossEntropyOverBeam.cpp
[ 39%] Built target place_test
Done processing layers/CrossChannelNormLayer.cpp
[ 39%] Linking CXX executable lod_tensor_test
Done processing layers/CropLayer.cpp
[ 40%] Built target tensor_util_test
[ 40%] Built target tensor_test
[ 40%] Linking CXX executable lod_tensor_gpu_test
Done processing layers/CostLayer.cpp
[ 40%] Linking CXX executable beam_search_decode_op_test
Done processing layers/CosSimVecMatLayer.cpp
Done processing layers/CosSimLayer.cpp
Done processing layers/ConvexCombinationLayer.cpp
Done processing layers/ConvTransProjection.cpp
Done processing layers/ConvTransOperator.cpp
[ 40%] Built target lod_tensor_gpu_test
Done processing layers/ConvShiftLayer.cpp
[ 40%] Built target lod_tensor_test
[ 41%] Linking CXX executable enforce_test
[ 41%] Building NVCC (Device) object paddle/operators/math/CMakeFiles/selected_rows_functor.dir/selected_rows_functor_generated_selected_rows_functor.cu.o
[ 41%] Built target nccl_common
Scanning dependencies of target selected_rows_test
Done processing layers/ConvProjection.cpp
Done processing layers/ConvOperator.cpp
[ 41%] Built target enforce_test
[ 41%] Building CXX object paddle/framework/CMakeFiles/selected_rows_test.dir/selected_rows_test.cc.o
[ 41%] Built target beam_search_decode_op_test
Done processing layers/ConvBaseProjection.cpp
[ 41%] Built target lod_rank_table
Done processing layers/ConvBaseOperator.cpp
[ 41%] Building CXX object paddle/framework/CMakeFiles/proto_desc.dir/op_desc.cc.o
Done processing layers/ConvBaseLayer.cpp
Done processing layers/Conv3DLayer.cpp
Done processing layers/ContextProjection.cpp
Done processing layers/ConcatenateLayer.cpp
Done processing layers/ClipLayer.cpp
Done processing layers/CTCLayer.cpp
Done processing layers/CRFLayer.cpp
Done processing layers/CRFDecodingLayer.cpp
Done processing layers/BlockExpandLayer.cpp
Done processing layers/BilinearInterpLayer.cpp
Done processing layers/BatchNormalizationLayer.cpp
Done processing layers/BatchNormBaseLayer.cpp
Done processing layers/AverageLayer.cpp
Done processing layers/AgentLayer.cpp
Done processing layers/AddtoLayer.cpp
Done processing gradientmachines/RecurrentGradientMachine.cpp
Done processing gradientmachines/ParallelNeuralNetwork.cpp
Done processing gradientmachines/NeuralNetwork.cpp
Done processing gradientmachines/MultiNetwork.cpp
Done processing gradientmachines/MultiGradientMachine.cpp
Done processing gradientmachines/GradientMachineMode.cpp
Done processing gradientmachines/GradientMachine.cpp
Done processing evaluators/Evaluator.cpp
Done processing evaluators/DetectionMAPEvaluator.cpp
Done processing evaluators/ChunkEvaluator.cpp
Done processing evaluators/CTCErrorEvaluator.cpp
Done processing dataproviders/PyDataProvider2.cpp
[ 41%] Linking CXX executable device_context_test
Done processing dataproviders/PyDataProvider.cpp
[ 41%] Built target device_context_test
Done processing dataproviders/DataProvider.cpp
Done processing activations/MKLDNNActivation.cpp
Done processing activations/ActivationFunction.cpp
Done processing layers/GruCompute.cu
Done processing layers/LstmCompute.cu
Total errors found: 0
cpplint: Checking source code style
Done processing layers/WarpCTCLayer.h
Done processing layers/ValidationLayer.h
Done processing layers/TransLayer.h
Done processing layers/TensorLayer.h
Done processing layers/TableProjection.h
Done processing layers/SwitchOrderLayer.h
Done processing layers/SpatialPyramidPoolLayer.h
Done processing layers/SequenceToBatch.h
Done processing layers/SequencePoolLayer.h
Done processing layers/SelectiveFullyConnectedLayer.h
Done processing layers/ScaleSubRegionLayer.h
Done processing layers/RowConvLayer.h
Done processing layers/RotateLayer.h
Done processing layers/ROIPoolLayer.h
Done processing layers/Projection.h
Done processing layers/PoolProjectionLayer.h
Done processing layers/PoolProjection.h
Done processing layers/PoolLayer.h
Done processing layers/Pool3DLayer.h
Done processing layers/ParameterReluLayer.h
Done processing layers/PadLayer.h
Done processing layers/Operator.h
Done processing layers/NormProjectionLayer.h
Done processing layers/NormLayer.h
Done processing layers/MultinomialSampler.h
Done processing layers/MultiBoxLossLayer.h
Done processing layers/MixedLayer.h
Done processing layers/MaxPoolWithMaskLayer.h
Done processing layers/MaxOutLayer.h
Done processing layers/MaxLayer.h
Done processing layers/MKLDNNPoolLayer.h
/home/yyh/paddle_gpu/paddle/framework/op_desc.cc: In lambda function:
/home/yyh/paddle_gpu/paddle/framework/op_desc.cc:320:77: error: converting to ‘const std::unordered_map<std::basic_string<char>, boost::variant<boost::blank, int, float, std::basic_string<char>, std::vector<int>, std::vector<float>, std::vector<std::basic_string<char> >, bool, std::vector<bool>, paddle::framework::BlockDescBind*> >’ from initializer list would use explicit constructor ‘std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_map(std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::size_type, const hasher&, const key_equal&, const allocator_type&) [with _Key = std::basic_string<char>; _Tp = boost::variant<boost::blank, int, float, std::basic_string<char>, std::vector<int>, std::vector<float>, std::vector<std::basic_string<char> >, bool, std::vector<bool>, paddle::framework::BlockDescBind*>; _Hash = std::hash<std::basic_string<char> >; _Pred = std::equal_to<std::basic_string<char> >; _Alloc = std::allocator<std::pair<const std::basic_string<char>, boost::variant<boost::blank, int, float, std::basic_string<char>, std::vector<int>, std::vector<float>, std::vector<std::basic_string<char> >, bool, std::vector<bool>, paddle::framework::BlockDescBind*> > >; std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::size_type = long unsigned int; std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::hasher = std::hash<std::basic_string<char> >; std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::key_equal = std::equal_to<std::basic_string<char> >; std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::allocator_type = std::allocator<std::pair<const std::basic_string<char>, boost::variant<boost::blank, int, float, std::basic_string<char>, std::vector<int>, std::vector<float>, std::vector<std::basic_string<char> >, bool, std::vector<bool>, paddle::framework::BlockDescBind*> > >]’
static_cast<OperatorWithKernel *>(op_info.Creator()("", {}, {}, {}));
^
Done processing layers/MKLDNNLayer.h
Done processing layers/MKLDNNFcLayer.h
Done processing layers/MKLDNNConvLayer.h
Done processing layers/MKLDNNConcatLayer.h
Done processing layers/MKLDNNBatchNormLayer.h
Done processing layers/MKLDNNBase.h
Done processing layers/MKLDNNAddtoLayer.h
Done processing layers/LstmLayer.h
Done processing layers/LstmCompute.h
Done processing layers/LinearChainCTC.h
Done processing layers/LinearChainCRF.h
Done processing layers/Layer.h
Done processing layers/L2DistanceLayer.h
Done processing layers/HierarchicalSigmoidLayer.h
Done processing layers/GruCompute.h
Done processing layers/GatedRecurrentLayer.h
Done processing layers/FullyConnectedLayer.h
Done processing layers/FullMatrixProjection.h
Done processing layers/FactorizationMachineLayer.h
Done processing layers/ExpandLayer.h
Done processing layers/ExpandConvLayer.h
Done processing layers/DetectionUtil.h
Done processing layers/DetectionOutputLayer.h
Done processing layers/DeConv3DLayer.h
Done processing layers/DataNormLayer.h
Done processing layers/DataLayer.h
Done processing layers/CudnnPoolLayer.h
Done processing layers/CudnnConvBaseLayer.h
Done processing layers/CudnnBatchNormLayer.h
Done processing layers/CrossEntropyOverBeam.h
Done processing layers/CropLayer.h
Done processing layers/CostLayer.h
Done processing layers/CosSimLayer.h
Done processing layers/ConvTransProjection.h
Done processing layers/ConvTransOperator.h
Done processing layers/ConvProjection.h
Done processing layers/ConvOperator.h
Done processing layers/ConvBaseProjection.h
Done processing layers/ConvBaseOperator.h
Done processing layers/ConvBaseLayer.h
Done processing layers/Conv3DLayer.h
Done processing layers/ContextProjection.h
Done processing layers/CTCLayer.h
Done processing layers/CRFLayer.h
Done processing layers/CRFDecodingLayer.h
Done processing layers/BlockExpandLayer.h
Done processing layers/BilinearInterpLayer.h
Done processing layers/BatchNormalizationLayer.h
Done processing layers/BatchNormBaseLayer.h
Done processing layers/AverageLayer.h
Done processing layers/AgentLayer.h
Done processing layers/AddtoLayer.h
paddle/framework/CMakeFiles/proto_desc.dir/build.make:86: recipe for target 'paddle/framework/CMakeFiles/proto_desc.dir/op_desc.cc.o' failed
make[2]: *** [paddle/framework/CMakeFiles/proto_desc.dir/op_desc.cc.o] Error 1
CMakeFiles/Makefile2:8839: recipe for target 'paddle/framework/CMakeFiles/proto_desc.dir/all' failed
make[1]: *** [paddle/framework/CMakeFiles/proto_desc.dir/all] Error 2
make[1]: *** 正在等待未完成的任务....
Done processing gradientmachines/RecurrentGradientMachine.h
Done processing gradientmachines/ParallelNeuralNetwork.h
Done processing gradientmachines/NeuralNetwork.h
Done processing gradientmachines/MultiNetwork.h
Done processing gradientmachines/MultiGradientMachine.h
Done processing gradientmachines/GradientMachineMode.h
Done processing gradientmachines/GradientMachine.h
Done processing evaluators/Evaluator.h
Done processing dataproviders/PyDataProvider.h
Done processing dataproviders/ProtoReader.h
Done processing dataproviders/DataProviderGroup.h
Done processing dataproviders/DataProvider.h
Done processing activations/MKLDNNActivation.h
Done processing activations/ActivationFunction.h
Total errors found: 0
[ 51%] Built target paddle_gserver
[ 51%] Linking CXX executable selected_rows_test
[ 51%] Built target selected_rows_test
Scanning dependencies of target transform_test
[ 51%] Linking CXX executable transform_test
Scanning dependencies of target nccl_test
[ 51%] Linking CXX executable nccl_test
[ 51%] Built target transform_test
[ 51%] Built target nccl_test
Scanning dependencies of target selected_rows_functor
[ 51%] Building CXX object paddle/operators/math/CMakeFiles/selected_rows_functor.dir/selected_rows_functor.cc.o
[ 52%] Linking CXX static library libselected_rows_functor.a
cpplint: Checking source code style
Done processing selected_rows_functor.cc
Done processing selected_rows_functor.cu
Done processing /home/yyh/paddle_gpu/paddle/operators/math/selected_rows_functor.h
Total errors found: 0
[ 52%] Built target selected_rows_functor
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2
新的错误,我的cmake是3.5的,需要降到3.4.1吗