10 Feb
2026
10 Feb
'26
8:17 p.m.
On Tue Feb 10 20:17:51 2026 +0000, Alexandre Julliard wrote:
GNU as requires %function / %progbits for .type and .section on ARM, whereas most other ELF architectures use @function / @progbits. Adjust winebuild output when targeting CPU_ARM to avoid assembler errors (including with clang's integrated assembler). This should never happen, winebuild-generated ARM code is supposed to be built as PE. Probably I was wrong about targetting elf but error is still there.
...
/home/twaik/.termux-build/wine-devel/src/tools/install-sh -m 644 tools/wine/wine.pl.UTF-8.man /data/data/com.termux/files/usr/opt/wine-devel/share/man/pl.UTF-8/man1/wine.1
STRIPPROG="llvm-strip" /home/twaik/.termux-build/wine-devel/src/tools/install-sh tools/wine/wine /data/data/com.termux/files/usr/opt/wine-devel/bin/wine
/home/twaik/.termux-build/wine-devel/host-build/tools/winebuild/winebuild -w --implib -o dlls/aclui/libaclui.a -b \
arm-linux-androideabi --export /home/twaik/.termux-build/wine-devel/src/dlls/aclui/aclui.spec
tmp699ae6ef/libaclui-00000000.s:2:27: error: expected STT_<TYPE_IN_UPPER_CASE>, '#<type>', '%<type>' or "<type>"
.type CreateSecurityPage,@function
^
tmp699ae6ef/libaclui-00000000.s:9:30: error: expected '%<type>' or "<type>"
.section .note.GNU-stack,"",@progbits
^
winebuild: /home/twaik/.termux-build/_cache/android-r29-api-24-v3/bin/clang failed with status 1
make: *** [Makefile:1722: dlls/aclui/libaclui.a] Error 1
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/10067#note_129368