[Differential] D22061: Build toolchain components as dynamically linked executables by default

2019-10-16 Thread dim (Dimitry Andric)
dim created this revision. dim added reviewers: emaste, imp, jhb, kib. Herald added a subscriber: bdrewery. Herald added a reviewer: manpages. REVISION SUMMARY Historically, we have built toolchain components such as cc, ld, etc as statically linked executables. One of the reasons being that

[Bug 241257] ld.lld should be built as a static binary

2019-10-16 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241257 --- Comment #8 from Dimitry Andric --- (In reply to Mike Cui from comment #5) > Because the base toolchain binaries are static I can almost always run newer > version on older systems. When I tried this going to 12.1 RC it didn't work > b

[Bug 241257] ld.lld should be built as a static binary

2019-10-16 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241257 Dimitry Andric changed: What|Removed |Added Status|New |In Progress -- You are receiving

[Bug 241257] ld.lld should be built as a static binary

2019-10-16 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241257 --- Comment #7 from commit-h...@freebsd.org --- A commit references this bug: Author: dim Date: Wed Oct 16 17:11:18 UTC 2019 New revision: 353655 URL: https://svnweb.freebsd.org/changeset/base/353655 Log: Ensure lld respects the WITH/WIT

[Bug 241257] ld.lld should be built as a static binary

2019-10-16 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241257 --- Comment #6 from Ed Maste --- Agreed ld.lld should be consistent with the rest of the toolchain. -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-toolchai

[Bug 241257] ld.lld should be built as a static binary

2019-10-16 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241257 --- Comment #5 from Mike Cui --- I agree that WITH_SHARED_TOOLCHAIN should be the default. But here one small reason I care about having statically linked pre-built toolchain binaries. I have a really slow Intel Atom machine, buildworld on

[Bug 241257] ld.lld should be built as a static binary

2019-10-16 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241257 Alex Richardson changed: What|Removed |Added CC||arichard...@freebsd.org --- Comm

[Bug 241257] ld.lld should be built as a static binary

2019-10-16 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241257 --- Comment #3 from Konstantin Belousov --- I am not sure if base system lld supports LTO, but it definitely needs to be linked shared for this to work even theoretically. I suppose that the first obstacle is that we do not provide LTO lin

[Bug 241257] ld.lld should be built as a static binary

2019-10-16 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241257 --- Comment #2 from Konstantin Belousov --- (In reply to Dimitry Andric from comment #1) I am all for linking the toolchain shared, and I would even support removing WITH_SHARED_TOOLCHAIN at all, after it is flipped. -- You are receiving

[Bug 241257] ld.lld should be built as a static binary

2019-10-16 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241257 Dimitry Andric changed: What|Removed |Added CC||d...@freebsd.org,