From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lug-owl.de (lug-owl.de [188.68.32.151]) by sourceware.org (Postfix) with ESMTP id 6A4983858D28 for ; Sun, 24 Oct 2021 07:20:16 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 6A4983858D28 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=lug-owl.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=lug-owl.de Received: by lug-owl.de (Postfix, from userid 1001) id B1B0341F0F; Sun, 24 Oct 2021 09:20:15 +0200 (CEST) Date: Sun, 24 Oct 2021 09:20:15 +0200 From: Jan-Benedict Glaw To: Richard Biener Cc: gcc-patches@gcc.gnu.org Subject: Re: [PATCH] Always default to DWARF2_DEBUG if not specified, warn about deprecated STABS Message-ID: <20211024072015.gaemuuwr4z2cx2oh@lug-owl.de> References: <20211023200005.xknhnzfa7eyny5zf@lug-owl.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="63mpp2ewqkvgwjod" Content-Disposition: inline In-Reply-To: X-Operating-System: Linux chamaeleon 5.8.0-0.bpo.2-amd64 X-gpg-fingerprint: 250D 3BCF 7127 0D8C A444 A961 1DBD 5E75 8399 E1BB X-gpg-key: wwwkeys.de.pgp.net X-Echelon-Enable: howto poison arsenous mail psychological biological nuclear warfare test the bombastical terror of flooding the spy listeners explosion sex drugs and rock'n'roll X-TKUeV: howto poison arsenous mail psychological biological nuclear warfare test the bombastical terror of flooding the spy listeners explosion sex drugs and rock'n'roll X-message-flag: Please send plain text messages only. Do not send HTML emails. Thank you. User-Agent: NeoMutt/20170113 (1.7.2) X-Spam-Status: No, score=-3.6 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Oct 2021 07:20:18 -0000 --63mpp2ewqkvgwjod Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Richard, On Sun, 2021-10-24 08:36:36 +0200, Richard Biener wrote: > On October 23, 2021 10:00:05 PM GMT+02:00, Jan-Benedict Glaw wrote: > >On Tue, 2021-09-21 16:25:19 +0200, Richard Biener via Gcc-patches wrote: > >> I have built all targets from contrib/config-list.mk to make sure we > >> don't run into the #error and the following makes the STABS usage > >> explicit for pdp11 and hppa with SOM. > > > >I'm running build tests based on config-list.mk as well and see a good > >number of targets failing, all about the same, ie. for moxie-elf: >=20 > That's odd. I did test the patch using config-list.mk - the patch > sat in the comit tree for quite a while since that exercise (but > unchanged), but I doubt anything significant changed in between.=20 >=20 > >[all 2021-10-17 00:01:19] /usr/lib/gcc-snapshot/bin/g++ -fno-PIE -c -D= IN_GCC_FRONTEND -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-excepti= ons -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-= strings -Wcast-qual -Wno-error=3Dformat-diag -Wmissing-format-attribute -Wo= verloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overle= ngth-strings -Werror -fno-common -DHAVE_CONFIG_H -I. -I. -I../../gcc/gcc -= I../../gcc/gcc/. -I../../gcc/gcc/../include -I../../gcc/gcc/../libcpp/inclu= de -I../../gcc/gcc/../libcody -I../../gcc/gcc/../libdecnumber -I../../gcc/= gcc/../libdecnumber/dpd -I../libdecnumber -I../../gcc/gcc/../libbacktrace = -o default-d.o -MT default-d.o -MMD -MP -MF ./.deps/default-d.TPo ../../gc= c/gcc/config/default-d.c > >[all 2021-10-17 00:01:19] In file included from ./tm_d.h:9, > >[all 2021-10-17 00:01:19] from ../../gcc/gcc/config/def= ault-d.c:22: > >[all 2021-10-17 00:01:19] ../../gcc/gcc/defaults.h:908:2: error: #error = You must define PREFERRED_DEBUGGING_TYPE if DWARF is not supported >=20 > Is that building the D frontend? I remember restricting the builds to C..= =2E=20 Probably. I configure as =2E../gcc/configure --target=3Dmoxie-elf --enable-werror-always --enable-languages=3Dall --disable-gcov --disable-shared --disable-threads --without-headers --prefix=3D/var/lib/laminar/run/gcc-moxie-elf/13/toolchain-install MfG, JBG --=20 --63mpp2ewqkvgwjod Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQQlDTvPcScNjKREqWEdvV51g5nhuwUCYXUJKgAKCRAdvV51g5nh u3fQAJ0UEf4BKlZGvfKoJGq+O0yzV8gJcwCeK8cVKxMtC3E0MSOPwTNJm4gF3/4= =/uY0 -----END PGP SIGNATURE----- --63mpp2ewqkvgwjod--