Message392063
Thanks, Larry for pinging me!
What compiler / gdb version are you using?
I tried to reproduce but I don't see any failure:
master on master [$] pyenv 3.9.1 took 9s
❯ ./python -m sysconfig | grep CFLAGS
BASECFLAGS = "-Wno-unused-result -Wsign-compare"
CFLAGS = "-Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -g3 -O0 -g3 -O0"
CFLAGSFORSHARED = ""
CFLAGS_ALIASING = ""
CFLAGS_NODIST = ""
CONFIGURE_CFLAGS = "-g3 -O0"
CONFIGURE_CFLAGS_NODIST = "-std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Werror=implicit-function-declaration -fvisibility=hidden"
CONFIG_ARGS = "'-C' 'CFLAGS=-g3 -O0'"
EXTRA_CFLAGS = ""
PY_BUILTIN_MODULE_CFLAGS = "-Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -g3 -O0 -g3 -O0 -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Werror=implicit-function-declaration -fvisibility=hidden -I./Include/internal -I. -I./Include -DPy_BUILD_CORE_BUILTIN"
PY_CFLAGS = "-Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -g3 -O0 -g3 -O0"
PY_CFLAGS_NODIST = "-std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Werror=implicit-function-declaration -fvisibility=hidden -I./Include/internal"
PY_CORE_CFLAGS = "-Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -g3 -O0 -g3 -O0 -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Werror=implicit-function-declaration -fvisibility=hidden -I./Include/internal -I. -I./Include -DPy_BUILD_CORE"
PY_STDMODULE_CFLAGS = "-Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -g3 -O0 -g3 -O0 -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Werror=implicit-function-declaration -fvisibility=hidden -I./Include/internal -I. -I./Include"
master on master [$] pyenv 3.9.1
❯ ./python -m test test_gdb -m test_wrapper_call -v
== CPython 3.10.0a7+ (heads/master:d92513390a, Apr 27 2021, 13:20:32) [GCC 10.2.0]
== Linux-5.11.16-arch1-1-x86_64-with-glibc2.33 little-endian
== cwd: /home/pablogsal/github/python/master/build/test_python_27393æ
== CPU count: 36
== encodings: locale=UTF-8, FS=utf-8
0:00:00 load avg: 1.47 Run tests sequentially
0:00:00 load avg: 1.47 [1/1] test_gdb
GDB version 10.1:
GNU gdb (GDB) 10.1
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
test_wrapper_call (test.test_gdb.PyBtTests) ... ok
----------------------------------------------------------------------
Ran 1 test in 8.752s
OK
== Tests result: SUCCESS ==
1 test OK.
Total duration: 9.2 sec
Tests result: SUCCESS
These are my versions:
❯ gcc --version
gcc (GCC) 10.2.0
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
master on master [$] pyenv 3.9.1
❯ gdb --version
GNU gdb (GDB) 10.1
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. |
|
Date |
User |
Action |
Args |
2021-04-27 12:36:22 | pablogsal | set | recipients:
+ pablogsal, larry |
2021-04-27 12:36:22 | pablogsal | set | messageid: <1619526982.75.0.105323482905.issue43941@roundup.psfhosted.org> |
2021-04-27 12:36:22 | pablogsal | link | issue43941 messages |
2021-04-27 12:36:22 | pablogsal | create | |
|