On Wed, Jan 04, 2017 at 04:36:46PM -0500, Rich Felker wrote: > On Wed, Jan 04, 2017 at 10:27:49PM +0100, Reiner Herrmann wrote: > > On Wed, Jan 04, 2017 at 04:06:09PM -0500, Rich Felker wrote: > > > The error is from gas; do you know the binutils version? Also, what > > > -march is gcc configured for? > > > > Thanks for the binutils hint. I just tried some older versions, and > > found out that it builds fine with binutils 2.27.51.20161102-1, but > > no longer with 2.27.51.20161105-1. > > Can you find the commit that broke it and figure out if it's a > binutils bug or an intentional change we need to find a way to work > with? Someone posted the bug also on the binutils mailinglist [0], and found the commit which broke it [1]. I now built binutils 2.27.51.20161105-1 with this commit reverted, and was able to build musl. [0] https://sourceware.org/ml/binutils/2017-01/msg00081.html [1] https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commit;h=bada43421274615d0d5f629a61a60b7daa71bc15