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

--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Gaius Mulley <ga...@gcc.gnu.org>:

https://gcc.gnu.org/g:4e5f5a8ae82c5f4f714102d2437175ec366f644c

commit r14-6100-g4e5f5a8ae82c5f4f714102d2437175ec366f644c
Author: Gaius Mulley <gaiusm...@gmail.com>
Date:   Mon Dec 4 01:35:46 2023 +0000

    PR modula2/112825: modula2 builds target objects as part of all-gcc

    This patch fixes the PR modula2/112825 which fails if the target
    assembler is not present on the host.  This can be seen if the
    build invokes make all-gcc.  m2 should not attempt to generate
    target libraries when performing make all-gcc.

    Prior to this patch it generated build/gcc/m2/gm2-libs/SYSTSEM.def
    using the script gcc/m2/tools-src/makeSystem (and gm2 -c).
    makeSystem should exec gm2 -S instead (and other flags)
    to generate the list of target data types without requiring any
    target tools.  The target types emitted are textually converted
    into SYSTEM.def.

    gcc/m2/ChangeLog:

            PR modula2/112825
            * tools-src/makeSystem: Change all occurrences of -c to -S.

    Signed-off-by: Gaius Mulley <gaiusm...@gmail.com>

Reply via email to