View previous topic :: View next topic |
Author |
Message |
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3627
|
Posted: Tue Apr 16, 2024 1:54 pm Post subject: media-libs/opus-1.5.1-r1->1.5.2: ~72% binary size drop ;) |
|
|
Interestingly: Code: | pckllbin opus
-rwxr-xr-x 1 root root 5363496 avril 8 17:38 /usr/lib64/libopus.so.0.10.0
* media-libs/opus-1.5.1-r1
Total files : 19
Total size : 5.80 MiB |
Code: | pckllbin opus
-rwxr-xr-x 1 root root 386856 avril 16 16:42 /usr/lib64/libopus.so.0.10.1
* media-libs/opus-1.5.2
Total files : 19
Total size : 1.06 MiB |
Code: | USE="-custom-modes -debug -doc -hardened -static-libs -test" ABI_X86="-32 (64) (-x32)" CPU_FLAGS_X86="sse"-Wa,-mbranches-within-32B-boundaries
CFLAGS="-march=core2 -mtune=native -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects -pipe -Wa,-mbranches-within-32B-boundaries"
CXXFLAGS="-march=core2 -mtune=native -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects -pipe -Wa,-mbranches-within-32B-boundaries"
FEATURES="binpkg-multi-instance parallel-fetch multilib-strict usersandbox split-elog compress-build-logs assume-digests pkgdir-index-trusted binpkg-dostrip binpkg-logs strict pid-sandbox protect-owned qa-unresolved-soname-deps unmerge-orphans ebuild-locks userfetch sfperms distlocks news unmerge-logs fixlafiles network-sandbox preserve-libs merge-sync userpriv sandbox usersync binpkg-docompress config-protect-if-modified unknown-features-warn ipc-sandbox buildpkg-live" |
Plz note "-Wa,-mbranches-within-32B-boundaries" badly increases binary size here.
Hoping this is for the best...
Thks 4 ur attention, interest & support. _________________ USE="-* ..." in /etc/portage/make.conf here.
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. " |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21663
|
Posted: Tue Apr 16, 2024 2:48 pm Post subject: |
|
|
That seems like a major flag changed, such as removal of debug symbols or switching from -O0 to -O2. |
|
Back to top |
|
|
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3627
|
Posted: Tue Apr 16, 2024 2:53 pm Post subject: |
|
|
What ever the cause is, not on my side IIRC.
Do you have any numbers to share by chance?
Thks 4 ur attention, interest & support. _________________ USE="-* ..." in /etc/portage/make.conf here.
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. " |
|
Back to top |
|
|
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3627
|
Posted: Tue Apr 16, 2024 3:07 pm Post subject: |
|
|
Hu wrote: | That seems like a major flag changed, such as removal of debug symbols or switching from -O0 to -O2. |
You may be right Code: | diff /var/db/repos/gentoo/media-libs/opus/opus-1.5.1-r1.ebuild /var/db/repos/gentoo/media-libs/opus/opus-1.5.2.ebuild
15c15
< KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
---
> KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
36,40d35
<
< # These all have runtime toggles too, per https://opus-codec.org/demo/opus-1.5/
< -Denable-deep-plc=true
< -Denable-dred=true
< -Denable-osce=true
| is evidently a thing.
repo/gentoo.git: Code: | media-libs/opus: bump to 1.5.2
also removed runtime toggles from the ebuild as they are not in the meson file anymore |
Time to wonder what functional loss underlies there? ( i.e. AFA conversion is concerned dor my usecase, if any )
Thks 4 ur attention, interest & support. _________________ USE="-* ..." in /etc/portage/make.conf here.
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. " |
|
Back to top |
|
|
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3627
|
Posted: Tue Apr 16, 2024 4:04 pm Post subject: |
|
|
Compressing same wav with both version: Code: | ll session_Audio\ 1-51.opus session_Audio\ 1-52.opus
-rw-r--r-- 1 luc luc 6228421 avril 16 18:55 'session_Audio 1-51.opus'
-rw-r--r-- 1 luc luc 6228421 avril 16 18:48 'session_Audio 1-52.opus |
Thks 4 ur attention, interest & support. _________________ USE="-* ..." in /etc/portage/make.conf here.
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. " |
|
Back to top |
|
|
|