From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1698) id 98F063857C69; Fri, 15 Oct 2021 16:27:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 98F063857C69 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Iain D Sandoe To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-4444] Darwin, D: Fix D bootstrap, include tm-dwarf2.h. X-Act-Checkin: gcc X-Git-Author: Iain Sandoe X-Git-Refname: refs/heads/master X-Git-Oldrev: 93ac832f1846e4867aa6537f76f510fab8e3e87d X-Git-Newrev: a01704fc45a727fbfc4999983b3e8886c0f86fed Message-Id: <20211015162702.98F063857C69@sourceware.org> Date: Fri, 15 Oct 2021 16:27:02 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Oct 2021 16:27:02 -0000 https://gcc.gnu.org/g:a01704fc45a727fbfc4999983b3e8886c0f86fed commit r12-4444-ga01704fc45a727fbfc4999983b3e8886c0f86fed Author: Iain Sandoe 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 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]*\).*'`