Bug #11461
should use a native link-editor during the build
Start date:
Due date:
% Done:
100%
Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
Description
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 over 1 year 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
git commit 69b1fd3f24d0ee2e682883606201c61f52085805
commit 69b1fd3f24d0ee2e682883606201c61f52085805 Author: Richard Lowe <richlowe@richlowe.net> 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 <rm@joyent.com> Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Yuri Pankov <yuripv@yuripv.net> Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk> Approved by: Gordon Ross <gwr@nexenta.com>