relocation truncated to fit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
How can I fix the following linker error? There is a good guide about that (https://www.technovelty.org/c/relocation-truncated-to-fit-wtf.html) but I don't know which flag should I fix to fix that.

make[3]: Entering directory `/home/mahmood/Downloads/NPB3.3.1/NPB3.3-MPI/BT'
mpif90 -c -I/usr/local/include -O btio.f
mpif90 -O -o ../bin/bt.D.4 bt.o make_set.o initialize.o exact_solution.o exact_rhs.o set_constants.o adi.o define.o copy_faces.o rhs.o solve_subs.o x_solve.o y_solve.o z_solve.o add.o error.o verify.o setup_mpi.o ../common/print_results.o ../common/timers.o btio.o -L/usr/local/lib -lmpi
x_solve.o: In function `x_solve_cell_':
x_solve.f:(.text+0x77a): relocation truncated to fit: R_X86_64_32 against symbol `work_lhs_' defined in COMMON section in x_solve.o
x_solve.f:(.text+0x77f): relocation truncated to fit: R_X86_64_32 against symbol `work_lhs_' defined in COMMON section in x_solve.o
x_solve.f:(.text+0x946): relocation truncated to fit: R_X86_64_32S against symbol `work_lhs_' defined in COMMON section in x_solve.o
x_solve.f:(.text+0x94e): relocation truncated to fit: R_X86_64_32S against symbol `work_lhs_' defined in COMMON section in x_solve.o
x_solve.f:(.text+0x958): relocation truncated to fit: R_X86_64_32S against symbol `work_lhs_' defined in COMMON section in x_solve.o
x_solve.f:(.text+0x962): relocation truncated to fit: R_X86_64_32S against symbol `work_lhs_' defined in COMMON section in x_solve.o
x_solve.f:(.text+0x96c): relocation truncated to fit: R_X86_64_32S against symbol `work_lhs_' defined in COMMON section in x_solve.o
x_solve.f:(.text+0x9ab): relocation truncated to fit: R_X86_64_32S against symbol `work_lhs_' defined in COMMON section in x_solve.o
x_solve.f:(.text+0x9c6): relocation truncated to fit: R_X86_64_32S against symbol `work_lhs_' defined in COMMON section in x_solve.o
x_solve.f:(.text+0x9f3): relocation truncated to fit: R_X86_64_32S against symbol `work_lhs_' defined in COMMON section in x_solve.o
x_solve.f:(.text+0xa21): additional relocation overflows omitted from the output
collect2: error: ld returned 1 exit status
make[3]: *** [bt-bt] Error 1
make[3]: Leaving directory `/home/mahmood/Downloads/NPB3.3.1/NPB3.3-MPI/BT'
make[2]: *** [exec] Error 2
make[2]: Leaving directory `/home/mahmood/Downloads/NPB3.3.1/NPB3.3-MPI/BT'
make[1]: *** [../bin/bt.D.4] Error 2
make[1]: Leaving directory `/home/mahmood/Downloads/NPB3.3.1/NPB3.3-MPI/BT'
make: *** [bt] Error 2



Regards,
Mahmood



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux