Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: curaga on December 12, 2014, 05:18:55 AM

Title: Size increase of libjpeg-turbo
Post by: curaga on December 12, 2014, 05:18:55 AM
Pointed by the RC thread comment by 'a', I checked the sizes of 4.x to 5.x and 5.x to 6.x TinyCore isos. One extension's growth seemed unwarranted, libjpeg-turbo grew from 90kb to 300kb.

First there's a new lib included, the turbo-specific libturbojpeg, which I think could be disabled if we have no apps using it in the repo. Secondly, the size of libjpeg.so grew from 168kb to 292kb, which seems to mostly be from SIMD now being enabled, which is ok. I see LTO was not used in the 6.x build though.

bmarkus, could you update libjpeg-turbo in all 6.x with LTO and --without-turbojpeg passed to configure?
Title: Re: Size increase of libjpeg-turbo
Post by: bmarkus on December 12, 2014, 05:42:19 AM
bmarkus, could you update libjpeg-turbo in all 6.x with LTO and --without-turbojpeg passed to configure?

Sure
Title: Re: Size increase of libjpeg-turbo
Post by: bmarkus on December 12, 2014, 07:19:53 AM
-flto gives 0.2% size reduction. Anyhow, I will repost it without the extra lib later today.
Title: Re: Size increase of libjpeg-turbo
Post by: bmarkus on December 12, 2014, 07:52:30 AM
x86 repo updated
Title: Re: Size increase of libjpeg-turbo
Post by: curaga on December 12, 2014, 12:28:51 PM
Thanks.