Thank you all. I did try yum update binutils, no luck. So I tried yum update, let it update 136 packets, no luck.
So, I will try you idea of dropping back to (I think 2.6.4) FPC that is prepacked for CentOS 6.8.
Forced an FTP download of 2.6.4 bin & src, and viola: # fpc test
Free Pascal Compiler version 2.6.4 [2014/03/07] for x86_64 Copyright (c) 1993-2014 by Florian Klaempfl and others Target OS: Linux for x86-64
Compiling test.pp
Linking test
/usr/bin/ld: warning: link.res contains output sections; did you forget -T? 9 lines compiled, 0.1 sec
Just had to code around:
pascal.inc(1251,35) Error: Identifier not found "GetCPUCount"
pascal.inc(1256,37) Error: Identifier not found "AVXSupport"
pascal.inc(1260,38) Error: Identifier not found "AVX2Support"
pascal.inc(1264,37) Error: Identifier not found "FMASupport"
;-)
THANKS!
PS. Sorry Ralf, I did not realize you were saying "it's an LD issue" ;-)
AM Florian Klämpfl wrote 29 lines
Am 03.02.19 um 11:09 schrieb Tomas Hajny:
> On Sun, February 3, 2019 08:40, Ozz Nixon wrote:
>
>
> Hi Ozz,
>
> .
> .
>> /usr/bin/ld: BFD version 2.20.51.0.2-5.44.el6 20100205 internal error,
>> line 443 in bfd_get_reloc_size
>>
>> /usr/bin/ld: Please report this bug.
> .
> .
>
> As correctly pointed out by Ralf, the messages above clearly say that you
> get an internal error in '/usr/bin/ld' and that you should report it to
ld
> maintainers (or possibly maintainers of your distribution) together with
> information about the reported location in the C source of ld.
>
It might be worth to try first with newer binutils, 2.20 is almost 10
years old. Or try with the fpc which comes with the used CentOS. IIRC
CentOS 6 is using some ancient kernel 2.6.xx even?
_______________________________________________
fpc-devel maillist -
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel