leezu commented on issue #16852: Could not build with CUDA_ARCH_LIST=Common
URL: 
https://github.com/apache/incubator-mxnet/issues/16852#issuecomment-565016904
 
 
   @hubutui besides using the built `CMAKE_AR` and `-mcmodel=medium`, you can 
also add  `-Wl,--no-relax`. In my case, the error message instructed to specify 
`-Wl,--no-relax`.
   
   Also, for cmake, I find that using `cmake -GNinja` to select ninja build 
system makes the relocation truncation issue less likely

----------------------------------------------------------------
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

Reply via email to