Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Nov 2021 21:07:21 +0100
From:      Stefan Esser <se@freebsd.org>
To:        FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   Incompatible change in LLD13 causing link errors?
Message-ID:  <a2207fd7-4b60-9c93-8e90-f2ee3bbe4adb@freebsd.org>

next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--------------gEb4qyRsoCQhzgoIqxQXDmf8
Content-Type: multipart/mixed; boundary="------------QGSakzp46Y2h82iqf5c0AWU0";
 protected-headers="v1"
From: Stefan Esser <se@freebsd.org>
To: FreeBSD CURRENT <freebsd-current@freebsd.org>
Message-ID: <a2207fd7-4b60-9c93-8e90-f2ee3bbe4adb@freebsd.org>
Subject: Incompatible change in LLD13 causing link errors?

--------------QGSakzp46Y2h82iqf5c0AWU0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

I have just received pkg-fallout for a port that has not been touched
for several months, specifically lang/silq.

ld.lld: error: undefined hidden symbol: __start___minfo
>>> referenced by terminal.d
>>>               silq.o:(ldc.register_dso)

ld.lld: error: undefined hidden symbol: __stop___minfo
>>> referenced by terminal.d
>>>               silq.o:(ldc.register_dso)
cc: error: linker command failed with exit code 1 (use -v to see invocati=
on)
Error: /usr/bin/cc failed with status: 1
*** Error code 1

This port builds correctly with LLD12 from a port, but fails with the
error message included above for both LLD13 from a port and LLD from
the FreeBSD-CURRENT base system.

There seems to be a difference in the visibility of symbols between
the LLD versions 12 and 13, but I have no idea what changed and which
LLD flags might be available to restore the previous  behavior.

Any ideas?

--------------QGSakzp46Y2h82iqf5c0AWU0--

--------------gEb4qyRsoCQhzgoIqxQXDmf8
Content-Type: application/pgp-signature; name="OpenPGP_signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="OpenPGP_signature"

-----BEGIN PGP SIGNATURE-----

wsB5BAABCAAjFiEEo3HqZZwL7MgrcVMTR+u171r99UQFAmGVYPkFAwAAAAAACgkQR+u171r99UTA
wwf/QI/XscBfa3LfgsiMoDFQ8MNH1Zr0dQult5MF4H/tipGXiUNms5HYPvyWq8EZ9JwDsyBuGw5K
6rdAoT4bvJlMADIYBXFdavJ3GcrUO34rVIo4DHWFe4WWoQNywiq/wzm6wQVHaSqNAO0aA1BNRefU
XI5ZL2XnTiB3k5i6FZgLlQswDe7d1hpsTRovzcIbQt4aIUmxPLHKwQc9uxKuLIPUl+gEIyZqQqGo
3iP8cBv3ItCWYZnvWBnPYBziGa1ldDWaDr8PjgOYq5Mb8HpWSMvrHkd1ddsOYZD4xp8bQKUnYAb8
DhL17PSL3bxUlF1qF5GTw+Riw33B0Pf7SXNd8+gRYw==
=xJ4f
-----END PGP SIGNATURE-----

--------------gEb4qyRsoCQhzgoIqxQXDmf8--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a2207fd7-4b60-9c93-8e90-f2ee3bbe4adb>