https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121336

--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Hans-Peter Nilsson <h...@gcc.gnu.org>:

https://gcc.gnu.org/g:ead213a9b06f7fcafc5650a8391779ba313e197d

commit r16-3205-gead213a9b06f7fcafc5650a8391779ba313e197d
Author: Mikael Pettersson <mikpeli...@gmail.com>
Date:   Thu Jul 31 17:00:40 2025 +0200

    fix cris-elf build with binutils-2.45

    Since the cris port was added to gcc it has passed --em=criself
    to gas, as an abbreviation for --emulation=criself.  Starting with
    binutils-2.45 that causes a hard error in gas due to ambiguity with
    another option.

    Fixed by replacing the abbreviation with the complete option.

    Tested by building a cross to cris-elf with binutils-2.45, which
    failed before but now succeeds.

    gcc/
            PR target/121336
            * config/cris/cris.h: Do not abbreviate --emulation.

    Signed-off-by: Mikael Pettersson <mikpeli...@gmail.com>

Reply via email to