From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/8708 Path: news.gmane.org!not-for-mail From: Sebastian Gottschall Newsgroups: gmane.linux.lib.musl.general Subject: __write alias missing on arm platforms Date: Thu, 22 Oct 2015 22:21:54 +0200 Message-ID: <56294562.4070303@dd-wrt.com> References: <20151020031318.GA19600@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1445546751 30977 80.91.229.3 (22 Oct 2015 20:45:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 22 Oct 2015 20:45:51 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-8720-gllmg-musl=m.gmane.org@lists.openwall.com Thu Oct 22 22:45:36 2015 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1ZpMjs-0001uM-P5 for gllmg-musl@m.gmane.org; Thu, 22 Oct 2015 22:45:32 +0200 Original-Received: (qmail 12277 invoked by uid 550); 22 Oct 2015 20:45:29 -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 12242 invoked from network); 22 Oct 2015 20:45:25 -0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dd-wrt.com; s=mikd; h=Subject:Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:To; bh=zm0y8A+l3xm5hWXAjF3hpUP2sM6FnxdY4U4OgQ8dz8M=; b=hnIE/1sAAdwWjUgXpQCtEmCWAZ4R1pld+PFM6tbIDdHjX5bU2+ioZC/YBGseLubF/86RTgJQxe4YnTeFKYJUj3GVqYBenaiVsEiGlwwB9Tzf+89A8vPLhSZcpw/H+Pav/a5ATiEqJgtngRwxvVqOiZql9/FAP8JAFJwbli63WsY=; User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:42.0) Gecko/20100101 Thunderbird/42.0 In-Reply-To: <20151020031318.GA19600@brightrain.aerifal.cx> X-SA-Exim-Connect-IP: 93.195.12.59 X-SA-Exim-Mail-From: s.gottschall@dd-wrt.com X-Spam-Checker-Version: SpamAssassin 3.1.9 (2007-02-13) on webmail.newmedia-net.de X-Spam-Level: X-Spam-Status: No, score=-2.5 required=4.0 tests=ALL_TRUSTED,BAYES_00, DNS_FROM_AHBL_RHSBL,RATWARE_GECKO_BUILD autolearn=no version=3.1.9, No X-SA-Exim-Version: 4.2.1 (built Thu, 26 May 2011 15:22:33 +0200) X-SA-Exim-Scanned: Yes (on webmail.newmedia-net.de) X-NMN-MailScanner-Information: Please contact the ISP for more information X-NMN-MailScanner-ID: 1ZpMN0-0002pi-5m X-NMN-MailScanner: Found to be clean X-NMN-MailScanner-From: s.gottschall@dd-wrt.com X-Received: from [93.195.12.59] (helo=[10.88.193.128]) by webmail.newmedia-net.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.72) (envelope-from ) id 1ZpMN0-0002pi-5m for musl@lists.openwall.com; Thu, 22 Oct 2015 22:22:01 +0200 Xref: news.gmane.org gmane.linux.lib.musl.general:8708 Archived-At: 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