public inbox for discuss@lists.illumos.org (since 2011-08)
 help / color / mirror / Atom feed
* The size of the LLVM Toolchain on illumos is too large
@ 2024-07-30  5:52 nsgnkhibdk2cls0f
  2024-07-30  6:45 ` [discuss] " Toomas Soome
  2024-07-30  7:20 ` Peter Tribble
  0 siblings, 2 replies; 3+ messages in thread
From: nsgnkhibdk2cls0f @ 2024-07-30  5:52 UTC (permalink / raw)
  To: illumos-discuss

[-- Attachment #1: Type: text/plain, Size: 280 bytes --]

You statically linked everything? Is it possible to link dynamically? Build the library into shared libraries will help reduce the size significantly. Currently, it seems the libraries are linked statically into each binaries again and again that caused the tremendous size bloat.

[-- Attachment #2: Type: text/html, Size: 336 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [discuss] The size of the LLVM Toolchain on illumos is too large
  2024-07-30  5:52 The size of the LLVM Toolchain on illumos is too large nsgnkhibdk2cls0f
@ 2024-07-30  6:45 ` Toomas Soome
  2024-07-30  7:20 ` Peter Tribble
  1 sibling, 0 replies; 3+ messages in thread
From: Toomas Soome @ 2024-07-30  6:45 UTC (permalink / raw)
  To: illumos-discuss



> On 30. Jul 2024, at 08:52, nsgnkhibdk2cls0f via illumos-discuss <discuss@lists.illumos.org> wrote:
> 
> You statically linked everything? Is it possible to link dynamically? Build the library into shared libraries will help reduce the size significantly. Currently, it seems the libraries are linked statically into each binaries again and again that caused the tremendous size bloat.


wether you link something statically or not is an compromise. If you ever have dealt with dependency hell, you would know.

rgds,
toomas

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [discuss] The size of the LLVM Toolchain on illumos is too large
  2024-07-30  5:52 The size of the LLVM Toolchain on illumos is too large nsgnkhibdk2cls0f
  2024-07-30  6:45 ` [discuss] " Toomas Soome
@ 2024-07-30  7:20 ` Peter Tribble
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Tribble @ 2024-07-30  7:20 UTC (permalink / raw)
  To: illumos-discuss

[-- Attachment #1: Type: text/plain, Size: 1023 bytes --]

On Tue, Jul 30, 2024 at 6:52 AM nsgnkhibdk2cls0f via illumos-discuss <
discuss@lists.illumos.org> wrote:

> You statically linked everything? Is it possible to link dynamically?
> Build the library into shared libraries will help reduce the size
> significantly. Currently, it seems the libraries are linked statically into
> each binaries again and again that caused the tremendous size bloat.
> *illumos <https://illumos.topicbox.com/latest>* / illumos-discuss / see
> discussions <https://illumos.topicbox.com/groups/discuss> + participants
> <https://illumos.topicbox.com/groups/discuss/members> + delivery options
> <https://illumos.topicbox.com/groups/discuss/subscription> Permalink
> <https://illumos.topicbox.com/groups/discuss/T2ce11f1b3029091d-Mbd12c6fa3b40020f398b1c38>
>

That's the choice of the LLVM project, not something we've done.

Mind you, the Rust toolchain comes out pretty much the same size.

-- 
-Peter Tribble
http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/

[-- Attachment #2: Type: text/html, Size: 1968 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-07-30  7:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-30  5:52 The size of the LLVM Toolchain on illumos is too large nsgnkhibdk2cls0f
2024-07-30  6:45 ` [discuss] " Toomas Soome
2024-07-30  7:20 ` Peter Tribble

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).