Incompatible change in LLD13 causing link errors?
- Reply: Dimitry Andric : "Re: Incompatible change in LLD13 causing link errors?"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 17 Nov 2021 20:07:21 UTC
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 invocation) 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?