You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2019/02/27 18:24:21 UTC

[GitHub] access2rohit opened a new issue #14263: MXNet Master build for CUDA with DEBUG=1 failing

access2rohit opened a new issue #14263: MXNet Master build for CUDA with DEBUG=1 failing
URL: https://github.com/apache/incubator-mxnet/issues/14263
 
 
   Note: Providing complete information in the most concise form is the best way to get help. This issue template serves as the checklist for essential information to most of the technical issues and bug reports. For non-technical issues and feature requests, feel free to present the information in what you believe is the best form.
   
   For Q & A and discussion, please start a discussion thread at https://discuss.mxnet.io 
   
   ## Description
   MXNet Master build for CUDA with DEBUG=1 failing
   
   ## Environment info (Required)
   AWS Base DLAMI (ubuntu 16.04)
   ```
   What to do:
   1. Download the diagnosis script from https://raw.githubusercontent.com/apache/incubator-mxnet/master/tools/diagnose.py
   2. Run the script using `python diagnose.py` and paste its output here.
   
   ```
   
   Package used (Python/R/Scala/Julia):
   (I'm using ...) Python
   
   ## Build info (Required if built from source)
   
   Compiler (gcc/clang/mingw/visual studio): 
   gcc 5.4
   g++ 5.4
   
   MXNet commit hash:
   (Paste the output of `git rev-parse HEAD` here.)
   Master Latest
   
   Build config:
   (Paste the content of config.mk, or the build command.)
   USE_CUDA=1
   USE_CUDNN=1
   USE_LAPACK=1
   USE_BLAS = openblas
   USE_OPENCV=1
   USE_CUDA_PATH = /usr/local/cuda
   DEBUG=1
   
   /usr/local/cuda -> /usr/local/cuda-9.0
   ## Error Message:
   (Paste the complete error message, including stack trace.)
   src/lib/x86_64-linux-gnu/libopencv_ocl.so -lopencv_ocl /usr/lib/x86_64-linux-gnu/libopencv_photo.so -lopencv_photo /usr/lib/x86_64-linux-gnu/libopencv_stitching.so -lopencv_stitching /usr/lib/x86_64-linux-gnu/libopencv_superres.so -lopencv_superres /usr/lib/x86_64-linux-gnu/libopencv_ts.so /usr/lib/x86_64-linux-gnu/libopencv_video.so -lopencv_video /usr/lib/x86_64-linux-gnu/libopencv_videostab.so -lopencv_videostab -llapack -lcudnn  -lcufft -lcuda -lnvrtc -L/usr/local/cuda/lib64/stubs
   ar: lib/libmxnet.a: File truncated
   Makefile:513: recipe for target 'lib/libmxnet.a' failed
   make: *** [lib/libmxnet.a] Error 1
   make: *** Waiting for unfinished jobs....
   /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o: In function `_init':
   (.init+0x7): relocation truncated to fit: R_X86_64_REX_GOTPCRELX against undefined symbol `__gmon_start__'
   /usr/lib/gcc/x86_64-linux-gnu/5/crtbeginS.o: In function `deregister_tm_clones':
   crtstuff.c:(.text+0x3): relocation truncated to fit: R_X86_64_PC32 against `.tm_clone_table'
   crtstuff.c:(.text+0xa): relocation truncated to fit: R_X86_64_PC32 against symbol `__TMC_END__' defined in .nvFatBinSegment section in lib/libmxnet.so
   crtstuff.c:(.text+0x1e): relocation truncated to fit: R_X86_64_REX_GOTPCRELX against undefined symbol `_ITM_deregisterTMCloneTable'
   /usr/lib/gcc/x86_64-linux-gnu/5/crtbeginS.o: In function `register_tm_clones':
   crtstuff.c:(.text+0x43): relocation truncated to fit: R_X86_64_PC32 against `.tm_clone_table'
   crtstuff.c:(.text+0x4a): relocation truncated to fit: R_X86_64_PC32 against symbol `__TMC_END__' defined in .nvFatBinSegment section in lib/libmxnet.so
   crtstuff.c:(.text+0x6b): relocation truncated to fit: R_X86_64_REX_GOTPCRELX against undefined symbol `_ITM_registerTMCloneTable'
   /usr/lib/gcc/x86_64-linux-gnu/5/crtbeginS.o: In function `__do_global_dtors_aux':
   crtstuff.c:(.text+0x92): relocation truncated to fit: R_X86_64_PC32 against `.bss'
   crtstuff.c:(.text+0x9c): relocation truncated to fit: R_X86_64_GOTPCREL against symbol `__cxa_finalize@@GLIBC_2.2.5' defined in .text section in /lib/x86_64-linux-gnu/libc.so.6
   crtstuff.c:(.text+0xaa): relocation truncated to fit: R_X86_64_PC32 against symbol `__dso_handle' defined in .data.rel.local section in /usr/lib/gcc/x86_64-linux-gnu/5/crtbeginS.o
   crtstuff.c:(.text+0xbb): additional relocation overflows omitted from the output
   lib/libmxnet.so: PC-relative offset overflow in PLT entry for `_ZNSt10_Iter_baseIPaLb0EE7_S_baseES0_'
   collect2: error: ld returned 1 exit status
   Makefile:517: recipe for target 'lib/libmxnet.so' failed
   make: *** [lib/libmxnet.so] Error 1
   /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o:(.eh_frame+0x20): relocation truncated to fit: R_X86_64_PC32 against `.text'
   /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o: In function `_init':
   (.init+0x7): relocation truncated to fit: R_X86_64_REX_GOTPCRELX against undefined symbol `__gmon_start__'
   /usr/lib/gcc/x86_64-linux-gnu/5/crtbegin.o: In function `deregister_tm_clones':
   crtstuff.c:(.text+0x8): relocation truncated to fit: R_X86_64_32S against `.tm_clone_table'
   /usr/lib/gcc/x86_64-linux-gnu/5/crtbegin.o: In function `register_tm_clones':
   crtstuff.c:(.text+0x49): relocation truncated to fit: R_X86_64_32S against `.tm_clone_table'
   /usr/lib/gcc/x86_64-linux-gnu/5/crtbegin.o: In function `__do_global_dtors_aux':
   crtstuff.c:(.text+0x82): relocation truncated to fit: R_X86_64_PC32 against `.bss'
   crtstuff.c:(.text+0x95): relocation truncated to fit: R_X86_64_PC32 against `.bss'
   /home/ubuntu/Workspace/mxnet/3rdparty/dmlc-core/libdmlc.a(io.o): In function `dmlc::io::FileSystem::GetInstance(dmlc::io::URI const&)':
   
   
   
   
   ## Minimum reproducible example
   (If you are using your own code, please provide a short script that reproduces the error. Otherwise, please provide link to the existing example.)
   
   ## Steps to reproduce
   (Paste the commands you ran that produced the error.)
   
   1. Ubuntu 16.04 with K80 GPU or V100 having CUDA9.0 or 9.2 and CUDNN 7.5
   2. follow step given here: https://mxnet.incubator.apache.org/versions/master/install/ubuntu_setup.html#build-mxnet-from-source for "GPU OpenCV and OpenBLAS" to build from source
   
   ## What have you tried to solve it?
   
   1. Tried different compiler version gcc 4.8 and g++ 4.8
   2. Tried using openCV 3.4
   

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


With regards,
Apache Git Services