This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Obsolete/remove Solaris < 10 [was: Re: Fix gdb 8.1 Solaris compilation]
- From: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- To: Pedro Alves <palves at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 03 Oct 2017 15:01:18 +0200
- Subject: Re: Obsolete/remove Solaris < 10 [was: Re: Fix gdb 8.1 Solaris compilation]
- Authentication-results: sourceware.org; auth=none
- References: <yddy3p8p5l6.fsf@CeBiTec.Uni-Bielefeld.DE> <mvm8th819a0.fsf@suse.de> <yddtvzwp293.fsf@CeBiTec.Uni-Bielefeld.DE> <yddk20sp1i5.fsf_-_@CeBiTec.Uni-Bielefeld.DE> <47bb2956-5654-0ce3-26dd-9f6b76ff6e08@redhat.com> <ydd7ewqpzc9.fsf@CeBiTec.Uni-Bielefeld.DE> <bf5aca6c-998d-4854-9e58-8677338ea630@redhat.com> <ydd7ewlwvtm.fsf@CeBiTec.Uni-Bielefeld.DE> <576db604-2aa4-0ce5-9c5f-d504c593f477@redhat.com> <db845c9a-49cf-b676-53fd-fa9718c588e3@redhat.com>
Hi Pedro,
> On 09/26/2017 03:18 PM, Pedro Alves wrote:
>>
>> On 09/26/2017 12:20 PM, Rainer Orth wrote:
>>>
>>> Testing is very weird, though: Linux/x86_64 only shows a few failures,
>>> but Solaris is a mess: on Solaris 10, the vast majority of tests time
>>> out (although gdb seems to work reasonably well interactively), while
>>> many more work on Solaris 11.4 until testing runs into what seems an
>>> infinite loop of
>>>
>>> FAIL: gdb.mi/mi-exec-run.exp: inferior-tty=main: mi=main: force-fail=1:
>>> run failure detected (timeout)
>>
>> I recall once trying to run the testsuite on OpenSolaris
>> (several years ago, maybe 2008.11, though I don't really
>> recall exactly), and running into lots and lots of timeouts.
>> I think it had something to do with gdb + expect + dejagnu not
>> agreeing over end lines, \r\n vs \n, etc. ISTR trying to
>> work around it with stty settings.
>>
>> I'm having trouble finding the email in the archives, though.
>
> Bah, I was looking in the wrong list, that's why...
>
> Here it is:
> https://sourceware.org/ml/gdb/2008-07/msg00292.html
> and the workaround:
> https://sourceware.org/ml/gdb/2008-08/msg00144.html
thanks for looking this up. However, further digging revealed that the
issue is slightly different for me. When I run a single testcase
(alias.exp), gdb.log shows
(gdb) ^M^[[K(gdb) alias -a set2=set^M
(gdb) ^M^[[K(gdb) FAIL: gdb.base/alias.exp: alias -a set2=set (timeout)
i.e. I get clr_eol/el (clear to end of line) after the prompt which
confuses the test framework. I haven't yet found what causes this.
However, I managed to hack around the issue for testing purposes by
configuring with --disable-tui: this way at least a vast majority of the
tests PASS.
The same issue still happens when I use a locally built libncurses 5.7
instead of the native libcurses.
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University