#1073870 as: Error: garbage following instruction -- `bne 01f' (firefox FTBFS on armhf)

Package:
binutils
Source:
binutils
Description:
GNU assembler, linker and binary utilities
Submitter:
Mike Hommey
Date:
2024-07-18 11:21:03 UTC
Severity:
normal
#1073870#5
Date:
2024-06-20 04:42:01 UTC
From:
To:
Dear Maintainer,

Firefox is failing to build with a mountain of errors that start with:

/<<PKGBUILDDIR>>/gfx/cairo/libpixman/src/pixman-arm-simd-asm.h:823: Error: garbage following instruction -- `bne 01f'
/<<PKGBUILDDIR>>/gfx/cairo/libpixman/src/pixman-arm-simd-asm.h:871:  Info: macro invoked from here
/<<PKGBUILDDIR>>/gfx/cairo/libpixman/src/pixman-arm-simd-asm.h:326:   Info: macro invoked from here
/<<PKGBUILDDIR>>/gfx/cairo/libpixman/src/pixman-arm-simd-asm.h:343:    Info: macro invoked from here
/<<PKGBUILDDIR>>/gfx/cairo/libpixman/src/pixman-arm-simd-asm.h:354:     Info: macro invoked from here
/<<PKGBUILDDIR>>/gfx/cairo/libpixman/src/pixman-arm-simd-asm.h:408:      Info: macro invoked from here
/<<PKGBUILDDIR>>/gfx/cairo/libpixman/src/pixman-arm-simd-asm.h:793:       Info: macro invoked from here
/<<PKGBUILDDIR>>/gfx/cairo/libpixman/src/pixman-arm-simd-asm.S:877:        Info: macro invoked from here
/<<PKGBUILDDIR>>/gfx/cairo/libpixman/src/pixman-arm-simd-asm.h:824: Error: garbage following instruction -- `bcc 03f'
/<<PKGBUILDDIR>>/gfx/cairo/libpixman/src/pixman-arm-simd-asm.h:871:  Info: macro invoked from here
/<<PKGBUILDDIR>>/gfx/cairo/libpixman/src/pixman-arm-simd-asm.h:326:   Info: macro invoked from here
/<<PKGBUILDDIR>>/gfx/cairo/libpixman/src/pixman-arm-simd-asm.h:343:    Info: macro invoked from here
/<<PKGBUILDDIR>>/gfx/cairo/libpixman/src/pixman-arm-simd-asm.h:354:     Info: macro invoked from here
/<<PKGBUILDDIR>>/gfx/cairo/libpixman/src/pixman-arm-simd-asm.h:408:      Info: macro invoked from here
/<<PKGBUILDDIR>>/gfx/cairo/libpixman/src/pixman-arm-simd-asm.h:793:       Info: macro invoked from here
/<<PKGBUILDDIR>>/gfx/cairo/libpixman/src/pixman-arm-simd-asm.S:877:        Info: macro invoked from here

See the buildd log https://buildd.debian.org/status/fetch.php?pkg=firefox&arch=armhf&ver=127.0.1-1&stamp=1718848469&raw=0

This does *NOT* happen with binutils 2.42-4 from testing.

I'm attaching the preprocessed assembly file that triggers the problem.

Command line: as --gdwarf-5 -march=armv7-a+fp -mfloat-abi=hard -meabi=5 --noexecstack -o pixman-arm-simd-asm.o pixman-arm-simd-asm.s

Mike

#1073870#15
Date:
2024-07-18 11:18:54 UTC
From:
To:
as confirmed by binutils upstream, this should be fixed in firefox.

https://sourceware.org/pipermail/binutils/2024-July/135771.html