From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/14564 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Luiz Angelo Daros de Luca Newsgroups: gmane.linux.lib.musl.general Subject: Re: dlsym returning unresolved symbol address instead of dependency library symbol address Date: Tue, 13 Aug 2019 04:10:56 -0300 Message-ID: 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: multipart/alternative; boundary="00000000000033704a058ffa5825" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="83378"; mail-complaints-to="usenet@blaine.gmane.org" To: musl@lists.openwall.com, Luiz Angelo Daros de Luca Original-X-From: musl-return-14580-gllmg-musl=m.gmane.org@lists.openwall.com Tue Aug 13 09:11:24 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 1hxQxn-000Lb1-U4 for gllmg-musl@m.gmane.org; Tue, 13 Aug 2019 09:11:24 +0200 Original-Received: (qmail 9823 invoked by uid 550); 13 Aug 2019 07:11:20 -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 9805 invoked from network); 13 Aug 2019 07:11:20 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=4dzh1cL40aLB63c1W66mhajAw+qYRBHTYD3RKlmsz/U=; b=ASkFs4bWSy2q64Y4RyqJgjx/YThbP1WNxdfhps/2VJB75dkc8U/fo3i896tXCuyxtY bq/R/PtnT7Wnp02onoliZ1ze/yXP/Tuoq2rVOQ1u4Oyl3ojrqPtvXmWCV09yJA+KApJG qLz6TVvoWiyT3bbG+MF3QQGJZT4hVXD+18+nCeWrxstzsMhw5jtwmiA+eENlQk5yi7um sZ55QAL9vLXHOOpfpXglSCnQJaT3pbgqSRR4kTvUns3cZAmm5QzAZDH9gfKZfSiXJH7b HGLJmLUma3+UyKCUPV3rtw3LF4liPs8TGFoob3t5A2Gz1BTbri/MkajJmicdMpwX7Xq9 nxHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=4dzh1cL40aLB63c1W66mhajAw+qYRBHTYD3RKlmsz/U=; b=a/KMqa2dXcPqNNT4+G+rqjEMBow/zkPD7N7hGKXnkDUEH8S0LHTQ00NUXEzf64z2FR PeOnld9wTjXrTdnGqD22ZZ9nAUnbWqWOQl6qIQVzWsQt+VMhe5n22d0Rf1BHWywFTggX yINXRzuCNUA9dD64tpzpvT+y1/aSL7dx1wx/PIvhTpAbh9il1E18RGZwa31D7owoGuf9 MR2HkJk7DBOMoXrjzD3uFkPzjF10aY0LCkfAlJJfPIXC0SYz+aQm7MMN+mymbEdjL6kR RmZX7llJO7x74JuazLfg3tP2H1p3VkcBu7LUYCqZpoYPd/Uo1mZr4tpz9LmR6HzMpdCu 5I1A== X-Gm-Message-State: APjAAAXG8Z8kWx5x4SXtTT0MKUqHejz2TKvFPgSSHbSsqQX5dHB4km74 u01k+LkSEyhC2PAABQe/o488usYzpGFI7Wq0MKm5rXA+ X-Google-Smtp-Source: APXvYqyIG6QKERLxqUP8dlM//9xzkbHvUvkNRppYPLvhDl4BoCTjxp/j1levp9YtZZwLJMfUM/AP1kS4l/ia6Xt3NUg= X-Received: by 2002:ac8:386f:: with SMTP id r44mr15525135qtb.300.1565680267913; Tue, 13 Aug 2019 00:11:07 -0700 (PDT) In-Reply-To: <20190810172749.GJ22009@port70.net> Xref: news.gmane.org gmane.linux.lib.musl.general:14564 Archived-At: --00000000000033704a058ffa5825 Content-Type: text/plain; charset="UTF-8" Hello, 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 ? Both seems to work (at least for MIPS). Regards, --- Luiz Angelo Daros de Luca luizluca@gmail.com --00000000000033704a058ffa5825 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

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
htt= ps://www.openwall.com/lists/musl/2019/08/10/8/1 (it seems to be self-co= ntained) or simply use an updated version (I hope it is OK now) of my previ= ous patch=C2=A0

Both seems to work (at lea= st for MIPS).

Regards,

---
=C2=A0 = =C2=A0=C2=A0 Luiz Angelo Daros de Luca
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 luizluca= @gmail.com
--00000000000033704a058ffa5825--