Hi,
I installed lazarus 1.8.0 woth fpc& fpc-src 3.0.4 on CentOS 7. There I get an error during linking; which comes from fpc. I created a simple pascal program and tried to compile it with fpc and I get the same error.
/usr/bin/ld: warning: link.res contains output sections; did you forget -T?
/usr/bin/ld: /usr/lib64/fpc/3.0.4/units/x86_64-linux/rtl/prt0.o: unrecognized relocation (0x2a) in section `.text'
/usr/bin/ld: final link failed: Bad value
hello.pas(4,4) Error: Error while linking
hello.pas(4,4) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
Error: /usr/bin/ppcx64 returned an error exitcode
I f I uninstall 3.0.4 and install fpc 3.0.2 instead, it works fine. Also, using the fpc found in fpc-3.0.4.x86_64-linux.tar works fine.
Is this a known issue?