From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf1-x42c.google.com (mail-pf1-x42c.google.com [IPv6:2607:f8b0:4864:20::42c]) by sourceware.org (Postfix) with ESMTPS id 31E7B3858002 for ; Mon, 13 Sep 2021 15:05:48 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 31E7B3858002 Received: by mail-pf1-x42c.google.com with SMTP id e16so9121731pfc.6 for ; Mon, 13 Sep 2021 08:05:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=le//O3c8NpXBas7naRnaibLwofRDrteYsQC4AcemUP0=; b=JUWh/rmHgztFjaSLH/j3r4sWG1JHKZA772iXuRByMlOz5+DdUwgBYVvyXgc9/e12cY f+gAGfihYL5+tT4TibDAtQLh81mbkEHJRsEub2u1oe0wMjTn9ByFhxa7SXyRvIlNe95r KfZodOkVso/qWGH8douK3HwVs+hrkKtqI65rzD+W6z15FWUXgnYGAhXwZ4jVH8F7G7TR y+uv0M1h2vj5cPK4EndKPKfq2+7ULB041zNmfv87qRIYC1cDkddnB0sUbU60DOLQXb2D aJzwhNtnrUFclLLP+FZ4lwryn1DehnmIGvd5Xy4iYnJvYSGRSq1gfhw3DySgn57YQ3wV OfZQ== X-Gm-Message-State: AOAM533yZRscL8y4ZFOaOBK3hDkUD+ObC8xP2QFfFGqfc3ou9AP6JbNJ 6GNSzxzX9GyxeIAMbIe665E= X-Google-Smtp-Source: ABdhPJxjYovO0+1C2jc3s/nfAh48UW8K9rsSBykSoVESLUr6LFfGJmOU++qW2jyOoepPf1/A36ECAA== X-Received: by 2002:aa7:91d7:0:b029:3c9:7e08:cc97 with SMTP id z23-20020aa791d70000b02903c97e08cc97mr11497362pfa.35.1631545547148; Mon, 13 Sep 2021 08:05:47 -0700 (PDT) Received: from [172.31.0.175] (c-98-202-48-222.hsd1.ut.comcast.net. [98.202.48.222]) by smtp.gmail.com with ESMTPSA id i2sm2772114pfa.82.2021.09.13.08.05.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 13 Sep 2021 08:05:46 -0700 (PDT) Subject: Re: [PATCH][v2] Always default to DWARF2_DEBUG if not specified, warn about deprecated STABS To: John David Anglin , Richard Biener Cc: gcc-patches@gcc.gnu.org, schwab@linux-m68k.org, ni1d@arrl.net References: <66161527-98n2-3060-49ss-67oro67381nq@fhfr.qr> <7c622dea-ac79-869e-23a0-7d363ec50947@gmail.com> <2f5fdfff-d7dd-c8ab-b384-17cc4c5c0c12@gmail.com> From: Jeff Law Message-ID: Date: Mon, 13 Sep 2021 09:05:45 -0600 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_SHORT, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, 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: Mon, 13 Sep 2021 15:05:49 -0000 On 9/13/2021 8:58 AM, John David Anglin wrote: > On 2021-09-13 9:53 a.m., Jeff Law wrote: >>> It is in fact also hpux11*, thus all 32bit pa configs that do not support >>> DWARF (for whatever reasons). >> We used embedded stabs for SOM (the native format for 32bit PA). SOM is a variant of COFF and could easily support dwarf I would think since >> it had support for fairly arbitrary sections.  Hell, it was already supporting embedded stabs as well as HP's proprietary debugging format. >> >> But I'd consider 32bit SOM on hpux11 dead too :-) > I don't disagree but 32bit SOM still builds on hpux11: > https://gcc.gnu.org/pipermail/gcc-testresults/2021-August/718130.html > > Suspect the change will cause a lot of warnings. It might, but with stabs going away something needs to be done with these legacy systems.  Either they need to move into the modern world, deal with the diagnostic  or get dropped. > > There is some support for hpux10/11 in qemu but it takes a lot of work to provide the build infrastructure needed for gcc. I would think so. > > DWARF isn't supported because we lack named sections.  That could be worked around > but probably the gdb versions that work on 32-bit hpux11 wouldn't support DWARF. I'd be a bit surprised if that were true.  dwarf support has been around a long long time in GDB.  Hell, it was around when I did the original 64bit PA work back in the 90s. Jeff