Opened 4 months ago

Closed 3 months ago

#11074 closed defect (fixed)

Build failure on arm with binutils 2.42.50.20240625

Reported by: Sebastian Ramacher Owned by:
Priority: normal Component: avcodec
Version: git-master Keywords:
Cc: Sebastian Ramacher Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

It seems that binutils got stricter and we now see build failures on arm when compiling arm assembly.

gcc -I. -Isrc/ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -D_ISOC11_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -DZLIB_CONST -fPIC -g  -MMD -MF libavcodec/arm/mlpdsp_armv6.d -MT libavcodec/arm/mlpdsp_armv6.o -c -o libavcodec/arm/mlpdsp_armv6.o src/libavcodec/arm/mlpdsp_armv6.S
src/libavcodec/arm/mlpdsp_armv5te.S: Assembler messages:
src/libavcodec/arm/mlpdsp_armv5te.S:232: Error: junk at end of line, first unrecognized character is `0'
src/libavcodec/arm/mlpdsp_armv5te.S:367:  Info: macro invoked from here
src/libavcodec/arm/mlpdsp_armv5te.S:393:   Info: macro invoked from here
src/libavcodec/arm/mlpdsp_armv5te.S:414:    Info: macro invoked from here
src/libavcodec/arm/mlpdsp_armv5te.S:244: Error: garbage following instruction -- `bne 01b'
src/libavcodec/arm/mlpdsp_armv5te.S:367:  Info: macro invoked from here
src/libavcodec/arm/mlpdsp_armv5te.S:393:   Info: macro invoked from here
src/libavcodec/arm/mlpdsp_armv5te.S:414:    Info: macro invoked from here
src/libavcodec/arm/mlpdsp_armv5te.S:232: Error: junk at end of line, first unrecognized character is `0'
src/libavcodec/arm/mlpdsp_armv5te.S:368:  Info: macro invoked from here
src/libavcodec/arm/mlpdsp_armv5te.S:393:   Info: macro invoked from here
src/libavcodec/arm/mlpdsp_armv5te.S:414:    Info: macro invoked from here
src/libavcodec/arm/mlpdsp_armv5te.S:336: Error: garbage following instruction -- `bne 01b'
src/libavcodec/arm/mlpdsp_armv5te.S:368:  Info: macro invoked from here
src/libavcodec/arm/mlpdsp_armv5te.S:393:   Info: macro invoked from here
src/libavcodec/arm/mlpdsp_armv5te.S:414:    Info: macro invoked from here
src/libavcodec/arm/mlpdsp_armv5te.S:232: Error: junk at end of line, first unrecognized character is `0'
src/libavcodec/arm/mlpdsp_armv5te.S:369:  Info: macro invoked from here
src/libavcodec/arm/mlpdsp_armv5te.S:393:   Info: macro invoked from here
src/libavcodec/arm/mlpdsp_armv5te.S:414:    Info: macro invoked from here
src/libavcodec/arm/mlpdsp_armv5te.S:336: Error: garbage following instruction -- `bne 01b'
src/libavcodec/arm/mlpdsp_armv5te.S:369:  Info: macro invoked from here
src/libavcodec/arm/mlpdsp_armv5te.S:393:   Info: macro invoked from here
src/libavcodec/arm/mlpdsp_armv5te.S:414:    Info: macro invoked from here
src/libavcodec/arm/mlpdsp_armv5te.S:232: Error: junk at end of line, first unrecognized character is `0'
src/libavcodec/arm/mlpdsp_armv5te.S:370:  Info: macro invoked from here
src/libavcodec/arm/mlpdsp_armv5te.S:393:   Info: macro invoked from here
src/libavcodec/arm/mlpdsp_armv5te.S:414:    Info: macro invoked from here
src/libavcodec/arm/mlpdsp_armv5te.S:336: Error: garbage following instruction -- `bne 01b'
src/libavcodec/arm/mlpdsp_armv5te.S:370:  Info: macro invoked from here
src/libavcodec/arm/mlpdsp_armv5te.S:393:   Info: macro invoked from here
src/libavcodec/arm/mlpdsp_armv5te.S:414:    Info: macro invoked from here
src/libavcodec/arm/mlpdsp_armv5te.S:232: Error: junk at end of line, first unrecognized character is `0'
src/libavcodec/arm/mlpdsp_armv5te.S:371:  Info: macro invoked from here
src/libavcodec/arm/mlpdsp_armv5te.S:393:   Info: macro invoked from here
src/libavcodec/arm/mlpdsp_armv5te.S:414:    Info: macro invoked from here
src/libavcodec/arm/mlpdsp_armv5te.S:336: Error: garbage following instruction -- `bne 01b'
src/libavcodec/arm/mlpdsp_armv5te.S:371:  Info: macro invoked from here
src/libavcodec/arm/mlpdsp_armv5te.S:393:   Info: macro invoked from here
src/libavcodec/arm/mlpdsp_armv5te.S:414:    Info: macro invoked from here
src/libavcodec/arm/mlpdsp_armv5te.S:232: Error: junk at end of line, first unrecognized character is `0'
src/libavcodec/arm/mlpdsp_armv5te.S:373:  Info: macro invoked from here
src/libavcodec/arm/mlpdsp_armv5te.S:393:   Info: macro invoked from here
src/libavcodec/arm/mlpdsp_armv5te.S:414:    Info: macro invoked from here
src/libavcodec/arm/mlpdsp_armv5te.S:336: Error: garbage following instruction -- `bne 01b'
src/libavcodec/arm/mlpdsp_armv5te.S:373:  Info: macro invoked from here
src/libavcodec/arm/mlpdsp_armv5te.S:393:   Info: macro invoked from here
src/libavcodec/arm/mlpdsp_armv5te.S:414:    Info: macro invoked from here
src/libavcodec/arm/mlpdsp_armv5te.S:232: Error: junk at end of line, first unrecognized character is `0'
src/libavcodec/arm/mlpdsp_armv5te.S:375:  Info: macro invoked from here
src/libavcodec/arm/mlpdsp_armv5te.S:393:   Info: macro invoked from here
src/libavcodec/arm/mlpdsp_armv5te.S:414:    Info: macro invoked from here
src/libavcodec/arm/mlpdsp_armv5te.S:336: Error: garbage following instruction -- `bne 01b'
src/libavcodec/arm/mlpdsp_armv5te.S:375:  Info: macro invoked from here
src/libavcodec/arm/mlpdsp_armv5te.S:393:   Info: macro invoked from here
src/libavcodec/arm/mlpdsp_armv5te.S:414:    Info: macro invoked from here
src/libavcodec/arm/mlpdsp_armv5te.S:232: Error: junk at end of line, first unrecognized character is `0'
src/libavcodec/arm/mlpdsp_armv5te.S:377:  Info: macro invoked from here
src/libavcodec/arm/mlpdsp_armv5te.S:393:   Info: macro invoked from here
src/libavcodec/arm/mlpdsp_armv5te.S:414:    Info: macro invoked from here
src/libavcodec/arm/mlpdsp_armv5te.S:336: Error: garbage following instruction -- `bne 01b'
src/libavcodec/arm/mlpdsp_armv5te.S:377:  Info: macro invoked from here
src/libavcodec/arm/mlpdsp_armv5te.S:393:   Info: macro invoked from here
src/libavcodec/arm/mlpdsp_armv5te.S:414:    Info: macro invoked from here
src/libavcodec/arm/mlpdsp_armv5te.S:232: Error: junk at end of line, first unrecognized character is `0'
src/libavcodec/arm/mlpdsp_armv5te.S:379:  Info: macro invoked from here
src/libavcodec/arm/mlpdsp_armv5te.S:393:   Info: macro invoked from here
src/libavcodec/arm/mlpdsp_armv5te.S:414:    Info: macro invoked from here

See the full build log https://buildd.debian.org/status/fetch.php?pkg=ffmpeg&arch=armel&ver=7%3A7.0.1-1%2Bb3&stamp=1719497270&raw=0.

This affects both 7.0.x and 6.1.x.

Change History (2)

comment:1 by Sebastian Ramacher, 4 months ago

Version: unspecifiedgit-master

Nothing changed in src/libavcodec/arm since the release of 7.0.1, so master will also be affected by this issue.

Version 0, edited 4 months ago by Sebastian Ramacher (next)

comment:2 by Sebastian Ramacher, 3 months ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.