From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/14566 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: Re: dlsym returning unresolved symbol address instead of dependency library symbol address Date: Tue, 13 Aug 2019 10:50:53 +0200 Message-ID: <20190813085053.GM22009@port70.net> References: <20190810101111.GH22009@port70.net> <20190810164252.GL9017@brightrain.aerifal.cx> <20190810172749.GJ22009@port70.net> Reply-To: musl@lists.openwall.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="243009"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mutt/1.10.1 (2018-07-13) Cc: musl@lists.openwall.com To: Luiz Angelo Daros de Luca Original-X-From: musl-return-14582-gllmg-musl=m.gmane.org@lists.openwall.com Tue Aug 13 10:51:08 2019 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.89) (envelope-from ) id 1hxSWK-00115o-AJ for gllmg-musl@m.gmane.org; Tue, 13 Aug 2019 10:51:08 +0200 Original-Received: (qmail 16230 invoked by uid 550); 13 Aug 2019 08:51:05 -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 16212 invoked from network); 13 Aug 2019 08:51:05 -0000 Mail-Followup-To: Luiz Angelo Daros de Luca , musl@lists.openwall.com Content-Disposition: inline In-Reply-To: Xref: news.gmane.org gmane.linux.lib.musl.general:14566 Archived-At: * Luiz Angelo Daros de Luca [2019-08-13 04:10:56 -0300]: > > Thank you all. That was the first time I touched libc. I'm still not sure > what is the best way to deal with my issue. > What would be best way to do it? Should I backport > https://www.openwall.com/lists/musl/2019/08/10/8/1 (it seems to be > self-contained) or simply use an updated version (I hope it is OK now) of > my previous patch > https://raw.githubusercontent.com/luizluca/openwrt/20eba2ebde5b63b1259bf318de76bcd033c07196/toolchain/musl/patches/020-mips-dlsym_donot_return_address_from_undef_sym.patch > ? already done https://www.openwall.com/lists/musl/2019/08/10/8 > > Both seems to work (at least for MIPS). > > Regards, > > --- > Luiz Angelo Daros de Luca > luizluca@gmail.com