Forum > Free Pascal

FPC 3.2.0rc1 released!

<< < (19/19)

zamronypj:
@trev is correct, binutils still has ld.bfd

Before I install binutils

--- Code: Text  [+][-]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";}};} ---# freebsd-version12.1-RELEASE-p5# cd /usr/local/bin# ls -la | grep ld# cd /usr/bin# ls -la | grep ld-r-xr-xr-x   1 root  wheel      44240 Nov  1  2019 colldef-r-xr-xr-x   1 root  wheel      15480 Nov  1  2019 foldlrwxr-xr-x   1 root  wheel          6 Nov  1  2019 ld -> ld.lld-r-xr-xr-x   1 root  wheel   37783520 Nov  1  2019 ld.lld-r-xr-xr-x   1 root  wheel      19488 Nov  1  2019 ldd-r-xr-xr-x   1 root  wheel      27024 Nov  1  2019 ldd32-r-xr-xr-x   1 root  wheel   58013080 Nov  1  2019 lldb# ld -vLLD 8.0.1 (FreeBSD 366581-1200008) (compatible with GNU linkers) 
After install binutils


--- Code: Text  [+][-]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";}};} ---#cd /usr/bin# ls -la | grep ld-r-xr-xr-x   1 root  wheel      44240 Nov  1  2019 colldef-r-xr-xr-x   1 root  wheel      15480 Nov  1  2019 foldlrwxr-xr-x   1 root  wheel          6 Nov  1  2019 ld -> ld.lld-r-xr-xr-x   1 root  wheel   37783520 Nov  1  2019 ld.lld-r-xr-xr-x   1 root  wheel      19488 Nov  1  2019 ldd-r-xr-xr-x   1 root  wheel      27024 Nov  1  2019 ldd32-r-xr-xr-x   1 root  wheel   58013080 Nov  1  2019 lldb# cd /usr/local/bin# ls -la | grep ld-r-xr-xr-x   4 root  wheel  11672576 Jun 11 01:44 ld-r-xr-xr-x   4 root  wheel  11672576 Jun 11 01:44 ld.bfd-r-xr-xr-x   2 root  wheel   4472288 Jun 11 01:44 ld.gold# which ld/usr/bin/ld# ld -vLLD 8.0.1 (FreeBSD 366581-1200008) (compatible with GNU linkers) 
So there are multiple ld binaries. /usr/local/bin/ld and /usr/local/bin/ld.bfd are same binaries.

--- Code: Text  [+][-]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";}};} ---# cd /usr/local/bin# md5 ldMD5 (ld) = 05314dfb9130039f3d473fd71e34186f# md5 ld.bfdMD5 (ld.bfd) = 05314dfb9130039f3d473fd71e34186f 

Fred vS:

--- Quote ---So there are multiple ld binaries. /usr/local/bin/ld and /usr/local/bin/ld.bfd are same binaries.
--- End quote ---

Hum, in my FreeBSD 12.0 there are also /usr/local/bin/ld and /usr/local/bin/ld.bfd, with exactly same size.

But using /usr/local/bin/ld for link with fpc crash the program, using /usr/local/bin/ld.bfd is ok.
So it is obvious that the 2 binaries are not the same.

So maybe that in the new binutils, /usr/local/bin/ld and /usr/local/bin/ld.bfd are in fact the same now.

If somebody knows the logical of the FreeBSD package, I am interested to have some explanation.

marcov:

--- Quote from: zamronypj on June 17, 2020, 03:10:42 am ---FreeBSD 12.1 does not have ld.bfd anymore

https://lists.freebsd.org/pipermail/freebsd-current/2018-November/072212.html

--- End quote ---

This mostly seems to be about ld.bfd in base, for us this doesn't matters that much if the binutils in ports works.

Navigation

[0] Message Index

[*] Previous page

Go to full version