Forum > Linux

Centos 6.10 New install - Linker error

(1/3) > >>

mm_coder:
New gui project with a button ...compiler messages below.
Thought this was resolved with a fpc version, but can't find a solution.
Any ideas.


Compile Project, Target: /home/bret/tmp/project1: Exit code 1, Errors: 1, Hints: 2
Hint: Start of reading config file /etc/fpc.cfg
Hint: End of reading config file /etc/fpc.cfg
Free Pascal Compiler version 3.0.4 [2017/10/02] for x86_64
Copyright (c) 1993-2017 by Florian Klaempfl and others
Target OS: Linux for x86-64
Compiling /home/bret/tmp/project1.lpr
Compiling unit1.pas
Compiling resource /home/bret/tmp/lib/x86_64-linux/project1.or
linker: /usr/bin/ld: warning: /home/bret/tmp/link.res contains output sections; did you forget -T?
Linking /home/bret/tmp/project1
linker: /usr/bin/ld: BFD version 2.20.51.0.2-5.48.el6 20100205 internal error, aborting at reloc.c line 443 in bfd_get_reloc_size

linker: /usr/bin/ld: Please report this bug.

project1.lpr(21,1) Error: Error while linking

marcov:


--- Quote ---linker: /usr/bin/ld: warning: /home/bret/tmp/link.res contains output sections; did you forget -T?

--- End quote ---

This is a warning that is fixed in newer LDs.


--- Code: Pascal  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---Linking /home/bret/tmp/project1linker: /usr/bin/ld: BFD version 2.20.51.0.2-5.48.el6 20100205 internal error, aborting at reloc.c line 443 in bfd_get_reloc_size
This internal error is a different problem in LD. Upgrade LD.

mm_coder:
Been away from programming terminology for awhile.
LD = linker debugger.........correct?

lucamar:

--- Quote from: mm_coder on March 01, 2019, 05:09:04 pm ---Been away from programming terminology for awhile.
LD = linker debugger.........correct?

--- End quote ---

Not realy. It's just the name of the GNU linker: ld, a part of the trinity of binary utlis: as, ld and gdb

mm_coder:
I'm not getting this. I would love to understand how to correct this?

Is this what I should update?
You referring to: http://ftp.gnu.org/gnu/binutils/

..or maybe the installer works correctly on Centos 7??
Have it working on windows without any issues

Navigation

[0] Message Index

[#] Next page

Go to full version