Re: [PATCH] GDB: fix python config command line arguments based on python version

2022-04-20 Thread Chris Johns
On 21/4/2022 4:38 am, Karel Gardas wrote: > > Chris, Frank, > > I don't feel particularly comfortable with this patch. It works here on Ubuntu > 20.04 with python 3.3 and Ubuntu 22.04 with Python 3.10, but I have to admit > semantics of this cfg language is beyond my liking and a lot is in comple

Re: RSB Issue with lexicographic comparison of python versions (shown on Ubuntu 22.04 LTS/python 3.10 platform).

2022-04-20 Thread Chris Johns
On 20/4/2022 11:32 pm, Karel Gardas wrote: > On 4/20/22 10:12, Karel Gardas wrote: >>> The number 3.8 is less than 3.10 so if we changed things so it was a numeric >>> check it would still fail. >> >> No, it would not fail, since then > > Chris, > > sorry about that email which obviously was resu

Re: [PATCH] GDB: fix python config command line arguments based on python version

2022-04-20 Thread Karel Gardas
Chris, Frank, I don't feel particularly comfortable with this patch. It works here on Ubuntu 20.04 with python 3.3 and Ubuntu 22.04 with Python 3.10, but I have to admit semantics of this cfg language is beyond my liking and a lot is in complete darkness here. E.g. how &&, < operator are wor

[PATCH] GDB: fix python config command line arguments based on python version

2022-04-20 Thread Karel Gardas
Fixes #4631 --- source-builder/config/gdb-common-1.cfg | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/source-builder/config/gdb-common-1.cfg b/source-builder/config/gdb-common-1.cfg index c7f39552..dba6f212 100644 --- a/source-builder/config/gdb-common-1.cfg +++ b/sour

Re: RSB Issue with lexicographic comparison of python versions (shown on Ubuntu 22.04 LTS/python 3.10 platform).

2022-04-20 Thread Karel Gardas
On 4/20/22 10:12, Karel Gardas wrote: The number 3.8 is less than 3.10 so if we changed things so it was a numeric check it would still fail. No, it would not fail, since then Chris, sorry about that email which obviously was result of not enough morning caffeine on my side. Will see if I'

Re: RSB Issue with lexicographic comparison of python versions (shown on Ubuntu 22.04 LTS/python 3.10 platform).

2022-04-20 Thread Frank Kühndel
Hello, just as note, I have already opened a ticked for this issue: https://devel.rtems.org/ticket/4631 Greetings fk On 4/19/22 12:06, Karel Gardas wrote: > testing RSB on soon to be release Ubuntu 22.04 LTS. This distro provides > python 3.10 and interestingly gdb compilation fails badly on

Re: RSB Issue with lexicographic comparison of python versions (shown on Ubuntu 22.04 LTS/python 3.10 platform).

2022-04-20 Thread Karel Gardas
On 4/20/22 01:03, Chris Johns wrote: On 19/4/2022 8:06 pm, Karel Gardas wrote:   Chris, testing RSB on soon to be release Ubuntu 22.04 LTS. This distro provides python 3.10 and interestingly gdb compilation fails badly on it with: making dir: /home/karel/workspace/rtems-source-builder/rtems/