public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug modula2/111756] Re-building all-gcc after source changes fails to link
Date: Wed, 18 Oct 2023 02:10:51 +0000	[thread overview]
Message-ID: <bug-111756-4-KZBoQe4q9o@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-111756-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #9 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-13 branch has been updated by Gaius Mulley
<gaius@gcc.gnu.org>:

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

commit r13-7960-gbdf4b6f9f2847b7abba5392e271e30f55541935e
Author: Gaius Mulley <gaiusmod2@gmail.com>
Date:   Wed Oct 18 03:09:29 2023 +0100

    PR modula2/111756: Re-building all-gcc after source changes fails to link

    When having modula-2 enabled in a development tree and there are any
    changes that trigger rebuilds in m2/ doing a 'make all-gcc' in the
    build directory might fail due to lack of dependency tracking.
    This patch introduces build dependencies into gcc/m2/Make-lang.in using
    -M* options.

    gcc/m2/ChangeLog:

            PR modula2/111756
            * Make-lang.in (CM2DEP): New define conditionally set if
            ($(CXXDEPMODE),depmode=gcc3).
            (m2/gm2-gcc/%.o): Ensure $(@D)/$(DEPDIR) is created.
            Add $(CM2DEP) to the $(COMPILER) command and use $(POSTCOMPILE).
            (m2/gm2-gcc/m2configure.o): Ditto.
            (m2/gm2-lang.o): Ditto.
            (m2/m2pp.o): Ditto.
            (m2/gm2-gcc/rtegraph.o): Ditto.
            (m2/mc-boot/$(SRC_PREFIX)%.o): Ditto.
            (m2/mc-boot-ch/$(SRC_PREFIX)%.o): Ditto.
            (m2/mc-boot-ch/$(SRC_PREFIX)%.o): Ditto.
            (m2/mc-boot/main.o): Ditto.
            (mcflex.o): Ditto.
            (m2/gm2-libs-boot/M2RTS.o): Ditto.
            (m2/gm2-libs-boot/%.o): Ditto.
            (m2/gm2-libs-boot/%.o): Ditto.
            (m2/gm2-libs-boot/RTcodummy.o): Ditto.
            (m2/gm2-libs-boot/RTintdummy.o): Ditto.
            (m2/gm2-libs-boot/wrapc.o): Ditto.
            (m2/gm2-libs-boot/UnixArgs.o): Ditto.
            (m2/gm2-libs-boot/choosetemp.o): Ditto.
            (m2/gm2-libs-boot/errno.o): Ditto.
            (m2/gm2-libs-boot/dtoa.o): Ditto.
            (m2/gm2-libs-boot/ldtoa.o): Ditto.
            (m2/gm2-libs-boot/termios.o): Ditto.
            (m2/gm2-libs-boot/SysExceptions.o): Ditto.
            (m2/gm2-libs-boot/SysStorage.o): Ditto.
            (m2/gm2-compiler-boot/M2GCCDeclare.o): Ditto.
            (m2/gm2-compiler-boot/M2Error.o): Ditto.
            (m2/gm2-compiler-boot/%.o): Ditto.
            (m2/gm2-compiler-boot/%.o): Ditto.
            (m2/gm2-compiler-boot/m2flex.o): Ditto.
            (m2/gm2-compiler/m2flex.o): Ditto.
            (m2/gm2-libs/choosetemp.o): Ditto.
            (m2/boot-bin/mklink$(exeext)): Ditto.
            (m2/pge-boot/%.o): Ditto.
            (m2/pge-boot/%.o): Ditto.
            * README: Remove out of date info.
            * gm2-compiler/M2Quads.mod (BuildStringAdrParam): Correct
            procedure end name.
            * gm2-compiler/SymbolTable.mod (GetVarPointerCheck): Add
            default FALSE return value.

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

  parent reply	other threads:[~2023-10-18  2:10 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-10  7:09 [Bug modula2/111756] New: " rguenth at gcc dot gnu.org
2023-10-11 20:12 ` [Bug modula2/111756] " gaius at gcc dot gnu.org
2023-10-15  1:29 ` gaius at gcc dot gnu.org
2023-10-16 17:19 ` gaius at gcc dot gnu.org
2023-10-17 10:18 ` gaius at gcc dot gnu.org
2023-10-17 13:12 ` cvs-commit at gcc dot gnu.org
2023-10-17 13:13 ` gaius at gcc dot gnu.org
2023-10-17 13:15 ` gaius at gcc dot gnu.org
2023-10-18  2:06 ` gaius at gcc dot gnu.org
2023-10-18  2:10 ` cvs-commit at gcc dot gnu.org [this message]
2023-10-18  2:11 ` gaius at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-111756-4-KZBoQe4q9o@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).