* [devel] __cxa_pure_virtual [#40700] FAILED MySQL.git=5.1.56-alt2 @ 2011-03-17 6:49 ` Alexey Tourbin 2011-03-17 7:07 ` REAL 2011-03-17 8:43 ` Sergey Y. Afonin 0 siblings, 2 replies; 7+ messages in thread From: Alexey Tourbin @ 2011-03-17 6:49 UTC (permalink / raw) To: devel On Thu, Mar 17, 2011 at 09:29:56AM +0300, Girar Builder robot wrote: > http://git.altlinux.org/tasks/40700/task/log.1.1 > > 2011-Mar-17 09:07:22 :: test-only task #40700 for sisyphus started by at: > #100 build 5.1.56-alt2 from /people/at/packages/MySQL.git > 2011-Mar-17 09:07:23 :: cloned Sisyphus > 2011-Mar-17 09:07:25 :: [i586] #100 MySQL.git 5.1.56-alt2: build start > 2011-Mar-17 09:07:25 :: [x86_64] #100 MySQL.git 5.1.56-alt2: build start > 2011-Mar-17 09:28:03 :: [i586] #100 MySQL.git 5.1.56-alt2: build OK > 2011-Mar-17 09:28:31 :: [x86_64] #100 MySQL.git 5.1.56-alt2: build OK > 2011-Mar-17 09:28:46 :: build check OK > 2011-Mar-17 09:28:57 :: noarch check OK > 2011-Mar-17 09:28:58 :: version check OK > 2011-Mar-17 09:29:48 :: created test repo > i586: NEW unmet dependencies detected: > Xdmf#20100923-alt4 libmysqlclient.so.16 >= set:poHhS1 > amarok#1.4.10-alt11 libmysqlclient.so.16 >= set:plrWrzKQkyD17tlB6mfvdEbMylC9zcSDgAk9kKJMkGtK2 > amarok-engine-xine#1.4.10-alt11 libmysqlclient.so.16 >= set:poHhS1 > amarok-mediadevice-daap#1.4.10-alt11 libmysqlclient.so.16 >= set:poHhS1 > amarok-mediadevice-generic#1.4.10-alt11 libmysqlclient.so.16 >= set:poHhS1 > amarok-mediadevice-ipod#1.4.10-alt11 libmysqlclient.so.16 >= set:poHhS1 > amarok-mediadevice-mtp#1.4.10-alt11 libmysqlclient.so.16 >= set:poHhS1 $ rpmsodiff /ALT/Sisyphus/files/x86_64/RPMS/libmysqlclient16-5.1.56-alt1.x86_64.rpm libmysqlclient16-5.1.56-alt2.x86_64.rpm |grep symbols 2040 symbols removed ... $ 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 $ Кто виноват и что будем делать? ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [devel] __cxa_pure_virtual [#40700] FAILED MySQL.git=5.1.56-alt2 2011-03-17 6:49 ` [devel] __cxa_pure_virtual [#40700] FAILED MySQL.git=5.1.56-alt2 Alexey Tourbin @ 2011-03-17 7:07 ` REAL 2011-03-17 7:26 ` Alexey Tourbin 2011-03-17 8:43 ` Sergey Y. Afonin 1 sibling, 1 reply; 7+ messages in thread From: REAL @ 2011-03-17 7:07 UTC (permalink / raw) To: ALT Linux Team development discussions 17.03.2011 12:49, Alexey Tourbin пишет: > $ rpmsodiff /ALT/Sisyphus/files/x86_64/RPMS/libmysqlclient16-5.1.56-alt1.x86_64.rpm libmysqlclient16-5.1.56-alt2.x86_64.rpm |grep symbols > 2040 symbols removed > ... > $ 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. А то какие варианты? -- REAL aka Евгений Ростовцев, программист ЦНИТ КемГУ ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [devel] __cxa_pure_virtual [#40700] FAILED MySQL.git=5.1.56-alt2 2011-03-17 7:07 ` REAL @ 2011-03-17 7:26 ` Alexey Tourbin 2011-03-17 7:48 ` Alexey Tourbin 0 siblings, 1 reply; 7+ messages in thread From: Alexey Tourbin @ 2011-03-17 7:26 UTC (permalink / raw) To: ALT Linux Team development discussions 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 глючит? ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [devel] __cxa_pure_virtual [#40700] FAILED MySQL.git=5.1.56-alt2 2011-03-17 7:26 ` Alexey Tourbin @ 2011-03-17 7:48 ` Alexey Tourbin 0 siblings, 0 replies; 7+ messages in thread From: Alexey Tourbin @ 2011-03-17 7:48 UTC (permalink / raw) To: ALT Linux Team development discussions On Thu, Mar 17, 2011 at 10:26:50AM +0300, Alexey Tourbin wrote: > Разобраться, почему так происходит. > > $ 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 в списке требуемых библиотек идёт > раньше, что по идее не дложно помешать предпочесть нормальный символ. Ох, тут ещё versioning наслоился! Предпочтение идёт по link-time версионированию. Тогда взяла не Зинка, а bfd. Ё-моё... $ readelf -W --dyn-syms /usr/lib/kde3/bin/amarok /usr/lib/kde3/bin/amarokapp |grep __cxa_pure 72: 0000000000402a60 0 FUNC GLOBAL DEFAULT UND __cxa_pure_virtual@CXXABI_1.3 (5) 172: 0000000000403e38 0 FUNC GLOBAL DEFAULT UND __cxa_pure_virtual@libmysqlclient_16 (8) $ ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [devel] __cxa_pure_virtual [#40700] FAILED MySQL.git=5.1.56-alt2 2011-03-17 6:49 ` [devel] __cxa_pure_virtual [#40700] FAILED MySQL.git=5.1.56-alt2 Alexey Tourbin 2011-03-17 7:07 ` REAL @ 2011-03-17 8:43 ` Sergey Y. Afonin 2011-03-17 9:20 ` Alexey Tourbin 1 sibling, 1 reply; 7+ messages in thread From: Sergey Y. Afonin @ 2011-03-17 8:43 UTC (permalink / raw) To: ALT Linux Team development discussions On Thursday, March 17, 2011, Alexey Tourbin wrote: > 2011-Mar-17 09:07:22 :: test-only task #40700 for sisyphus started by at: > #100 build 5.1.56-alt2 from /people/at/packages/MySQL.git > mysql-workbench-gpl#5.2.31a-alt1 libmysqlclient_r.so.16()(64bit) >= Мне #40548 собирать, или в #40700 перенести сразу ? -- С уважением, Сергей Афонин asy@altlinux.ru ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [devel] __cxa_pure_virtual [#40700] FAILED MySQL.git=5.1.56-alt2 2011-03-17 8:43 ` Sergey Y. Afonin @ 2011-03-17 9:20 ` Alexey Tourbin 2011-03-17 19:27 ` Alexey Tourbin 0 siblings, 1 reply; 7+ messages in thread From: Alexey Tourbin @ 2011-03-17 9:20 UTC (permalink / raw) To: ALT Linux Team development discussions On Thu, Mar 17, 2011 at 11:43:12AM +0300, Sergey Y. Afonin wrote: > On Thursday, March 17, 2011, Alexey Tourbin wrote: > > > 2011-Mar-17 09:07:22 :: test-only task #40700 for sisyphus started by at: > > #100 build 5.1.56-alt2 from /people/at/packages/MySQL.git > > > mysql-workbench-gpl#5.2.31a-alt1 libmysqlclient_r.so.16()(64bit) >= > > Мне #40548 собирать, или в #40700 перенести сразу ? Не решил ещё, нужна ли массовая персборка пакетов. Вечером ещё поковыряю. ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [devel] __cxa_pure_virtual [#40700] FAILED MySQL.git=5.1.56-alt2 2011-03-17 9:20 ` Alexey Tourbin @ 2011-03-17 19:27 ` Alexey Tourbin 0 siblings, 0 replies; 7+ messages in thread From: Alexey Tourbin @ 2011-03-17 19:27 UTC (permalink / raw) To: ALT Linux Team development discussions On Thu, Mar 17, 2011 at 12:20:18PM +0300, Alexey Tourbin wrote: > On Thu, Mar 17, 2011 at 11:43:12AM +0300, Sergey Y. Afonin wrote: > > On Thursday, March 17, 2011, Alexey Tourbin wrote: > > > > > 2011-Mar-17 09:07:22 :: test-only task #40700 for sisyphus started by at: > > > #100 build 5.1.56-alt2 from /people/at/packages/MySQL.git > > > > > mysql-workbench-gpl#5.2.31a-alt1 libmysqlclient_r.so.16()(64bit) >= > > > > Мне #40548 собирать, или в #40700 перенести сразу ? > > Не решил ещё, нужна ли массовая персборка пакетов. > Вечером ещё поковыряю. Выставил non-default symbol (с одинарным @ вместо двойного @@) - в результате он удовлетворяет старые ссылки, но игнорируется при линковке новых бинаркиков. void my__cxa_pure_virtual(void) { assert(!"Aborted: pure virtual method called."); } __asm__(".symver my__cxa_pure_virtual,__cxa_pure_virtual@libmysqlclient_16"); Теперь mysql перестанет оттягивать на себя си+плюсный ABI. Маразм какой-то конечно. $ compare_packages -a -R -- /ALT/Sisyphus/files/x86_64/RPMS/Xdmf-20100923-alt4.x86_64.rpm -- Xdmf-20100923-alt4.x86_64.rpm --- /tmp/.private/at/compare_packages.OmhHCPBdrh/1 2011-03-17 22:24:04.475337025 +0300 +++ /tmp/.private/at/compare_packages.OmhHCPBdrh/2 2011-03-17 22:24:04.491336837 +0300 @@ -1,5 +1,4 @@ /lib64/ld-linux-x86-64.so.2 libXdmf = 20100923-alt4 libexoIIv2c.so.0()(64bit) >= set:lk7i5 -libmysqlclient.so.16()(64bit) >= set:poHhS1 rpmlib(PayloadIsLzma) $ ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2011-03-17 19:27 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2011-03-17 6:49 ` [devel] __cxa_pure_virtual [#40700] FAILED MySQL.git=5.1.56-alt2 Alexey Tourbin 2011-03-17 7:07 ` REAL 2011-03-17 7:26 ` Alexey Tourbin 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
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