From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/11874 Path: news.gmane.org!.POSTED!not-for-mail From: Pirmin Walthert Newsgroups: gmane.linux.lib.musl.general Subject: Re: musl libc dlopen does not return in asterisk. Date: Wed, 30 Aug 2017 11:54:15 +0200 Message-ID: <1504086855.17499.68.camel@wwcom.ch> References: <7a54ad1d-edcd-1dea-9a19-5d01f4c89d02@rvq.fr> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1504086873 14873 195.159.176.226 (30 Aug 2017 09:54:33 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 30 Aug 2017 09:54:33 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-11887-gllmg-musl=m.gmane.org@lists.openwall.com Wed Aug 30 11:54:29 2017 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1dmzhZ-0003UD-PC for gllmg-musl@m.gmane.org; Wed, 30 Aug 2017 11:54:25 +0200 Original-Received: (qmail 24511 invoked by uid 550); 30 Aug 2017 09:54:31 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 24489 invoked from network); 30 Aug 2017 09:54:30 -0000 X-Virus-Scanned: by amavisd-new-2.10.1 (20141025) (Debian) at wwcom.ch In-Reply-To: <7a54ad1d-edcd-1dea-9a19-5d01f4c89d02@rvq.fr> X-Mailer: Evolution 3.24.5 Xref: news.gmane.org gmane.linux.lib.musl.general:11874 Archived-At: Hi harvé I had a similar problem (did not yet have time to have a closer look) when using musl-git with Asterisk 13.17. The following commit seemed to have broken compatibility (at least for me): http://git.musl-libc.org/c git/musl/commit/?id=6476b8135760659b25c93ff9308425ca98a9e777 Using the latest version of dynlink.c BEFORE this commit worked for me, maybe it's worth a try? (1.1.16 had a different module loading issue with my Asterisk installation that was fixed with 27b3fd68f67b674440d21ea7ca5cf918d2e1559f). Best regards, Pirmin Am Mittwoch, den 30.08.2017, 11:45 +0200 schrieb Hervé Quillévéré at Home: > Hi all > > musl libc dlopen does not return in asterisk. > > Void linux musl libc arm (cubieboard2) on banana pi. > linux-4.12.8 sunxi_defconfig > > asterisk-14.6.0 > ./configure > make > sudo make install > sudo make basic-pbx > > run as root > asterisk -vvvc > > This command should return with a prompt and > blocks in load_dynamic_module() in main/loader.c when calling > dlopen(). > > As work has been done recently on dlopen, I tried with musl libc > dowloaded > and compiled from git with the same result. > > Replacing Void Linux musl with Void Linux glibc works. > > Running Void Linux x86_64 musl and asterisk does not work and produce > the same effect. > > Best Regards > > hervé > >