ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Gladkov <legion@altlinux.ru>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] [Sisyphus-cybertalk] I: Sisyphus-20060809	dup_elf_symbols
Date: Wed, 09 Aug 2006 13:15:52 +0400
Message-ID: <44D9A7C8.50507@altlinux.ru> (raw)
In-Reply-To: <20060809014028.GH16715@localhost.localdomain>

Alexey Tourbin пишет:
> Маленький разбор полетов.
>> firefox	/usr/lib/firefox-1.5.0.6/libmozjs.so	thunderbird	/usr/lib/thunderbird-1.5.0.2/libmozjs.so	10
>> firefox	/usr/lib/firefox-1.5.0.6/libmozjs.so	xulrunner	/usr/lib/xulrunner-1.8.0.1/libmozjs.so	10
>> firefox	/usr/lib/firefox-1.5.0.6/libxpcom.so	thunderbird	/usr/lib/thunderbird-1.5.0.2/libxpcom.so	5
>> firefox	/usr/lib/firefox-1.5.0.6/libxpcom.so	xulrunner	/usr/lib/xulrunner-1.8.0.1/libxpcom.so	5
> 
> Дублирование библиотек хорошо обнаруживается, на уровне примерно 5-10.

Да. Есть такое. xpcom сложно отрывается от проекта. libmozjs можно
попробовать выделить.

>> firefox	/usr/lib/firefox-1.5.0.6/libxul.so	firefox	/usr/lib/firefox-1.5.0.6/firefox-bin	7
> 
> T       ShowOSAlert
> T       XRE_GetBinaryPath
> T       XRE_GetFileFromPath
> T       XRE_main
> T       _Z15WriteConsoleLogv
> T       _Z18NS_LockProfilePathP12nsILocalFileS0_PP18nsIProfileUnlockerPP14nsIProfileLock
> T       _Z21Apprunner_NSGetModuleP19nsIComponentManagerP7nsIFilePP9nsIModule
> T       _Z25InstallUnixSignalHandlersPKc
> T       _Z25NS_CreateNativeAppSupportPP19nsINativeAppSupport
> T       _Z27NS_NewToolkitProfileServicePP24nsIToolkitProfileService
> T       _ZN12nsXULAppInfo10GetVersionER19nsACString_internal
> T       _ZN12nsXULAppInfo11GetXPCOMABIER19nsACString_internal
> T       _ZN12nsXULAppInfo13GetAppBuildIDER19nsACString_internal
> T       _ZN12nsXULAppInfo13GetInSafeModeEPi
> T       _ZN12nsXULAppInfo14QueryInterfaceERK4nsIDPPv
> T       _ZN12nsXULAppInfo18GetPlatformBuildIDER19nsACString_internal
> T       _ZN12nsXULAppInfo18GetPlatformVersionER19nsACString_internal
> T       _ZN12nsXULAppInfo19GetLogConsoleErrorsEPi
> T       _ZN12nsXULAppInfo19SetLogConsoleErrorsEi
> T       _ZN12nsXULAppInfo5GetIDER19nsACString_internal
> 
> firefox статически слинкован со своей же собственной libxul?

Конечно нет.
$ ldd firefox-bin |grep libxul
        libxul.so => /usr/lib/firefox-1.5.0.6/libxul.so (0xa67f3000)
$ l /usr/lib/firefox-1.5.0.6/libxul.so
/usr/lib/firefox-1.5.0.6/firefox-bin
-rwxr-xr-x 1 root root    935753 Авг  7 18:30
/usr/lib/firefox-1.5.0.6/firefox-bin
-rw-r--r-- 1 root root 151276073 Авг  7 18:30
/usr/lib/firefox-1.5.0.6/libxul.so

-- 
Rgrds, legion



  reply	other threads:[~2006-08-09  9:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-09  1:40 ` Alexey Tourbin
2006-08-09  9:15   ` Alexey Gladkov [this message]
2006-08-09 10:12   ` Sergey Vlasov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44D9A7C8.50507@altlinux.ru \
    --to=legion@altlinux.ru \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git