Message377594
While compiling a very recent release of Python (ie. 3.9.0rc2) with a fairly old release of gcc (ie. debian 6.0.6 gcc 4.4.5) I get the following error :
gcc -pthread -c -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -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 -o Parser/pegen/pegen.o Parser/pegen/pegen.c
Parser/pegen/pegen.c: In function ‘_PyPegen_seq_count_dots’:
Parser/pegen/pegen.c:1414: error: implicit declaration of function ‘__builtin_unreachable’
Indeed, this '__builtin_unreachable()' function will exists starting from gcc 4.5.
The configure file could detect this and offer an alternative.
(does a table of the supported gcc release for each python versions exists ?) |
|
Date |
User |
Action |
Args |
2020-09-28 11:15:51 | yota moteuchi | set | recipients:
+ yota moteuchi |
2020-09-28 11:15:51 | yota moteuchi | set | messageid: <1601291751.72.0.463788017117.issue41875@roundup.psfhosted.org> |
2020-09-28 11:15:51 | yota moteuchi | link | issue41875 messages |
2020-09-28 11:15:51 | yota moteuchi | create | |
|