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 6 months ago
- Status changed from New to Closed
- % Done changed from 80 to 100
commit 90f7985f020eb82d06bd0d75396ff794105f7528 Author: Robert Mustacchi <firstname.lastname@example.org> Date: 2020-11-04T15:32:25.000Z 13267 tools libld build picks up normal sgs libs Reviewed by: Richard Lowe <email@example.com> Reviewed by: Toomas Soome <firstname.lastname@example.org> Approved by: Gordon Ross <email@example.com>