Welcome, Guest
Username: Password: Remember me
CodeTyphon Linux OS Development, discussions and problems
  • Page:
  • 1

TOPIC:

Problem R_X86_64_PC32 9 years 8 months ago #6867

  • Konstantin
  • Konstantin's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 25
  • Thank you received: 0
Good afternoon!
OS: Fedora 21 64 Workstation

Not compiled fpc64.
Error build with the text: "relocation truncated to fit: R_X86_64_PC32 against"

What should be done to solve the problem?

Log
/bin/mkdir -p x86_64/units/x86_64-linux
/usr/lib/codetyphon/fpc/fpc64/bin/x86_64-linux/ppcx64 -Ur -Xs -O2 -n -Fux86_64 -Fusystems -Fu/usr/lib/codetyphon/fpcsrc/rtl/units/x86_64-linux -Fix86_64 -FE. -FUx86_64/units/x86_64-linux -Cg -dRELEASE -fPIC   -dx86_64 -dGDB -dBROWSERLOG -Fux86 -Sew pp.pas
/bin/ld: warning: ./link.res contains output sections; did you forget -T?
/usr/lib/codetyphon/fpcsrc/rtl/units/x86_64-linux/sysutils.o: In function `SYSUTILS_$$_EXPANDFILENAMECASE$RAWBYTESTRING$TFILENAMECASEMATCH$$RAWBYTESTRING':
sysutils.pp:(.text.n_sysutils_$$_expandfilenamecase$rawbytestring$tfilenamecasematch$$rawbytestring+0x22b): relocation truncated to fit: R_X86_64_PLT32 against symbol `fpc_ansistr_assign' defined in .text.n_fpc_ansistr_assign section in /usr/lib/codetyphon/fpcsrc/rtl/units/x86_64-linux/system.o
pp.pas(247,1) Error: Error while linking
pp.pas(247,1) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
Makefile:3925: ошибка выполнения рецепта для цели «ppcx64»
make[5]: *** [ppcx64] Ошибка 1
make[5]: выход из каталога «/usr/lib/codetyphon/fpcsrc/compiler»
Makefile:3967: ошибка выполнения рецепта для цели «next»
make[4]: *** [next] Ошибка 2
make[4]: выход из каталога «/usr/lib/codetyphon/fpcsrc/compiler»
Makefile:3972: ошибка выполнения рецепта для цели «ppc1»
make[3]: *** [ppc1] Ошибка 2
make[3]: выход из каталога «/usr/lib/codetyphon/fpcsrc/compiler»
Makefile:3984: ошибка выполнения рецепта для цели «cycle»
make[2]: *** [cycle] Ошибка 2
make[2]: выход из каталога «/usr/lib/codetyphon/fpcsrc/compiler»
Makefile:2779: ошибка выполнения рецепта для цели «compiler_cycle»
make[1]: *** [compiler_cycle] Ошибка 2
make[1]: выход из каталога «/usr/lib/codetyphon/fpcsrc»
Makefile:2804: ошибка выполнения рецепта для цели «build-stamp.x86_64-linux»
make: *** [build-stamp.x86_64-linux] Ошибка 2
   
[INFO]: Switch, FPC Stop Before Install Procedure, is ON.
        FPC Build procedure STOP..
   
_______________________________________________________________
 
Terminate Action at 6-3-15 12:09:07
Total time: 00:00:19.331
ExitCode : 0                                                                                

Please Log in or Create an account to join the conversation.

Last edit: by Konstantin.

Problem R_X86_64_PC32 9 years 8 months ago #6869

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4537
  • Thank you received: 1115
Sir
please Go to CTCenter=>Settings and uncheck " FPC build procedure, Stop before Installation Stage"


PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Problem R_X86_64_PC32 9 years 8 months ago #6886

  • Konstantin
  • Konstantin's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 25
  • Thank you received: 0
Okay. How can this be achieved without the GUI?

Please Log in or Create an account to join the conversation.

Problem R_X86_64_PC32 9 years 8 months ago #6887

  • Konstantin
  • Konstantin's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 25
  • Thank you received: 0
In yet found software.intel.com/en-us/articles/avoidi...tic-data-on-intel64/
Only where this parameter (-mcmodel = medium) exhibit.

Please Log in or Create an account to join the conversation.

Last edit: by Konstantin.

Problem R_X86_64_PC32 9 years 8 months ago #6890

  • Konstantin
  • Konstantin's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 25
  • Thank you received: 0
Removed 4GB memory - everything compiled fine!

Please Log in or Create an account to join the conversation.

Problem R_X86_64_PC32 9 years 8 months ago #6891

  • Konstantin
  • Konstantin's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 25
  • Thank you received: 0
The question is not removed!

Please Log in or Create an account to join the conversation.

  • Page:
  • 1