https://sourceware.org/bugzilla/show_bug.cgi?id=32484
Bug ID: 32484 Summary: [2.44 regression] pixman asm fails to assemble on arm (Error: bad instruction `ldr\t TMP1,[SRC,TMP1]') Product: binutils Version: unspecified Status: NEW Severity: normal Priority: P2 Component: gas Assignee: unassigned at sourceware dot org Reporter: sam at gentoo dot org Target Milestone: --- Some of pixman's asm fails to assemble with binutils trunk, it works with the binutils-2.43 release branch: ``` $ /usr/lib/gcc/armv7a-unknown-linux-gnueabihf/15/../../../../armv7a-unknown-linux-gnueabihf/bin/as -I pixman/libpixman-arm-simd.a.p -I pixman -I ../pixman-0.44.2/pixman "-march=armv7-a+fp" "-mfloat-abi=hard" "-mfpu=vfpv3-d16" "-meabi=5" -o pixman/libpixman-arm-simd.a.p/pixman-arm-simd-asm-scaled.S.o ./pixman/libpixman-arm-simd.a.p/pixman-arm-simd-asm-scaled.S.s ../pixman-0.44.2/pixman/pixman-arm-simd-asm-scaled.S: Assembler messages: ../pixman-0.44.2/pixman/pixman-arm-simd-asm-scaled.S:86: Error: bad instruction `ldr\t TMP1,[SRC,TMP1]' ../pixman-0.44.2/pixman/pixman-arm-simd-asm-scaled.S:114: Info: macro invoked from here ../pixman-0.44.2/pixman/pixman-arm-simd-asm-scaled.S:154: Info: macro invoked from here ../pixman-0.44.2/pixman/pixman-arm-simd-asm-scaled.S:87: Error: found '\', expected: ')' ../pixman-0.44.2/pixman/pixman-arm-simd-asm-scaled.S:114: Info: macro invoked from here ../pixman-0.44.2/pixman/pixman-arm-simd-asm-scaled.S:154: Info: macro invoked from here ../pixman-0.44.2/pixman/pixman-arm-simd-asm-scaled.S:87: Error: garbage following instruction -- `and TMP2,VXMASK,VX,asr#(16-\bpp_shift)' ../pixman-0.44.2/pixman/pixman-arm-simd-asm-scaled.S:114: Info: macro invoked from here ../pixman-0.44.2/pixman/pixman-arm-simd-asm-scaled.S:154: Info: macro invoked from here ../pixman-0.44.2/pixman/pixman-arm-simd-asm-scaled.S:89: Error: bad instruction `str\t TMP1,[DST],#(1<<\bpp_shift)' ../pixman-0.44.2/pixman/pixman-arm-simd-asm-scaled.S:114: Info: macro invoked from here ../pixman-0.44.2/pixman/pixman-arm-simd-asm-scaled.S:154: Info: macro invoked from here ../pixman-0.44.2/pixman/pixman-arm-simd-asm-scaled.S:93: Error: bad instruction `ldr\t TMP2,[SRC,TMP2]' ../pixman-0.44.2/pixman/pixman-arm-simd-asm-scaled.S:114: Info: macro invoked from here ../pixman-0.44.2/pixman/pixman-arm-simd-asm-scaled.S:154: Info: macro invoked from here ../pixman-0.44.2/pixman/pixman-arm-simd-asm-scaled.S:94: Error: found '\', expected: ')' ../pixman-0.44.2/pixman/pixman-arm-simd-asm-scaled.S:114: Info: macro invoked from here [...] ``` ``` $ as --version GNU assembler (Gentoo 9999 p1) 2.43.50.20241220 Copyright (C) 2024 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or later. This program has absolutely no warranty. This assembler was configured for a target of `armv7a-unknown-linux-gnueabihf'. ``` -- You are receiving this mail because: You are on the CC list for the bug.