Hi! On Tue, Sep 02, 2025 at 04:52:34PM -0700, Nathan Chancellor wrote: > When building powerpc configurations in linux-5.4.y with binutils 2.43 > or newer, there is an assembler error in arch/powerpc/boot/util.S: > > arch/powerpc/boot/util.S: Assembler messages: > arch/powerpc/boot/util.S:44: Error: junk at end of line, first unrecognized > character is `0' > arch/powerpc/boot/util.S:49: Error: syntax error; found `b', expected `,' > arch/powerpc/boot/util.S:49: Error: junk at end of line: `b' > > binutils 2.43 contains stricter parsing of certain labels [1]. > > Remove the unnecessary leading zero to fix the build.
To fix it by getting rid of this syntax error, you mean? "00" is not a valid label name: a) it cannot be a symbol name, it starts with a digit; and b) it isn't a valid local label either. As the manual says > To define a local label, write a label of the form ‘N:’ (where N > represents any non-negative integer). "0" is written "0", not as "00" (or "0-0" or even "0-0-0", hehe). Segher
