/usr/bin/ld.bfd: warning: /out/link.res contains output sections; did you forget -T?
/usr/lib/fpc/3.0.2/units/x86_64-linux/rtl/prt0.o: In function `_dynamic_start':
(.text+0x3): relocation truncated to fit: R_X86_64_32S against symbol `__dl_fini' defined in COMMON section in /usr/lib/fpc/3.0.2/units/x86_64-linux/rtl/prt0.o
/usr/lib/fpc/3.0.2/units/x86_64-linux/rtl/prt0.o: In function `_start':
(.text+0x10): relocation truncated to fit: R_X86_64_32S against symbol `operatingsystem_parameter_argc' defined in COMMON section in /usr/lib/fpc/3.0.2/units/x86_64-linux/rtl/prt0.o
(.text+0x1a): relocation truncated to fit: R_X86_64_32S against symbol `operatingsystem_parameter_argv' defined in COMMON section in /usr/lib/fpc/3.0.2/units/x86_64-linux/rtl/prt0.o
(.text+0x2f): relocation truncated to fit: R_X86_64_32S against symbol `operatingsystem_parameter_envp' defined in COMMON section in /usr/lib/fpc/3.0.2/units/x86_64-linux/rtl/prt0.o
(.text+0x3d): relocation truncated to fit: R_X86_64_32S against symbol `__stkptr' defined in COMMON section in /usr/lib/fpc/3.0.2/units/x86_64-linux/rtl/prt0.o
/usr/lib/fpc/3.0.2/units/x86_64-linux/rtl/prt0.o: In function `_haltproc':
(.text+0x51): relocation truncated to fit: R_X86_64_32S against symbol `__dl_fini' defined in COMMON section in /usr/lib/fpc/3.0.2/units/x86_64-linux/rtl/prt0.o
(.text+0x62): relocation truncated to fit: R_X86_64_32S against symbol `operatingsystem_result' defined in .bss.n_operatingsystem_result section in /usr/lib/fpc/3.0.2/units/x86_64-linux/rtl/system.o
/out/foo.o: In function `main':
foo.pas:(.text.n_main+0xa2): relocation truncated to fit: R_X86_64_32S against `.bss.n_u_$p$program_$$_a'
foo.pas:(.text.n_main+0x150): relocation truncated to fit: R_X86_64_32S against `.bss.n_u_$p$program_$$_a'
/usr/lib/fpc/3.0.2/units/x86_64-linux/rtl/system.o: In function `SYSTEM_$$_GETERRNO$$LONGINT':
system.pp:(.text.n_system_$$_geterrno$$longint+0x16): relocation truncated to fit: R_X86_64_PC32 against `.bss.n_u_$system_$$_errno'
system.pp:(.text.n_system_$$_geterrno$$longint+0x21): additional relocation overflows omitted from the output
foo.pas(29,1) Error: Error while linking
foo.pas(29,1) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
Error: /usr/bin/ppcx64 returned an error exitcode