Re: Two flaws in upcoming Gnome 3.36

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 7 Mar 2020 at 21:10, Leigh Scott <leigh123linux@xxxxxxxxx> wrote:
[..]
> > Still some long term cogl nad clutter solution needs to be applied.
>
> > As I wrote it is now separated (staticly linked) cogl and cutter copy in
> > mutter
>
> It isn't statically linked, they are renamed private libs.
>
> ldd /usr/bin/cinnamon |grep -e cogl -e clutter
>         libmuffin-clutter-0.so => /usr/lib64/muffin/libmuffin-clutter-0.so (0x00007f45dbcb1000)
>         libmuffin-cogl-pango-0.so => /usr/lib64/muffin/libmuffin-cogl-pango-0.so (0x00007f45db120000)
>         libmuffin-cogl-path-0.so => /usr/lib64/muffin/libmuffin-cogl-path-0.so (0x00007f45daf89000)
>         libmuffin-cogl-0.so => /usr/lib64/muffin/libmuffin-cogl-0.so (0x00007f45dacac000)

Hmm .. this potentially makes this even worse because:
- it is probably 3rd copy of the cogl (standalone cogl, mutter and
- mutter developer told that cogl copy is only cut to be used in
mutter. If I'm right it means that private code is used by mutter over
library jump table making that code slower than it could be.

In all those cases looks like private copies of those libraries are
used as DSOs.

Just checked and looks like mutter cogl DSOs are used by gnome-shell.

[tkloczko@barrel SPECS]$ objdump -x  /usr/lib64/libmutter-6.so.0 |
grep NEED | grep cogl
  NEEDED               libmutter-cogl-6.so.0
[tkloczko@barrel SPECS]$ objdump -x  /usr/bin/gnome-shell | grep NEED
| grep cogl
  NEEDED               libmutter-cogl-pango-6.so.0
[tkloczko@barrel SPECS]$ objdump -x  /usr/bin/mutter | grep NEED | grep cogl
[tkloczko@barrel SPECS]$

[tkloczko@barrel SPECS]$ rpm -qal | grep lib64/ | grep cogl | grep -v pkgconfig
/usr/lib64/libcogl-pango.so.20
/usr/lib64/libcogl-pango.so.20.4.2
/usr/lib64/libcogl-path.so.20
/usr/lib64/libcogl-path.so.20.4.2
/usr/lib64/libcogl.so.20
/usr/lib64/libcogl.so.20.4.2
/usr/lib64/libcogl-pango.so
/usr/lib64/libcogl-path.so
/usr/lib64/libcogl.so
/usr/lib64/mutter-6/libmutter-cogl-6.so
/usr/lib64/mutter-6/libmutter-cogl-6.so.0
/usr/lib64/mutter-6/libmutter-cogl-6.so.0.0.0
/usr/lib64/mutter-6/libmutter-cogl-pango-6.so
/usr/lib64/mutter-6/libmutter-cogl-pango-6.so.0
/usr/lib64/mutter-6/libmutter-cogl-pango-6.so.0.0.0
/usr/lib64/mutter-6/libmutter-cogl-path-6.so
/usr/lib64/mutter-6/libmutter-cogl-path-6.so.0
/usr/lib64/mutter-6/libmutter-cogl-path-6.so.0.0.0

So looks like cinamon is using 3rd copy :)

kloczek
-- 
Tomasz Kłoczko | LinkedIn: http://lnkd.in/FXPWxH
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux