From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/10883 Path: news.gmane.org!.POSTED!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: musl 1.1.16 build failure on armhf Date: Wed, 4 Jan 2017 16:06:09 -0500 Message-ID: <20170104210609.GQ1555@brightrain.aerifal.cx> References: <20170104205123.GH19319@reiner-h.de> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1483563985 11874 195.159.176.226 (4 Jan 2017 21:06:25 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 4 Jan 2017 21:06:25 +0000 (UTC) User-Agent: Mutt/1.5.21 (2010-09-15) Cc: musl@lists.openwall.com To: Reiner Herrmann Original-X-From: musl-return-10896-gllmg-musl=m.gmane.org@lists.openwall.com Wed Jan 04 22:06:21 2017 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.84_2) (envelope-from ) id 1cOslJ-0002VS-1T for gllmg-musl@m.gmane.org; Wed, 04 Jan 2017 22:06:21 +0100 Original-Received: (qmail 14277 invoked by uid 550); 4 Jan 2017 21:06:23 -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 14247 invoked from network); 4 Jan 2017 21:06:23 -0000 Content-Disposition: inline In-Reply-To: <20170104205123.GH19319@reiner-h.de> Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:10883 Archived-At: On Wed, Jan 04, 2017 at 09:51:24PM +0100, Reiner Herrmann wrote: > Hi, > > when trying to build musl on armhf, the build fails with the following > error (gcc 6.3.0), which is also seen on the Debian build servers [0]: The error is from gas; do you know the binutils version? Also, what -march is gcc configured for? > > gcc -std=c99 -nostdinc -ffreestanding -fexcess-precision=standard -frounding-math -Wa,--noexecstack -D_XOPEN_SOURCE=700 -I./arch/arm -I./arch/generic -Iobj/src/internal -I./src/internal -Iobj/include -I./include -Os -pipe -fomit-frame-pointer -fno-unwind-tables -fno-asynchronous-unwind-tables -ffunction-sections -fdata-sections -Werror=implicit-function-declaration -Werror=implicit-int -Werror=pointer-sign -Werror=pointer-arith -include vis.h -Wa,-mimplicit-it=always -Wa,-mthumb -fPIC -c -o obj/src/thread/arm/atomics.lo src/thread/arm/atomics.s > > src/thread/arm/atomics.s: Assembler messages: > > src/thread/arm/atomics.s:59: Error: invalid constant (1) after fixup > > src/thread/arm/atomics.s:74: Error: invalid constant (1) after fixup > > Makefile:158: recipe for target 'obj/src/thread/arm/atomics.lo' failed > > On other architectures it builds fine. > Does someone know what the issue is? I don't see why there would be fixups in those lines; they only contain the immediate constant 1, and I don't see why it would be invalid. Rich