From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id pan2IwAzrmdAuy8AWB0awg (envelope-from ) for ; Thu, 13 Feb 2025 12:59:28 -0500 Authentication-Results: simark.ca; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=ijS18CyO; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 7EDDC1E105; Thu, 13 Feb 2025 12:59:28 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HTML_MESSAGE, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=4.0.0 Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id C28FE1E08E for ; Thu, 13 Feb 2025 12:59:27 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 35CDA3858C39 for ; Thu, 13 Feb 2025 17:59:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 35CDA3858C39 Authentication-Results: sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=ijS18CyO Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTP id 62A2F3858C39 for ; Thu, 13 Feb 2025 17:58:35 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 62A2F3858C39 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 62A2F3858C39 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1739469515; cv=none; b=HaQ2lJOUpqREfYit5nFiGNMyeY4oRHPHZPcIGIh4yMqzq50gGYl8mRFmKBjEoDp/NrMujuV67jpBMB42djh+kmuDJpL+ZVnGzNY6jLzCL8T9GbMwhnBW3a0ftPbbvPMP/mvx8VjK/VbxpohKuPrn3TeX1WwYfDpKZgdvdAj9mFU= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1739469515; c=relaxed/simple; bh=pz6tponcKZVHG6PLrqPAWWLCleYN+TlpWfuXMybVzDE=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=OSU+Nx4mnoYuNCe+poHpepS4pS0RsxPqJZd2xVK343KywRiqAYNfs3YMLuWt/AulE0qJ4LNjcWBsM4zwwtzemxmxPs2hJ1QKsabhdBOiq1JX68iqLMIFVf8kBJWdv9eoJY7Hsd4CBaY5j7Y2oXYRD4co3o3HFdfGp6Qs3JjTjN0= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 62A2F3858C39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1739469515; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=cSLi5xfyFMECJTF3ygtEMQK2/dkSLyPJ+C8bUFctL3g=; b=ijS18CyOjzbCPmaXLsSYhtBbykCWsPHmq5ivaKPumMsktG1fdYiBbg+CyliT9WrQUYIrGY ceQxmvtowI/QbLPc1zE2L3cPU/L4G/dIvczSeYT2agiSYkoSKXZ7ynoO4eNliZCVXEEg8p QpzbMyuT05xjOh3+bR9Ps74THoh/1PU= Received: from mail-oo1-f70.google.com (mail-oo1-f70.google.com [209.85.161.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-496-gFZM5mcrOEuVAzRNdS9ybA-1; Thu, 13 Feb 2025 12:58:33 -0500 X-MC-Unique: gFZM5mcrOEuVAzRNdS9ybA-1 X-Mimecast-MFC-AGG-ID: gFZM5mcrOEuVAzRNdS9ybA Received: by mail-oo1-f70.google.com with SMTP id 006d021491bc7-5fc88d89a85so261878eaf.1 for ; Thu, 13 Feb 2025 09:58:33 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739469512; x=1740074312; h=in-reply-to:from:content-language:references:cc:to:subject :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=cSLi5xfyFMECJTF3ygtEMQK2/dkSLyPJ+C8bUFctL3g=; b=UgZaR1FZBOzaLZMg6yy11vWP9W0xjooP3tK9IR61Z+QgESxiij6hzyBw2BkqRKqdPC uNEhvYe8Or63A/0SL9d1T5FyK59u99XKjIps9Tc43r2q0DFBAW/EL/jNScau1BLoSnYW 4wCRKi/5hrcLlGutOc+fd31LXOI8FWZYJYb1BFidxNPTUjdi5+XPPqKwdShmWKIF+iBL e90DMdsmCa1EUCkPzS5vlbjcdj9u6q/a9tShcVC5wz2ZAuehBCNnyqyaRx4kyGjN4fO2 jJ8MYiLpLkakln/fx7ayC+P25RsHfpwOEORevRr6/GYpGXVHOJPxR/EYZFS6c87B2sA4 R49A== X-Gm-Message-State: AOJu0YyiCgwBP0fQ4ar7B1zYr1zcVuspXJmrKNlfVKSziZXAGqtUVc1Z F+PgCWFyoHtTvGLrZV+oihTMWycHDmbCv52irKKMF2mdYbI39rhcWdiMyU0F0fUYQvEHjICKWH9 TptjW+ES9/ZI6iHcRR31LrTsI3M+jpbdk1/l43Qql34yCSCc6SWOktAheEqfjkLtyE5g= X-Gm-Gg: ASbGnctC4JZPLSSdYswgek4i/B9r2e73/C/2n0lkwCXbnM8xWidbvuH5WYeeBrE+iN4 qxWJFUobGMIXXoobe4T96useSY58GwaDVseCD8/Zsme5Btk2KBtFbV/f/uXnRISUe8XgSgxk00E 74qsljNzYlcxSxV26t8ONKxscR9fy606EhQbBXrZ4jkjWgPlb8DMadvj51V0cnyfyTpkiQgtmYs /lkFVLN+wfzEHlxmSjgRHmJ0HaGR+VyeXi3Uo37y2BRYK2EaJ10usF4UQb9sWCwuouCYK3RWV1P KHTet38a+xDjK0Hk X-Received: by 2002:a05:6820:1e0b:b0:5fc:96c5:7ba5 with SMTP id 006d021491bc7-5fcaf55232amr2462364eaf.7.1739469512089; Thu, 13 Feb 2025 09:58:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IELXYGL3MhTJHzBTPYLaRvZ8C4yJJJfdsW/zqtbOWy/jJ6yOaT9sXHEJHG47cjLGSMIkKnfsg== X-Received: by 2002:a05:6820:1e0b:b0:5fc:96c5:7ba5 with SMTP id 006d021491bc7-5fcaf55232amr2462358eaf.7.1739469511739; Thu, 13 Feb 2025 09:58:31 -0800 (PST) Received: from ?IPV6:2804:14d:8084:9a69::1002? ([2804:14d:8084:9a69::1002]) by smtp.gmail.com with ESMTPSA id 006d021491bc7-5fcb16d0e20sm701536eaf.16.2025.02.13.09.58.30 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 13 Feb 2025 09:58:31 -0800 (PST) Message-ID: Date: Thu, 13 Feb 2025 14:58:28 -0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Follow up to stabs deprecation - AIX regressions To: Kevin Buettner Cc: gdb-patches@sourceware.org References: <20250213094829.2b6f73d5@f41-zbm-amd> <54acfac1-ac30-4012-9a64-8b3070338b11@redhat.com> <20250213104321.71331304@f41-zbm-amd> From: Guinevere Larsen In-Reply-To: <20250213104321.71331304@f41-zbm-amd> X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: gHTIQBKXBxDzn5dhb2QihmVmvv761in3z_9Y1LIG5pk_1739469512 X-Mimecast-Originator: redhat.com Content-Type: multipart/alternative; boundary="------------a8WHsXu02ES0DZnzmmGPqjFe" Content-Language: en-US X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org This is a multi-part message in MIME format. --------------a8WHsXu02ES0DZnzmmGPqjFe Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 2/13/25 2:43 PM, Kevin Buettner wrote: > On Thu, 13 Feb 2025 14:21:01 -0300 > Guinevere Larsen wrote: > >> On 2/13/25 1:48 PM, Kevin Buettner wrote: >>> On Thu, 13 Feb 2025 09:25:44 -0300 >>> Guinevere Larsen wrote: >>> >>>> * DWARF reading can sometimes fail in AIX. Currently, reading dwarf for >>>> xcoff inferiors is called on it's own, with no warning if dwarf fails >>>> (which probably makes sense, considering the default format in aix is >>>> still stabs). I added a warning when failing to read dwarf and noticed >>>> it being triggered on inferiors compiled with -gdwarf >>> I assume that you mean that stabs is the default when compiling with >>> gcc. Is stabs still also the default format for XLC (IBM Open XL C/C++) ? >> Yes, sorry, I meant gcc. The compile farm had versions 10 and 12, both >> with the same behavior. >> >> I don't think the compile farm has XLC compilers available for testing, >> or if they do I don't know how to use it, so I couldn't tell you... > I think it'd be good to find out XLC's preferred debug format. If it > uses/prefers DWARF, that'd be a good argument for gcc (on AIX) > switching to DWARF for it's preferred format too. > > Kevin > I just looked over at the GCC releases, and the GCC12 changelog says the following: * *STABS:* Support for emitting the STABS debugging format is deprecated and will be removed in the next release. All ports now default to emit DWARF (version 2 or later) debugging info or are obsoleted. Since the default is supposed to have changed *in* gcc 12 - which is the version that AIX has - or the port be obsolete, it looks to me like that gcc on AIX is obsoleted... In other words, gcc already knows it should change but seems to have given up on AIX? -- Cheers, Guinevere Larsen She/Her/Hers --------------a8WHsXu02ES0DZnzmmGPqjFe Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
On 2/13/25 2:43 PM, Kevin Buettner wrote:
On Thu, 13 Feb 2025 14:21:01 -0300
Guinevere Larsen <guinevere@redhat.com> wrote:

On 2/13/25 1:48 PM, Kevin Buettner wrote:
On Thu, 13 Feb 2025 09:25:44 -0300
Guinevere Larsen <guinevere@redhat.com> wrote:
 
* DWARF reading can sometimes fail in AIX. Currently, reading dwarf for
xcoff inferiors is called on it's own, with no warning if dwarf fails
(which probably makes sense, considering the default format in aix is
still stabs). I added a warning when failing to read dwarf and noticed
it being triggered on inferiors compiled with -gdwarf  

        
I assume that you mean that stabs is the default when compiling with
gcc.  Is stabs still also the default format for XLC (IBM Open XL C/C++) ?  
Yes, sorry, I meant gcc. The compile farm had versions 10 and 12, both 
with the same behavior.

I don't think the compile farm has XLC compilers available for testing, 
or if they do I don't know how to use it, so I couldn't tell you...
I think it'd be good to find out XLC's preferred debug format.  If it
uses/prefers DWARF, that'd be a good argument for gcc (on AIX)
switching to DWARF for it's preferred format too.

Kevin

I just looked over at the GCC releases, and the GCC12 changelog says the following:

  • STABS: Support for emitting the STABS debugging format is deprecated and will be removed in the next release. All ports now default to emit DWARF (version 2 or later) debugging info or are obsoleted.

Since the default is supposed to have changed *in* gcc 12 - which is the version that AIX has - or the port be obsolete, it looks to me like that gcc on AIX is obsoleted...

In other words, gcc already knows it should change but seems to have given up on AIX?

-- 
Cheers,
Guinevere Larsen
She/Her/Hers
--------------a8WHsXu02ES0DZnzmmGPqjFe--