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 ESMTPS id 88BF2385841A for ; Wed, 7 Sep 2022 10:50:27 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 88BF2385841A 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 BA40741FAC; Wed, 7 Sep 2022 12:50:24 +0200 (CEST) Date: Wed, 7 Sep 2022 12:50:24 +0200 From: Jan-Benedict Glaw To: Jeff Law Cc: gcc-patches@gcc.gnu.org Subject: Re: [PATCH] Always default to DWARF2_DEBUG if not specified, warn about deprecated STABS Message-ID: <20220907105024.t4cjftl6cr3oin2m@lug-owl.de> References: <20220828075030.sasynazl7hbg7ku4@lug-owl.de> <1a195efa-f8f0-61b0-71b8-8d566fa5e9c2@gmail.com> <20220829201135.xubk4zklljx7eaog@lug-owl.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="livifrqzxwfibzhz" Content-Disposition: inline In-Reply-To: <20220829201135.xubk4zklljx7eaog@lug-owl.de> X-Operating-System: Linux chamaeleon 5.14.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.9 required=5.0 tests=BAYES_00,KAM_DMARC_STATUS,SPF_HELO_PASS,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --livifrqzxwfibzhz Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! On Mon, 2022-08-29 22:11:35 +0200, Jan-Benedict Glaw wr= ote: > On Sun, 2022-08-28 15:32:53 -0600, Jeff Law via Gcc-patches wrote: > > On 8/28/2022 1:50 AM, Jan-Benedict Glaw wrote: > > > On Tue, 2021-09-21 16:25:19 +0200, Richard Biener via Gcc-patches wrote: > > > > This makes defaults.h choose DWARF2_DEBUG if PREFERRED_DEBUGGING_TY= PE > > > > is not specified by the target and errors out if DWARF DWARF is not= supported. > > > While I think the pdp11 bits arreved, the rest did not (yet). Just > > > checked my auto-builder logs. When building current HEAD as > > >=20 > > > ../gcc/configure --prefix=3D... --enable-werror-always \ > > > --enable-languages=3Dall --disable-gcov \ > > > --disable-shared --disable-threads --without-headers \ > > > --target=3D... > > > make V=3D1 all-gcc > > >=20 > > > ALL of these targets won't build right now: > [...] > > Umm, most of those -elf targets do build.=C2=A0 See: > >=20 > > http://law-sandy.freeddns.org:8080 >=20 > Another builder. :) Randomly picking xtensa-elf, you're configuring > as >=20 > + ../../gcc/configure --disable-analyzer --with-system-libunwind > --with-newlib --without-headers --disable-threads --disable-shared > --enable-languages=3Dc,c++ > --prefix=3D/home/jlaw/jenkins/workspace/xtensa-elf/xtensa-elf-obj/gcc/../= =2E./xtensa-elf-installed > --target=3Dxtensa-elf >=20 > I guess the main difference that lets my builds fail might be > --enable-languages=3Dall (vs. c,c++ in your case.) >=20 > Maybe you'd give that a try? (...and I'll trigger a build with just > c,c++ on my builder.) So ... just building for --enable-languages=3Dc,c++ usually works for the *-elf targets, but I'm interested in building as much code as possible. Is it expected that with --enable-languages=3Dall, all those targets will break? Can we have a sane default here, or need the maintainers decide for any given debug format? Thanks, Jan-Benedict --=20 --livifrqzxwfibzhz Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQQlDTvPcScNjKREqWEdvV51g5nhuwUCYxh3bgAKCRAdvV51g5nh u/m+AJsE65F2VtY0sR6aXjawBk7qv+xyvACgjUmVv8Wfg9MrQu9y0Koezm+Q8AE= =SuOJ -----END PGP SIGNATURE----- --livifrqzxwfibzhz--