Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
#25633 breaks the cygwin build {{{ [ 74/529] gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer- size=4 -DOPENSSL_NO_SSL3=1 -fdebug-prefix-map=/pub/devel/python/python38 /python38-3.8.12-1.x86_64/build=/usr/src/debug/python38-3.8.12-1 -fdebug-prefix-map=/pub/devel/python/python38/python38-3.8.12-1.x86_64/s rc/Python-3.8.12=/usr/src/debug/python38-3.8.12-1 -ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -DOPENSSL_NO_SSL3=1 -fdebug-prefix-map=/pub/de vel/python/python38/python38-3.8.12-1.x86_64/build=/usr/src/debug/python 38-3.8.12-1 -fdebug-prefix-map=/pub/devel/python/python38/python38-3.8.1 2-1.x86_64/src/Python-3.8.12=/usr/src/debug/python38-3.8.12-1 -g -O2 -I./sage/cpython -I/opt/sage- 3c8073266a16294562cd0273556664c883917216/lib/python3.8/site- packages/cysignals -I/cygdrive/d/a/sage/sage/pkgs/sagemath-standard -I/usr/include/python3.8 -I/opt/sage- 3c8073266a16294562cd0273556664c883917216/lib/python3.8/site- packages/numpy/core/include -Ibuild/cythonized -I/opt/sage- 3c8073266a16294562cd0273556664c883917216/include -I/usr/include/python3.8 -c build/cythonized/sage/crypto/sbox.c -o build/temp.cygwin-3.3.4-x86_64-3.8/build/cythonized/sage/crypto/sbox.o -fno-strict-aliasing -DCYTHON_CLINE_IN_TRACEBACK=1 -std=gnu99 gcc -shared -Wl,--enable-auto-image-base -L/opt/sage- 3c8073266a16294562cd0273556664c883917216/lib -Wl,-rpath,/opt/sage- 3c8073266a16294562cd0273556664c883917216/lib -g -O2 build/temp.cygwin-3. 3.4-x86_64-3.8/build/cythonized/sage/cpython/wrapperdescr.o -L/opt/sage- 3c8073266a16294562cd0273556664c883917216/lib/python3.8/config -L/usr/lib -lpython3.8 -o build/lib.cygwin-3.3.4-x86_64-3.8/sage/cpython/wrapperdes cr.cpython-38-x86_64-cygwin.dll In file included from /usr/include/python3.8/unicodeobject.h:58, from /usr/include/python3.8/Python.h:97, from build/cythonized/sage/crypto/sbox.c:45: build/cythonized/sage/crypto/sbox.c:1642:13: error: expected identifier or ‘(’ before numeric constant 1642 | PyObject *_S; | ^~ In file included from /usr/include/python3.8/pytime.h:6, from /usr/include/python3.8/Python.h:85, from build/cythonized/sage/crypto/sbox.c:45: build/cythonized/sage/crypto/sbox.c: In function ‘__pyx_pf_4sage_6crypto_4sbox_4SBox___init__’: build/cythonized/sage/crypto/sbox.c:4577:30: error: expected identifier before numeric constant 4577 | __Pyx_DECREF(__pyx_v_self->_S); | ^~ }}} https://github.com/mkoeppe/sage/runs/5054706036?check_suite_focus=true This is likely from a clash with an unfortunately named macro from a system header file (see https://eigen.tuxfamily.org/bz/show_bug.cgi?id=658) URL: https://trac.sagemath.org/33284 Reported by: asante Ticket author(s): Friedrich Wiemer Reviewer(s): Matthias Koeppe
- Loading branch information