public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Iain D Sandoe <iains@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r12-4444] Darwin, D: Fix D bootstrap, include tm-dwarf2.h.
Date: Fri, 15 Oct 2021 16:27:02 +0000 (GMT)	[thread overview]
Message-ID: <20211015162702.98F063857C69@sourceware.org> (raw)

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

commit r12-4444-ga01704fc45a727fbfc4999983b3e8886c0f86fed
Author: Iain Sandoe <iain@sandoe.co.uk>
Date:   Fri Oct 15 17:23:08 2021 +0100

    Darwin, D: Fix D bootstrap, include tm-dwarf2.h.
    
    After r12-4432-g7bfe7d634f60b0a9 Darwin fails to bootstrap with D
    enabled since there is no definition of either DWARF2_DEBUG_INFO or
    PREFERRED_DEBUGGING_TYPE.
    
    Fixed here by adding the tm-dwarf2.h file to tm_d_file for Darwin.
    
    Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
    
    gcc/ChangeLog:
    
            * config.gcc: Add tm-dwarf2.h to tm_d-file.

Diff:
---
 gcc/config.gcc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gcc/config.gcc b/gcc/config.gcc
index aa5bd5d1459..3675e063a53 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -666,6 +666,7 @@ case ${target} in
 *-*-darwin*)
   tmake_file="t-darwin "
   tm_file="${tm_file} darwin.h"
+  tm_d_file="${tm_d_file} tm-dwarf2.h"
   darwin_os=`echo ${target} | sed 's/.*darwin\([0-9.]*\).*$/\1/'`
   darwin_maj=`expr "$darwin_os" : '\([0-9]*\).*'`
   macos_min=`expr "$darwin_os" : '[0-9]*\.\([0-9]*\).*'`


                 reply	other threads:[~2021-10-15 16:27 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20211015162702.98F063857C69@sourceware.org \
    --to=iains@gcc.gnu.org \
    --cc=gcc-cvs@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).