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

Pierre Muller pierre at freepascal.org
Wed Dec 13 14:05:34 CET 2017



Le 13/12/2017 à 00:24, Mattias Gaertner a écrit :
> On Tue, 12 Dec 2017 23:16:03 +0100
> Pierre Muller <pierre at freepascal.org> 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.
>>
>>   Apparently, we did not check that this was also the case for the RPM file.
>>
>> Could you please test the tar installer 
> 
> The tar install works.

  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 installation directory,
it contains the 4 files that are directly compiled using GNU assembler,
but the version from the general tar installer, which was generated on
a system with an old GNU binutils version.

Pierre


muller at gcc67:~/pas/fpc-3.0.4$ tar -tvzf x86_64-linux-prt0-pre2.26-binutils.tar.gz
-rw-r--r-- muller/muller 2224 2017-10-03 13:56 lib/fpc/3.0.4/units/x86_64-linux/rtl/cprt0.o
-rw-r--r-- muller/muller 1880 2017-10-03 13:56 lib/fpc/3.0.4/units/x86_64-linux/rtl/dllprt0.o
-rw-r--r-- muller/muller 2504 2017-10-03 13:56 lib/fpc/3.0.4/units/x86_64-linux/rtl/gprt0.o
-rw-r--r-- muller/muller 1896 2017-10-03 13:56 lib/fpc/3.0.4/units/x86_64-linux/rtl/prt0.o



More information about the fpc-pascal mailing list