[Webkit-unassigned] [Bug 216201] [GTK]: RFE: remove using libgcryot

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 9 05:21:15 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=216201

--- Comment #3 from Tomasz Kłoczko <kloczko.tomasz at gmail.com> ---
This RFE is is about reduction of the tooling footprint used whole desktop software.
If you will look closet of the software which is using webkitgtk you will find that exact programs will be using at least two inf not somethings three crypto libraries.
Each library uses jump table. Each jump table is one of the most often used parts of the memory.
Less libraries -> less jump tables created by ld.so -> less memory used -> faster program.

# for i in 'libgnutls.so.30()(64bit)' 'libgcrypt.so.20()(64bit)' 'libcrypto.so.1.1()(64bit)' 'libssl.so.1.1()(64bit)' 'libcrypt.so.2()(64bit)';do echo -n "$i "; dnf -q repoquery --whatrequires $i |wc -l; done
libgnutls.so.30()(64bit) 216
libgcrypt.so.20()(64bit) 130
libcrypto.so.1.1()(64bit) 971
libssl.so.1.1()(64bit) 533
libcrypt.so.2()(64bit) 258

As you see libngcryot is used even less frequently than libxcrypt, gnutls, libxcrypt.
It would be nice to have possibility to build webkitgtk against openssl.

For example webkitgtk is used by epiphany:

]# ldd /usr/bin/epiphany | egrep "libgnutls.so.30|libgcrypt.so.20|libcrypto.so.1.1|libssl.so.1.1|libcrypt.so.2"
        libgcrypt.so.20 => /lib64/libgcrypt.so.20 (0x00007fe5642db000)
        libcrypto.so.1.1 => /lib64/libcrypto.so.1.1 (0x00007fe563512000)

Anfd other:

# ldd /usr/bin/devhelp | egrep "libgnutls.so.30|libgcrypt.so.20|libcrypto.so.1.1|libssl.so.1.1|libcrypt.so.2"
        libgcrypt.so.20 => /lib64/libgcrypt.so.20 (0x00007fc0872be000)
        libcrypto.so.1.1 => /lib64/libcrypto.so.1.1 (0x00007fc08458d000)

# ldd /usr/bin/geary | egrep "libgnutls.so.30|libgcrypt.so.20|libcrypto.so.1.1|libssl.so.1.1|libcrypt.so.2"
        libgcrypt.so.20 => /lib64/libgcrypt.so.20 (0x00007f78fdd73000)
        libcrypto.so.1.1 => /lib64/libcrypto.so.1.1 (0x00007f78fa5bd000)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200909/908a35c4/attachment.htm>


More information about the webkit-unassigned mailing list