ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <at@altlinux.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] __cxa_pure_virtual [#40700] FAILED MySQL.git=5.1.56-alt2
Date: Thu, 17 Mar 2011 10:26:50 +0300
Message-ID: <20110317072649.GC5365@altlinux.org> (raw)
In-Reply-To: <4D81B345.2090207@mmedia2.kemsu.ru>

On Thu, Mar 17, 2011 at 01:07:49PM +0600, REAL wrote:
> >$ while read -r t sym; do printf '%s\t%s\t' $t $sym; echo $sym 
> >|/usr/lib/rpm/mkset 22; done<.syms |grep poHhS1
> >W       __cxa_pure_virtual      set:poHhS1
> >$
> >
> >Кто виноват
> ХЗ.
> 
> >и что будем делать?
> Ну давайте shared task. А то какие варианты?

Разобраться, почему так происходит.

$ rpm -ql amarok |xargs fgrep -l __cxa_pure_virtual |xargs -Ix -n1 /usr/lib/rpm/ldd --bindings x '' |& grep __cxa_pure_virtual |sort -u -k4,4 -k7,7
     28807:     binding file /usr/lib/kde3/bin/amarok [0] to /usr/lib64/libstdc++.so.6 [0]: normal symbol `__cxa_pure_virtual' [CXXABI_1.3]
     28814:     binding file /usr/lib/kde3/bin/amarokapp [0] to /usr/lib64/libmysqlclient.so.16 [0]: normal symbol `__cxa_pure_virtual' [libmysqlclient _16]
...
$ nm -D /usr/lib64/libstdc++.so.6 |fgrep __cxa_pure_virtual
00000000000ba8c0 T __cxa_pure_virtual
$ nm -D /usr/lib64/libmysqlclient.so.16 |fgrep __cxa_pure_virtual
00000000000b9ad0 W __cxa_pure_virtual
$ objdump -p /usr/lib/kde3/bin/amarok |grep -w NEEDED |egrep 'stdc|mysql'
  NEEDED               libstdc++.so.6
$ objdump -p /usr/lib/kde3/bin/amarokapp |grep -w NEEDED |egrep 'stdc|mysql'
  NEEDED               libmysqlclient.so.16
  NEEDED               libstdc++.so.6
$

Т.е. в libmysqlclient.so.16 имеется weak symbol, а в libstdc++.so.6 -
нормальный.  Но libmysqlclient.so.16 в списке требуемых библиотек идёт
раньше, что по идее не дложно помешать предпочесть нормальный символ.

Может, Зинка взяла^W^Wglibc глючит?


  reply	other threads:[~2011-03-17  7:26 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-17  6:49 ` Alexey Tourbin
2011-03-17  7:07   ` REAL
2011-03-17  7:26     ` Alexey Tourbin [this message]
2011-03-17  7:48       ` Alexey Tourbin
2011-03-17  8:43   ` Sergey Y. Afonin
2011-03-17  9:20     ` Alexey Tourbin
2011-03-17 19:27       ` Alexey Tourbin

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=20110317072649.GC5365@altlinux.org \
    --to=at@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