Source: musl
Version: 1.1.16-1
Severity: serious
Forwarded: http://www.openwall.com/lists/musl/2017/01/04/6

Since 1.1.16-1 musl doesn't build on armhf [0]:

> cc -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 -Wdate-time -D_FORTIFY_SOURCE=2 -g -pipe -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 -g -O2 
> -fdebug-prefix-map=/«PKGBUILDDIR»=. -fstack-protector-strong -Wformat 
> -Werror=format-security -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

The issue is also caused by a change in binutils 2.27.51.20161105-1,
which has more strict checking of assembly files [1] [2].

I noticed that 1.1.16-1 builds fine on rebootstrap [3]. The difference
seems to be that thumb2 support is not detected and disabled.
(I could also confirm that building without -Wa,-mthumb succeeds.)

[0]: 
https://buildd.debian.org/status/fetch.php?pkg=musl&arch=armhf&ver=1.1.16-1&stamp=1483481970&raw=0
[1]: https://sourceware.org/ml/binutils/2017-01/msg00081.html
[2]: 
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commit;h=bada43421274615d0d5f629a61a60b7daa71bc15
[3]: 
https://jenkins.debian.net/view/rebootstrap/job/rebootstrap_musl-linux-arm64_gcc6/20/

Attachment: signature.asc
Description: Digital signature

Reply via email to