relocation truncated to fit: R_X86_64_PC32错误排除
来源:互联网 发布:wear it to heart 编辑:程序博客网 时间:2024/05/17 05:49
relocation truncated to fit: R_X86_64_PC32:
当程序开辟内存空间大于2G时,编译时会出现 relocation truncated to fit: R_X86_64_PC32的错误信息,排除办法如下:
在编译选项中加入 -mcmodel=medium
如果是MPI程序,则安装MPICH时需添加c和fortran的相关编译选项如下:
./configure --prefix=/usr/local/mpich -cflags=-mcmodel=medium -fflags=-mcmodel=medium ……
然后依次执行:
make
make install (root用户)
注:目前只测试了g77,intel编译器未知,呵呵
- relocation truncated to fit: R_X86_64_PC32错误排除
- relocation truncated to fit: R_X86_64_PC32
- SCF1d.c:(.text+0xee8): relocation truncated to fit: R_X86_64_PC32 against symbol `Fel' defined in CO
- relocation truncated to fit: R_X86_64_32
- GCC 编译错误 relocation truncated to fit: R_X86_64_32S against `.bss'
- GCC 编译错误 relocation truncated to fit: R_X86_64_32S against `.bss'
- relocation truncated to fit: R_MIPS_CALL16 问题!
- relocation truncated to fit: R_MIPS_26 against
- relocation truncated to fit: R_MIPS_CALL16 问题!
- bl跳转指令使用错误导致编译出现错误--relocation truncated to fit: R_ARM_PC24 init_irq
- Link error: relocation truncated to fit: R_MIPS_GPREL16 time
- 解决relocation truncated to fit: R_PPC_ADDR24 的问题
- Building Error: relocation truncated to fit: R_X86_64_32S against symbol 'XXX'
- 编译u-boot:_udivsi3.S:67: relocation truncated to fit: R_ARM_PLT32 __div0
- 编译u-boot:_udivsi3.S:67: relocation truncated to fit: R_ARM_PLT32 __div0
- Linking fails : relocation truncated to fit: R_X86_程序占用内存大于2GB所导致的问题
- The solution to “undefined reference”and “relocation truncated” (mostly concern cell-id stuffs)
- DataGridViewPrinter(Fit to Page)
- 得到 所有数据库中,所有用户表中的记录数
- 0410mark
- DLL的链接方式
- Oracle连接配置结构
- JVM内存设置与调优
- relocation truncated to fit: R_X86_64_PC32错误排除
- 55DNS智能网络加速 免费又好用的VPN
- 需求和架构
- VFP文件复制
- 期待4.18
- Oracle架构与管理
- Servlet过滤器介绍之原理分析
- new的后面做了什么?new 干了至少14件事--Java极限内存分析2
- Shell in Windows