Summary: | Asterisk segfaults when openh323 and pwlib were built using -Wl,--as-needed | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Grigoriy Puzankin <gpuzankin> |
Component: | [OLD] Library | Assignee: | Tony Vroon (RETIRED) <chainsaw> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bug, esigra, voip+disabled |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 129413 |
Description
Grigoriy Puzankin
2010-11-15 16:17:32 UTC
Adding block to http://bugs.gentoo.org/show_bug.cgi?id=129413 If you do not use the Asterisk ebuild, I can not support you. I have cleaned up previous Asterisk installation and built Asterisk from net-misc/asterisk-1.6.2.13-r2 ebuild. Trying to load chan_h323.so gives errors: *CLI> module load chan_h323.so Unable to load module chan_h323.so Command 'module load chan_h323.so ' failed. *CLI> [Dec 1 21:18:32] WARNING[18363]: loader.c:387 load_dynamic_module: Error loading module 'chan_h323.so': /usr/lib/asterisk/modules/chan_h323.so: undefined symbol: _ZNK7PObject7CompareERKS_ I know what it means. When building Asterisk from sources I can cleanup channels/h323 directory and rebuild chan_h323.so module, but not with ebuild. Also building Asterisk from sources gives the same error when pwlib and openh323 compiled with --as-needed option. There is no h323 support in the Asterisk ebuild as this is known broken. The only action I can take based on this bug report is to more aggressively obliterate the H323 support so that it never hits the disk. (I still believe that the h323 module in question was produced by you and not the ebuild though) Unless I hear otherwise (i.e. in the form of patches that enable a demonstrably non-broken H323 module without relying on packages that have been masked for removal), the newest Asterisk patch set for 1.6.2 will contain a removal patch for the H323 configure checks & build system components. + 20 Sep 2011; Tony Vroon <chainsaw@gentoo.org> asterisk-1.8.5.0-r3.ebuild, + asterisk-1.8.6.0.ebuild: + Explicitly block against the abandoned net-libs/openh323 package in the tree. + Closes bug #345635 by Grigoriy Puzankin and bug #383629 by Aidan Marks. |