From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/4649 Path: news.gmane.org!not-for-mail From: Luca Barbato Newsgroups: gmane.linux.lib.musl.general Subject: Re: Static linking of musl with code compiled using GNU header files Date: Fri, 14 Mar 2014 17:09:06 +0100 Message-ID: <532329A2.8090906@gentoo.org> References: <53232493.80901@gcom.com> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1394813358 19987 80.91.229.3 (14 Mar 2014 16:09:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 14 Mar 2014 16:09:18 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-4653-gllmg-musl=m.gmane.org@lists.openwall.com Fri Mar 14 17:09:28 2014 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1WOUfk-0002jx-CD for gllmg-musl@plane.gmane.org; Fri, 14 Mar 2014 17:09:24 +0100 Original-Received: (qmail 6035 invoked by uid 550); 14 Mar 2014 16:09:22 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 6025 invoked from network); 14 Mar 2014 16:09:22 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 In-Reply-To: <53232493.80901@gcom.com> Xref: news.gmane.org gmane.linux.lib.musl.general:4649 Archived-At: On 14/03/14 16:47, David Grothe wrote: > I really don't want to port my code base to using the musl header > files. There shouldn't be anything to port. > I want to keep compiling with the GNU headers. When I do this > and link my-huge-program.o with musl libc.a I get the following list of > unresolved externals: > > U __divdi3 > w __fini_array_end > w __fini_array_start > U __moddi3 > U __sysv_signal > U __udivdi3 > U __umoddi3 > U __vfprintf_chk > U __vsnprintf_chk > U __vsprintf_chk > U __sysv_signal > > So, I am wondering if the musl library could at some point provide these > routines to enable users to do what I am trying to do. Not sure, but those internal symbols are close to implementation details... lu