should use a native link-editor during the build
We should build a native link-editor and its dependencies in usr/src/tools and use them during the rest of the build. This way new features in the link-editor can be used immediately in our tree.
We have to accomplish this via adding a flag to cw(1) to specify the link-editor to use, and then having cw(1) set LD_ALTEXEC in the environment.
This is because GCC when built using --with-ld (as is common), cannot be made to search for ld in the directories specified by -B, the configured ld is hard-coded and unavoidable.
Updated by Electric Monk about 2 months ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
commit 69b1fd3f24d0ee2e682883606201c61f52085805 Author: Richard Lowe <firstname.lastname@example.org> Date: 2019-09-04T18:09:21.000Z 11461 should use a native link-editor during the build 11463 SUNWonld has passed its use-by date 11464 cmd/sgs/tools should contain tools, not common code 11465 sgsmsg should be built with the rest of the build tools Reviewed by: Robert Mustacchi <email@example.com> Reviewed by: Toomas Soome <firstname.lastname@example.org> Reviewed by: Yuri Pankov <email@example.com> Reviewed by: Andy Fiddaman <firstname.lastname@example.org> Approved by: Gordon Ross <email@example.com>