public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] Obsolete hppa[12]*-*-hpux10* and hppa[12]*-*-hpux11*
@ 2021-09-20  7:00 Richard Biener
  2021-09-20 14:37 ` Jeff Law
  2021-09-22 12:34 ` John David Anglin
  0 siblings, 2 replies; 7+ messages in thread
From: Richard Biener @ 2021-09-20  7:00 UTC (permalink / raw)
  To: gcc-patches; +Cc: dave.anglin, jeffreyalaw

This obsoletes the 32bit hppa-hpux configurations which only support
STABS as debuginfo format.

As discussed, I'm going to push this (and a changes.html entry) when
it was included in a bootstrap/regtest cycle.

2021-09-20  Richard Biener  <rguenther@suse.de>

gcc/
	* config.gcc: Obsolete hppa[12]*-*-hpux10* and hppa[12]*-*-hpux11*.

contrib/
	* config-list.mk: --enable-obsolete for hppa2.0-hpux10.1 and
	hppa2.0-hpux11.9.
---
 contrib/config-list.mk | 5 +++--
 gcc/config.gcc         | 2 ++
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/contrib/config-list.mk b/contrib/config-list.mk
index 28c0db7a26c..3e1d1321861 100644
--- a/contrib/config-list.mk
+++ b/contrib/config-list.mk
@@ -45,8 +45,9 @@ LIST = aarch64-elf aarch64-linux-gnu aarch64-rtems \
   epiphany-elf epiphany-elfOPT-with-stack-offset=16 fido-elf \
   fr30-elf frv-elf frv-linux ft32-elf h8300-elf hppa-linux-gnu \
   hppa-linux-gnuOPT-enable-sjlj-exceptions=yes hppa64-linux-gnu \
-  hppa2.0-hpux10.1 hppa64-hpux11.3 \
-  hppa64-hpux11.0OPT-enable-sjlj-exceptions=yes hppa2.0-hpux11.9 \
+  hppa2.0-hpux10.1OPT-enable-obsolete hppa64-hpux11.3 \
+  hppa64-hpux11.0OPT-enable-sjlj-exceptions=yes \
+  hppa2.0-hpux11.9OPT-enable-obsolete \
   i686-pc-linux-gnu i686-apple-darwin i686-apple-darwin9 i686-apple-darwin10 \
   i486-freebsd4 i686-freebsd6 i686-kfreebsd-gnu \
   i686-netbsdelf9 \
diff --git a/gcc/config.gcc b/gcc/config.gcc
index c3a8b27f819..498c51e619d 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -250,6 +250,8 @@ md_file=
 case ${target} in
   tile*-*-*				\
  | cr16-*-*				\
+ | hppa[12]*-*-hpux10*			\
+ | hppa[12]*-*-hpux11*			\
  )
     if test "x$enable_obsolete" != xyes; then
       echo "*** Configuration ${target} is obsolete." >&2
-- 
2.31.1

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] Obsolete hppa[12]*-*-hpux10* and hppa[12]*-*-hpux11*
  2021-09-20  7:00 [PATCH] Obsolete hppa[12]*-*-hpux10* and hppa[12]*-*-hpux11* Richard Biener
@ 2021-09-20 14:37 ` Jeff Law
  2021-09-20 16:37   ` Richard Biener
  2021-09-22 12:34 ` John David Anglin
  1 sibling, 1 reply; 7+ messages in thread
From: Jeff Law @ 2021-09-20 14:37 UTC (permalink / raw)
  To: Richard Biener, gcc-patches; +Cc: dave.anglin



On 9/20/2021 1:00 AM, Richard Biener wrote:
> This obsoletes the 32bit hppa-hpux configurations which only support
> STABS as debuginfo format.
>
> As discussed, I'm going to push this (and a changes.html entry) when
> it was included in a bootstrap/regtest cycle.
>
> 2021-09-20  Richard Biener  <rguenther@suse.de>
>
> gcc/
> 	* config.gcc: Obsolete hppa[12]*-*-hpux10* and hppa[12]*-*-hpux11*.
>
> contrib/
> 	* config-list.mk: --enable-obsolete for hppa2.0-hpux10.1 and
> 	hppa2.0-hpux11.9.
Is this marking hppa2.0w-hp-hpux11 as obsolete?  That platform is using 
ELF & DWARF.

jeff



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] Obsolete hppa[12]*-*-hpux10* and hppa[12]*-*-hpux11*
  2021-09-20 14:37 ` Jeff Law
@ 2021-09-20 16:37   ` Richard Biener
  2021-09-20 16:46     ` Richard Biener
  0 siblings, 1 reply; 7+ messages in thread
From: Richard Biener @ 2021-09-20 16:37 UTC (permalink / raw)
  To: Jeff Law; +Cc: gcc-patches, dave.anglin

On Mon, 20 Sep 2021, Jeff Law wrote:

> 
> 
> On 9/20/2021 1:00 AM, Richard Biener wrote:
> > This obsoletes the 32bit hppa-hpux configurations which only support
> > STABS as debuginfo format.
> >
> > As discussed, I'm going to push this (and a changes.html entry) when
> > it was included in a bootstrap/regtest cycle.
> >
> > 2021-09-20  Richard Biener  <rguenther@suse.de>
> >
> > gcc/
> >  * config.gcc: Obsolete hppa[12]*-*-hpux10* and hppa[12]*-*-hpux11*.
> >
> > contrib/
> >  * config-list.mk: --enable-obsolete for hppa2.0-hpux10.1 and
> >  hppa2.0-hpux11.9.
> Is this marking hppa2.0w-hp-hpux11 as obsolete?  That platform is using ELF &
> DWARF.

If so then that's by mistake - I had the impression that all 32bit
hpux pa targets are STABS only, but that's from trying to decipher
config.gcc and the comments from you and David ... maybe the
matching pattern needs to be "split"?

Can you maybe take care of any adjustments necessary?  I've also
edited changes.html already.

Thanks,
Richard.

> jeff
> 
> 
> 

-- 
Richard Biener <rguenther@suse.de>
SUSE Software Solutions Germany GmbH, Maxfeldstrasse 5, 90409 Nuernberg,
Germany; GF: Felix Imendörffer; HRB 36809 (AG Nuernberg)

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] Obsolete hppa[12]*-*-hpux10* and hppa[12]*-*-hpux11*
  2021-09-20 16:37   ` Richard Biener
@ 2021-09-20 16:46     ` Richard Biener
  2021-09-20 17:12       ` Jeff Law
  0 siblings, 1 reply; 7+ messages in thread
From: Richard Biener @ 2021-09-20 16:46 UTC (permalink / raw)
  To: Jeff Law; +Cc: gcc-patches, dave.anglin

On Mon, 20 Sep 2021, Richard Biener wrote:

> On Mon, 20 Sep 2021, Jeff Law wrote:
> 
> > 
> > 
> > On 9/20/2021 1:00 AM, Richard Biener wrote:
> > > This obsoletes the 32bit hppa-hpux configurations which only support
> > > STABS as debuginfo format.
> > >
> > > As discussed, I'm going to push this (and a changes.html entry) when
> > > it was included in a bootstrap/regtest cycle.
> > >
> > > 2021-09-20  Richard Biener  <rguenther@suse.de>
> > >
> > > gcc/
> > >  * config.gcc: Obsolete hppa[12]*-*-hpux10* and hppa[12]*-*-hpux11*.
> > >
> > > contrib/
> > >  * config-list.mk: --enable-obsolete for hppa2.0-hpux10.1 and
> > >  hppa2.0-hpux11.9.
> > Is this marking hppa2.0w-hp-hpux11 as obsolete?  That platform is using ELF &
> > DWARF.
> 
> If so then that's by mistake - I had the impression that all 32bit
> hpux pa targets are STABS only, but that's from trying to decipher
> config.gcc and the comments from you and David ... maybe the
> matching pattern needs to be "split"?

Btw, I don't see any elfos.h in the hppa[12]*-*-hpux11* case in config.gcc
and it contains a warning that the target doesn't support DWARF.  But yes,
that pattern matches hppa2.0-hpux11.9 and the hppa*64*-*-hpux11* pattern
doesn't - there's hppa64-hpux11.0 in config-list.mk that does though.

Richard.

> Can you maybe take care of any adjustments necessary?  I've also
> edited changes.html already.
> 
> Thanks,
> Richard.
> 
> > jeff
> > 
> > 
> > 
> 
> 

-- 
Richard Biener <rguenther@suse.de>
SUSE Software Solutions Germany GmbH, Maxfeldstrasse 5, 90409 Nuernberg,
Germany; GF: Felix Imendörffer; HRB 36809 (AG Nuernberg)

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] Obsolete hppa[12]*-*-hpux10* and hppa[12]*-*-hpux11*
  2021-09-20 16:46     ` Richard Biener
@ 2021-09-20 17:12       ` Jeff Law
  0 siblings, 0 replies; 7+ messages in thread
From: Jeff Law @ 2021-09-20 17:12 UTC (permalink / raw)
  To: Richard Biener; +Cc: gcc-patches, dave.anglin



On 9/20/2021 10:46 AM, Richard Biener wrote:
> On Mon, 20 Sep 2021, Richard Biener wrote:
>
>> On Mon, 20 Sep 2021, Jeff Law wrote:
>>
>>>
>>> On 9/20/2021 1:00 AM, Richard Biener wrote:
>>>> This obsoletes the 32bit hppa-hpux configurations which only support
>>>> STABS as debuginfo format.
>>>>
>>>> As discussed, I'm going to push this (and a changes.html entry) when
>>>> it was included in a bootstrap/regtest cycle.
>>>>
>>>> 2021-09-20  Richard Biener  <rguenther@suse.de>
>>>>
>>>> gcc/
>>>>   * config.gcc: Obsolete hppa[12]*-*-hpux10* and hppa[12]*-*-hpux11*.
>>>>
>>>> contrib/
>>>>   * config-list.mk: --enable-obsolete for hppa2.0-hpux10.1 and
>>>>   hppa2.0-hpux11.9.
>>> Is this marking hppa2.0w-hp-hpux11 as obsolete?  That platform is using ELF &
>>> DWARF.
>> If so then that's by mistake - I had the impression that all 32bit
>> hpux pa targets are STABS only, but that's from trying to decipher
>> config.gcc and the comments from you and David ... maybe the
>> matching pattern needs to be "split"?
> Btw, I don't see any elfos.h in the hppa[12]*-*-hpux11* case in config.gcc
> and it contains a warning that the target doesn't support DWARF.  But yes,
> that pattern matches hppa2.0-hpux11.9 and the hppa*64*-*-hpux11* pattern
> doesn't - there's hppa64-hpux11.0 in config-list.mk that does though.
Nuts, I think I steered you wrong.  I forgot that while HP used 
"hppa2.0w" to denote their 64 bit ELF platform, we used "hppa64" for the 
target name.

jeff


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] Obsolete hppa[12]*-*-hpux10* and hppa[12]*-*-hpux11*
  2021-09-20  7:00 [PATCH] Obsolete hppa[12]*-*-hpux10* and hppa[12]*-*-hpux11* Richard Biener
  2021-09-20 14:37 ` Jeff Law
@ 2021-09-22 12:34 ` John David Anglin
  2021-09-22 13:20   ` Richard Biener
  1 sibling, 1 reply; 7+ messages in thread
From: John David Anglin @ 2021-09-22 12:34 UTC (permalink / raw)
  To: Richard Biener, gcc-patches

On 2021-09-20 3:00 a.m., Richard Biener wrote:
> As discussed, I'm going to push this (and a changes.html entry) when
> it was included in a bootstrap/regtest cycle.
GCC 12 still builds on hppa2.0w-hp-hpux11.11 with --enable-obsolete:
https://gcc.gnu.org/pipermail/gcc-testresults/2021-September/722961.html

-- 
John David Anglin  dave.anglin@bell.net


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] Obsolete hppa[12]*-*-hpux10* and hppa[12]*-*-hpux11*
  2021-09-22 12:34 ` John David Anglin
@ 2021-09-22 13:20   ` Richard Biener
  0 siblings, 0 replies; 7+ messages in thread
From: Richard Biener @ 2021-09-22 13:20 UTC (permalink / raw)
  To: John David Anglin; +Cc: gcc-patches, jeffreyalaw

On Wed, 22 Sep 2021, John David Anglin wrote:

> On 2021-09-20 3:00 a.m., Richard Biener wrote:
> > As discussed, I'm going to push this (and a changes.html entry) when
> > it was included in a bootstrap/regtest cycle.
> GCC 12 still builds on hppa2.0w-hp-hpux11.11 with --enable-obsolete:
> https://gcc.gnu.org/pipermail/gcc-testresults/2021-September/722961.html

Yes, that's how it's supposed to be, but it will lose the ability to
emit (stabs) debug info when GCC 13 stage1 opens and we get along to
remove stabs support.  At that point maintaining the configuration
might cease to make sense.

Richard.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-09-22 13:20 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-20  7:00 [PATCH] Obsolete hppa[12]*-*-hpux10* and hppa[12]*-*-hpux11* Richard Biener
2021-09-20 14:37 ` Jeff Law
2021-09-20 16:37   ` Richard Biener
2021-09-20 16:46     ` Richard Biener
2021-09-20 17:12       ` Jeff Law
2021-09-22 12:34 ` John David Anglin
2021-09-22 13:20   ` Richard Biener

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).