Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Sep 2018 11:21:07 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        Ed Maste <emaste@freebsd.org>
Cc:        FreeBSD Toolchain <freebsd-toolchain@freebsd.org>
Subject:   Re: aarch64 head -r338921 vs. man ld vs. ld -v : man ld describes GNU when ld is lld
Message-ID:  <24B0E541-11B3-477F-8AB8-C1C1567EFE73@yahoo.com>
In-Reply-To: <CAPyFy2BYbcRu_eLAje0gtsnO=d8c-=LALtaqvQLk17cd=S87fw@mail.gmail.com>
References:  <B2711C66-7B88-407B-990E-7F05E2B1AB39@yahoo.com> <CAPyFy2BqXS0Pg6bjrBaYvrc22JLxfioaFWCzuqGWiv%2BdhpkbcA@mail.gmail.com> <44719FCB-0EFD-4F9F-BAB1-1093FD152681@yahoo.com> <CAPyFy2BYbcRu_eLAje0gtsnO=d8c-=LALtaqvQLk17cd=S87fw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2018-Sep-25, at 9:27 AM, Ed Maste <emaste at freebsd.org> wrote:

> On 25 September 2018 at 11:59, Mark Millard <marklmi at yahoo.com> =
wrote:
>>=20
>> install  -o root -g wheel -m 444 ld.lld.1.gz  /usr/share/man/man1/
>> rm -f /usr/share/man/man1/ld.1 /usr/share/man/man1/ld.1.gz;  install =
-l h -o root -g wheel -m 444  /usr/share/man/man1/ld.lld.1.gz =
/usr/share/man/man1/ld.1.gz
>=20
> So this looks like ld.1 should indeed be a link to ld.lld.1.
>=20
> Is it possible you're getting ld.1 from /usr/local? Does
> /usr/share/man/man1/ld.1.gz exist?

Did you notice the delete-old listing that I provided? It
included: (>>> from delete-old prefix replaced below)

>> ... Removing old files (only deletes safe to delete libs)
>> remove /usr/share/man/man1/ld.1.gz? y

(When I did the delete-old I did not pay attention to what
file it listed, and just answered y. But the typescript showed
that it was the file of interest when I searched.)

/usr/local has the only ld.1.gz :

# find /usr -name ld.1.gz -print
/usr/local/man/man1/ld.1.gz

It appears that delete-old is removing /usr/share/man/man1/ld.1.gz
and so /usr/local/man/man1/ld.1.gz is found if present.

It appears that delete-old should not be listing
/usr/share/man/man1/ld.1.gz as something to potentially delete
in this aarch64 context.



For reference:

# find /usr -name ld.1 -print
/usr/src/gnu/usr.bin/binutils/ld/ld.1

=3D=3D=3D
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?24B0E541-11B3-477F-8AB8-C1C1567EFE73>