rimusolem opened a new issue #9780: Build error
URL: https://github.com/apache/incubator-mxnet/issues/9780
   I got the following error while building mxnet in Arch linux with gcc 7.3.0. 
   make[3]: Entering directory 
     CXX      src/libzmq_la-address.lo
   In file included from 
                    from /usr/include/c++/7.3.0/string:38,
                    from src/address.hpp:33,
                    from src/address.cpp:31:
   /usr/include/features.h:376:4: error: #warning _FORTIFY_SOURCE requires 
compiling with optimization (-O) [-Werror=cpp]
    #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
   cc1plus: all warnings being treated as errors
   make[3]: *** [Makefile:2543: src/libzmq_la-address.lo] Error 1
   I used these options.
   USE_BLAS=mkl ADD_CFLAGS=-I/opt/intel/mkl/include 
ADD_LDFLAGS=-L/opt/intel/mkl/lib/intel64 USE_LAPACK=1 USE_CPP_PACKAGE=1 
   The compilation was successful without `USE_DIST_KVSTORE=1`.

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

With regards,
Apache Git Services

Reply via email to