From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/11841 Path: news.gmane.org!.POSTED!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: gethostbyname2.c / 6476b8135760659b25c93ff9308425ca98a9e777 breaking asterisk 13 compatibility Date: Thu, 24 Aug 2017 12:17:10 -0400 Message-ID: <20170824161710.GW1627@brightrain.aerifal.cx> References: <1503574748.12219.16.camel@wwcom.ch> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1503591457 5827 195.159.176.226 (24 Aug 2017 16:17:37 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 24 Aug 2017 16:17:37 +0000 (UTC) User-Agent: Mutt/1.5.21 (2010-09-15) To: musl@lists.openwall.com Original-X-From: musl-return-11854-gllmg-musl=m.gmane.org@lists.openwall.com Thu Aug 24 18:17:33 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 1dkuop-0000aA-3o for gllmg-musl@m.gmane.org; Thu, 24 Aug 2017 18:17:19 +0200 Original-Received: (qmail 3105 invoked by uid 550); 24 Aug 2017 16:17:23 -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 3087 invoked from network); 24 Aug 2017 16:17:23 -0000 Content-Disposition: inline In-Reply-To: <1503574748.12219.16.camel@wwcom.ch> Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:11841 Archived-At: On Thu, Aug 24, 2017 at 01:39:08PM +0200, Pirmin Walthert wrote: > Hello > > First thing: http://git.musl-libc.org/cgit/musl/commit/?id=6476b8135760 > 659b25c93ff9308425ca98a9e777 seems to break Asterisk compatibilty. This commit should not affect code that didn't error-out from missing symbols before. Is it possible you have a module Asterisk is trying to load, which it previously silently (or with a warning you didn't notice) failed to load, but which now loads and tries to run despite having unresolved symbols? One thing you could try is changing all dlopen calls in Asterisk from RTLD_LAZY to RTLD_NOW and see if the problem goes away. If so that doesn't necessarily mean Asterisk is broken; it could be a bug in lazy binding on musl's side. But it will help narrow down the cause. Rich