mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Sebastian Gottschall <s.gottschall@dd-wrt.com>
To: musl@lists.openwall.com
Subject: __write alias missing on arm platforms
Date: Thu, 22 Oct 2015 22:21:54 +0200	[thread overview]
Message-ID: <56294562.4070303@dd-wrt.com> (raw)
In-Reply-To: <20151020031318.GA19600@brightrain.aerifal.cx>

musl is missing the __write function which seem to be a alias to "write".
this is required by libgcc on arm platforms. under some conditions the 
compiler will generate code which does reference
this function then which leads to unresolved symbols
(seen on squid 4.0.1 on xscale)

/home/xfs/toolchains/toolchain-armeb_xscale_gcc-5.2.0_musl-1.1.11/bin/../lib64/gcc/armeb-openwrt-linux-muslgnueabi/5.2.0/libgcc.a(linux-atomic-64bit.o): 
In function `__check_for_sync8_kernelhelper':
/home/xfs/openwrt/trunk2/trunk/build_dir/toolchain-armeb_xscale_gcc-5.2.0_musl-1.1.11/gcc-5.2.0/libgcc/config/arm/linux-atomic-64bit.c:59: 
undefined reference to `__write'
collect2: error: ld returned 1 exit status
l

Sebastian


  reply	other threads:[~2015-10-22 20:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-20  3:13 musl 1.1.12 released Rich Felker
2015-10-22 20:21 ` Sebastian Gottschall [this message]
2015-10-22 20:55   ` __write alias missing on arm platforms Rich Felker
2015-10-22 21:18     ` Sebastian Gottschall
2015-10-22 21:26       ` Szabolcs Nagy
2015-11-05 12:38         ` Szabolcs Nagy

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=56294562.4070303@dd-wrt.com \
    --to=s.gottschall@dd-wrt.com \
    --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).