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.
Updated by Rich Lowe almost 2 years ago
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 over 1 year ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
commit 69b1fd3f24d0ee2e682883606201c61f52085805 Author: Richard Lowe <email@example.com> 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 <firstname.lastname@example.org> Reviewed by: Toomas Soome <email@example.com> Reviewed by: Yuri Pankov <firstname.lastname@example.org> Reviewed by: Andy Fiddaman <email@example.com> Approved by: Gordon Ross <firstname.lastname@example.org>