Re: [fpc-pascal] linker failed with fpc rpm on CentOS 7

2017-12-13 Thread Bart
On Wed, Dec 13, 2017 at 3:00 PM, Mattias Gaertner wrote: > It links with warnings: > crtbeginS.o not found, this will probably cause a linking failure > crtendS.o not found, this will probably cause a linking failure IIRC: if you have gcc installed, then these files

Re: [fpc-pascal] linker failed with fpc rpm on CentOS 7

2017-12-13 Thread Mattias Gaertner
On Wed, 13 Dec 2017 14:05:34 +0100 Pierre Muller wrote: >[...] > On the failing RPM install, > could you test this file: > ftp://ftp.freepascal.org/pub/fpc/dist/3.0.4/x86_64-linux/x86_64-linux-prt0-pre2.26-binutils.tar.gz > > Simply extract it at the base 3.0.4

Re: [fpc-pascal] linker failed with fpc rpm on CentOS 7

2017-12-13 Thread Pierre Muller
Le 13/12/2017 à 00:24, Mattias Gaertner a écrit : > On Tue, 12 Dec 2017 23:16:03 +0100 > Pierre Muller wrote: > >> [...] >> Normally the .tar file should have been generated on a system that uses >> an earlier GNU binutils version, avoiding the problem if >> a Free

Re: [fpc-pascal] linker failed with fpc rpm on CentOS 7

2017-12-12 Thread Mattias Gaertner
On Tue, 12 Dec 2017 23:16:03 +0100 Pierre Muller wrote: >[...] > Normally the .tar file should have been generated on a system that uses > an earlier GNU binutils version, avoiding the problem if > a Free Pascal program is linked using a less recent GNU linker version. >

Re: [fpc-pascal] linker failed with fpc rpm on CentOS 7

2017-12-12 Thread Pierre Muller
Le 12/12/2017 à 20:49, Mattias Gaertner a écrit : > Hi, > > I installed fpc-3.0.4-1.x86_64.rpm from sourceforge on CentOS 7 and > compiling even the simplest of programs gives: > > /bin/ld: /usr/lib64/fpc/3.0.4/units/x86_64-linux/rtl/cprt0.o: > unrecognized relocation (0x2a) in section `.text'

[fpc-pascal] linker failed with fpc rpm on CentOS 7

2017-12-12 Thread Mattias Gaertner
Hi, I installed fpc-3.0.4-1.x86_64.rpm from sourceforge on CentOS 7 and compiling even the simplest of programs gives: /bin/ld: /usr/lib64/fpc/3.0.4/units/x86_64-linux/rtl/cprt0.o: unrecognized relocation (0x2a) in section `.text' /bin/ld: final link failed: Bad value Is this known? Mattias