tools libld build picks up normal sgs libs
We build an ld to run on the build host to make it easier to use new features in the build. To do this, we try to reuse the normal Makefiles from cmd/sgs. The libld Makefile.com in cmd/sgs/libld ends up adding search paths to the build directories of various cmd/sgs components. When doing a full build, this ends up being fine because there's nothing there and the tools search paths which come later are fine. However, when doing an incremental build, it will actually find and link against these first, which can be especially problematic if they require features from the proto area that aren't on the build system. The solution to this is to just fix up the library paths in the tools Makefile and make sure we don't pick up anything there.
Updated by Electric Monk 11 months ago
- Status changed from New to Closed
- % Done changed from 80 to 100
commit 90f7985f020eb82d06bd0d75396ff794105f7528 Author: Robert Mustacchi <email@example.com> Date: 2020-11-04T15:32:25.000Z 13267 tools libld build picks up normal sgs libs Reviewed by: Richard Lowe <firstname.lastname@example.org> Reviewed by: Toomas Soome <email@example.com> Approved by: Gordon Ross <firstname.lastname@example.org>