From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26360 invoked by alias); 21 Sep 2017 14:31:04 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 25956 invoked by uid 89); 21 Sep 2017 14:31:04 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-5.8 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy= X-HELO: smtp.CeBiTec.Uni-Bielefeld.DE Received: from smtp.CeBiTec.Uni-Bielefeld.DE (HELO smtp.CeBiTec.Uni-Bielefeld.DE) (129.70.160.84) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 21 Sep 2017 14:31:03 +0000 Received: from localhost (localhost.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id D203AEB0; Thu, 21 Sep 2017 16:31:00 +0200 (CEST) Received: from smtp.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1]) by localhost (malfoy.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) (amavisd-new, port 10024) with LMTP id K4qhniCxH+I4; Thu, 21 Sep 2017 16:30:59 +0200 (CEST) Received: from lokon.CeBiTec.Uni-Bielefeld.DE (lokon.CeBiTec.Uni-Bielefeld.DE [129.70.161.152]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTPS id A1807EAF; Thu, 21 Sep 2017 16:30:58 +0200 (CEST) Received: (from ro@localhost) by lokon.CeBiTec.Uni-Bielefeld.DE (8.15.2+Sun/8.15.2/Submit) id v8LEUw3c008184; Thu, 21 Sep 2017 16:30:58 +0200 (MEST) From: Rainer Orth To: Andreas Schwab Cc: gdb-patches@sourceware.org Subject: Obsolete/remove Solaris < 10 [was: Re: Fix gdb 8.1 Solaris compilation] References: Date: Thu, 21 Sep 2017 14:31:00 -0000 In-Reply-To: (Rainer Orth's message of "Thu, 21 Sep 2017 16:14:48 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-SW-Source: 2017-09/txt/msg00638.txt.bz2 Rainer Orth writes: > However, this section is only needed on Solaris < 10, which is why I > didn't notice it until I tried an i386-pc-solaris2.9 build. It's > probably time to remove support for those old Solaris versions in gdb, > too: gcc lost them after 4.9. I'm pretty certain we should: the Solaris 9/x86 build didn't complete, even with the configure.nat section fixed: In file included from build-gnulib/import/wchar.h:87:0, from /vol/gcc-4.9/include/c++/4.9.0/cwchar:44, from /vol/gcc-4.9/include/c++/4.9.0/bits/postypes.h:40, from /vol/gcc-4.9/include/c++/4.9.0/bits/char_traits.h:40, from /vol/gcc-4.9/include/c++/4.9.0/string:40, from /vol/src/gnu/gdb/gdb/local/gdb/common/common-utils.h:= 23, from /vol/src/gnu/gdb/gdb/local/gdb/common/common-defs.h:7= 8, from /vol/src/gnu/gdb/gdb/local/gdb/defs.h:28, from /vol/src/gnu/gdb/gdb/local/gdb/gdb.c:19: /vol/gcc-4.9/lib/gcc/i386-pc-solaris2.9/4.9.0/include-fixed/wchar.h:59:12: = error: =E2=80=98std::wcstok=E2=80=99 has not been declared using std::wcstok; ^ /vol/gcc-4.9/lib/gcc/i386-pc-solaris2.9/4.9.0/include-fixed/wchar.h:60:12: = error: =E2=80=98std::wcsftime=E2=80=99 has not been declared using std::wcsftime; ^ This bad interaction between gnulib and fixed Solaris 9 headers may be fixable, but even trying to seems like a total waste of time. How is obsoletion/removal handled in gdb? In gcc, in one release a target is obsoleted and trying to build it yields an error which can be overridden with --enable-obsolete. Unless someone steps up to continue maintenance, the code is removed in the next release. Does gdb go for immediate removal instead? I have no idea which release last built/worked on Solaris 9. I have a build of 7.11 lying around, but never tried anything later. Thoughts? Rainer --=20 ---------------------------------------------------------------------------= -- Rainer Orth, Center for Biotechnology, Bielefeld University