DickJC123 opened a new issue #16478: CI unix-gpu GPU:CMake build failures
URL: https://github.com/apache/incubator-mxnet/issues/16478
 
 
   
   At least 2 PRs have seen GPU:CMake build failures for the unix-gpu:
   
   
http://jenkins.mxnet-ci.amazon-ml.com/blue/rest/organizations/jenkins/pipelines/mxnet-validation/pipelines/unix-gpu/branches/PR-16462/runs/6/nodes/48/steps/182/log/?start=0
   
   shows error:
   ```
   building 'mxnet._cy2.symbol' extension
   
   gcc -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing 
-Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat 
-Werror=format-security -fPIC -I../include/ -I../3rdparty/tvm/nnvm/include 
-I/usr/include/python2.7 -c mxnet/cython/symbol.cpp -o 
build/temp.linux-x86_64-2.7/mxnet/cython/symbol.o
   
   cc1plus: warning: command line option '-Wstrict-prototypes' is valid for 
C/ObjC but not for C++
   
   mxnet/cython/symbol.cpp:1568:18: warning: 'PyObject* 
__pyx_f_5mxnet_4_cy2_6symbol_py_str(const char*)' defined but not used 
[-Wunused-function]
   
    static PyObject *__pyx_f_5mxnet_4_cy2_6symbol_py_str(char const *__pyx_v_x) 
{
   
                     ^
   
   g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions 
-Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv 
-O2 -Wall -Wstrict-prototypes -Wdate-time -D_FORTIFY_SOURCE=2 -g 
-fstack-protector-strong -Wformat -Werror=format-security 
-Wl,-Bsymbolic-functions -Wl,-z,relro -Wdate-time -D_FORTIFY_SOURCE=2 -g 
-fstack-protector-strong -Wformat -Werror=format-security 
build/temp.linux-x86_64-2.7/mxnet/cython/symbol.o -L/work/build -lmxnet -o 
build/lib.linux-x86_64-2.7/mxnet/_cy2/symbol.so 
-Wl,-rpath=$ORIGIN/..:$ORIGIN/../../../lib:$ORIGIN/../../../build
   
   g++: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found
   
   compilation terminated.
   
   error: command 'g++' failed with exit status 1
   ```
   A simple retrigger shows no similar problem.
   
   Also, from @access2rohit , 
http://jenkins.mxnet-ci.amazon-ml.com/blue/organizations/jenkins/mxnet-validation%2Funix-gpu/detail/PR-16476/1/pipeline
   
   fails at nearly the same point, but with error:
   ```
   building 'mxnet._cy2.symbol' extension
   
   gcc -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing 
-Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat 
-Werror=format-security -fPIC -I../include/ -I../3rdparty/tvm/nnvm/include 
-I/usr/include/python2.7 -c mxnet/cython/symbol.cpp -o 
build/temp.linux-x86_64-2.7/mxnet/cython/symbol.o
   
   gcc: error trying to exec 'cc1plus': execvp: No such file or directory
   
   error: command 'gcc' failed with exit status 1
   
   ninja: build stopped: subcommand failed.
   
   ```
   @larroy 
   
   

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to