您的位置:首页 > 产品设计 > UI/UE

Building Error: relocation truncated to fit: R_X86_64_32S against symbol 'XXX'

2011-08-25 15:33 651 查看
 This error denotes mixing of small and medium memory model object files. Even if Pleides had more memory per node it would still appear. The solution is either:
a) Stick to less than 2GB of RAM per process and make sure that you are only using small memory model object code (no -mcmodel=medium flags for compiling and no libraries created with that flag).
b) If you plan to use more than 2GB of RAM per process compile everything with -mcmodel=medium and make sure all libraries have also been compiled with -mcmodel=medium or -fPIC.
c) Or compile everything with -fPIC and make sure you are not linking any static libraries compiled without -fPIC.
源地址:http://mitgcm.org/pipermail/mitgcm-support/2010-January/006441.html
 
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐