koobs added the comment: It appears this change broke all FreeBSD builders (9: gcc, 10/11: clang) for the 2.7 branch with:
==== koobs-freebsd-current (clang 3.7.x) cc -pthread -c -fno-strict-aliasing -OPT:Olimit=0 -g -O2 -g -O0 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -DPy_BUILD_CORE -o Objects/typeobject.o Objects/typeobject.c Objects/typeobject.c:2568:44: error: no member named 'hash' in 'PyStringObject' assert(((PyStringObject *)(name))->hash != -1); ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ /usr/include/assert.h:54:21: note: expanded from macro 'assert' #define assert(e) ((e) ? (void)0 : __assert(__func__, __FILE__, \ ^ 1 error generated. *** Error code 1 ==== koobs-freebsd10 (clang 3.4.x) cc -pthread -c -fno-strict-aliasing -OPT:Olimit=0 -g -O2 -g -O0 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Objects/unicodeobject.o Objects/unicodeobject.c --- Objects/typeobject.o --- Objects/typeobject.c:2568:18: error: use of undeclared identifier 'PyASCIIObject' assert(((PyASCIIObject *)(name))->hash != -1); ^ /usr/include/assert.h:54:21: note: expanded from macro 'assert' #define assert(e) ((e) ? (void)0 : __assert(__func__, __FILE__, \ ^ Objects/typeobject.c:2568:33: error: expected expression assert(((PyASCIIObject *)(name))->hash != -1); ^ /usr/include/assert.h:54:21: note: expanded from macro 'assert' #define assert(e) ((e) ? (void)0 : __assert(__func__, __FILE__, \ ^ --- Objects/unicodectype.o --- cc -pthread -c -fno-strict-aliasing -OPT:Olimit=0 -g -O2 -g -O0 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Objects/unicodectype.o Objects/unicodectype.c --- Objects/typeobject.o --- 2 errors generated. *** [Objects/typeobject.o] Error code 1 ==== koobs-freebsd9 (gcc 4.2.1 + patches) gcc -pthread -c -fno-strict-aliasing -g -O2 -g -O0 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -DPy_BUILD_CORE -o Objects/unicodeobject.o Objects/unicodeobject.c Objects/unicodeobject.c: In function 'PyUnicode_DecodeUTF7Stateful': Objects/unicodeobject.c:1694: warning: comparison is always true due to limited range of data type gcc -pthread -c -fno-strict-aliasing -g -O2 -g -O0 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -DPy_BUILD_CORE -o Objects/unicodectype.o Objects/unicodectype.c Objects/typeobject.c: In function '_PyType_Lookup': Objects/typeobject.c:2568: error: 'PyASCIIObject' undeclared (first use in this function) Objects/typeobject.c:2568: error: (Each undeclared identifier is reported only once Objects/typeobject.c:2568: error: for each function it appears in.) Objects/typeobject.c:2568: error: expected expression before ')' token *** [Objects/typeobject.o] Error code 1 ---------- nosy: +koobs status: closed -> open _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22847> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com