mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Luca Barbato <lu_zero@gentoo.org>
To: musl@lists.openwall.com
Subject: Re: Static linking of musl with code compiled using GNU header files
Date: Fri, 14 Mar 2014 17:09:06 +0100	[thread overview]
Message-ID: <532329A2.8090906@gentoo.org> (raw)
In-Reply-To: <53232493.80901@gcom.com>

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



  reply	other threads:[~2014-03-14 16:09 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-14 15:47 David Grothe
2014-03-14 16:09 ` Luca Barbato [this message]
2014-03-14 16:29 ` Szabolcs Nagy
2014-03-14 18:52   ` David Grothe
2014-03-14 19:25     ` Kurt H Maier
2014-03-14 19:35       ` David Grothe
2014-03-14 21:04     ` David Grothe
2014-03-14 21:37       ` John Spencer
2014-03-15  0:09         ` Rich Felker
2014-03-15  0:22       ` Rich Felker
2014-03-14 16:47 ` Rich Felker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=532329A2.8090906@gentoo.org \
    --to=lu_zero@gentoo.org \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).