summaryrefslogtreecommitdiff
path: root/configure
Commit message (Collapse)AuthorAgeFilesLines
* bpo-34602: Avoid failures setting macOS stack resource limit (GH-13011)Miss Islington (bot)2019-04-291-6/+0
| | | | | | | | | | | | | | | Under some conditions the earlier fix for bpo-18075, "Infinite recursion tests triggering a segfault on Mac OS X", now causes failures on macOS when attempting to change stack limit with resource.setrlimit resource.RLIMIT_STACK, like regrtest does when running the test suite. The reverted change had specified a non-default stack size when linking the python executable on macOS. As of macOS 10.14.4, the previous code causes a hard failure when running tests, although similar failures had been seen under some conditions under some earlier systems. For now, revert the original change and resume using the default stack size when linking the interpreter. (cherry picked from commit 883dfc668f9730b00928730035b5dbd24b9da2a0) Co-authored-by: Ned Deily <nad@python.org>
* bpo-36605: make tags: parse Modules/_io directory (GH-12789) (GH-12814)Victor Stinner2019-04-131-14/+2
| | | | | | "make tags" and "make TAGS" now also parse Modules/_io/*.c and Modules/_io/*.h. (cherry picked from commit 21a74a9d77c5ac628808b9faace18b824ca056f7)
* Run autoreconf.Benjamin Peterson2019-02-251-1/+15
|
* bpo-28503: Use crypt_r() when available instead of crypt() (GH-11373) (GH-11376)Miss Islington (bot)2018-12-301-0/+144
| | | | | | | | Use crypt_r() when available instead of crypt() in the crypt module. As a nice side effect: This also avoids a memory sanitizer flake as clang msan doesn't know about crypt's internal libc allocated buffer. (cherry picked from commit 387512c7ecde6446f2e29408af2e16b9fc043807) Co-authored-by: Gregory P. Smith <greg@krypto.org> [Google]
* bpo-35257: Avoid leaking LTO linker flags into distutils (GH-10900) (GH-11264)Victor Stinner2018-12-201-1/+3
| | | | | | | | When compiling 3rd party C extensions, the linker flags used by the compiler for the interpreter and the stdlib modules, will get leaked into distutils. In order to avoid that, the PY_CORE_LDFLAGS and PY_LDFLAGS_NODIST are introduced to keep those flags separated. (cherry picked from commit cf10a750f4b50b6775719cfb17bee00bc3a9c60b)
* bpo-35351: Pass link time optimization flags to CFLAGS_NODIST (GH-10797)Miss Islington (bot)2018-12-041-1/+1
| | | | | | | | | When using link time optimizations, the -flto flag is passed to BASECFLAGS, which makes it propagate to distutils. Those flags should be reserved for the interpreter and the stdlib extension modules only, thus moving those flags to CFLAGS_NODIST. (cherry picked from commit f92c7aa1ae81efa475b5aecf66e4711ef0f52c4c) Co-authored-by: stratakis <cstratak@redhat.com>
* [3.7] bpo-35214: Initial clang MemorySanitizer support (GH-10479) (GH-10492)Gregory P. Smith2018-11-121-1/+44
| | | | | | | | | | | | | | Adds configure flags for msan and ubsan builds to make it easier to enable. These also encode the detail that address sanitizer and memory sanitizer should disable pymalloc. Define MEMORY_SANITIZER when appropriate at build time and adds workarounds to existing code to mark things as initialized where the sanitizer is otherwise unable to determine that. This lets our build succeed under the memory sanitizer. not all tests pass without sanitizer failures yet but we're in pretty good shape after this. (cherry picked from commit 1584a0081500d35dc93ff88e5836df35faf3e3e2) Co-authored-by: Gregory P. Smith <greg@krypto.org> [Google LLC]
* bpo-28015: Support LTO build with clang (GH-9908)Miss Islington (bot)2018-10-241-62/+184
| | | | | | | | | | | | | .o generated by clang in LTO mode actually are LLVM bitcode files, which leads to a few errors during configure/build step: - add lto flags to the BASECFLAGS instead of CFLAGS, as CFLAGS are used to build autoconf test case, and some are not compatible with clang LTO (they assume binary in the .o, not bitcode) - force llvm-ar instead of ar, as ar is not aware of .o files generated by clang -flto (cherry picked from commit 5ad36f9b21a3aa3b2265b1b43d73522cc3322df2) Co-authored-by: serge-sans-paille <serge.guelton@telecom-bretagne.eu>
* Don't run AC_STRUCT_TIMEZONE twice. (GH-9305)Miss Islington (bot)2018-09-141-71/+0
| | | | | (cherry picked from commit a4414ef20b971e6803309acebfa85b1621ac625e) Co-authored-by: Benjamin Peterson <benjamin@python.org>
* bpo-34652: Remove lchmod from the big func checking block. (GH-9247)Miss Islington (bot)2018-09-121-1/+7
| | | | | | A fix for 883702ebb8bbfa749ef0040d1b58d6222bf589ee. (cherry picked from commit ed709d5699716bf7237856dc20aba321e2dfff6d) Co-authored-by: Benjamin Peterson <benjamin@python.org>
* closes bpo-34652: Always disable lchmod on Linux. (GH-9234)Miss Islington (bot)2018-09-121-0/+11
| | | | | (cherry picked from commit 40caa05fa4d1810a1a6bfc34e0ec930c351089b7) Co-authored-by: Benjamin Peterson <benjamin@python.org>
* bpo-34448: Improve output of usable wchar_t check (GH-8846)Miss Islington (bot)2018-08-241-4/+6
| | | | | (cherry picked from commit 3738fadc670274ecc4649f51b52a93602820a375) Co-authored-by: Michael Osipov <1983-01-06@gmx.net>
* bpo-30411: Use --git-dir instead of -C to make git work under version below ↵Miss Islington (bot)2018-08-201-16/+4
| | | | | | | 1.8.5. (GH-8744) (cherry picked from commit 4c8555773a801f957297132a92c0acb382d640e4) Co-authored-by: Xiang Zhang <angwerzx@126.com>
* bpo-34121: Fix detection of C11 atomic support on clang. (GH-8288)Miss Islington (bot)2018-07-151-2/+13
| | | | | (cherry picked from commit 15c7b2abdfb93f8902dd72474818aee2bf97fa66) Co-authored-by: Benjamin Peterson <benjamin@python.org>
* bpo-33648: Remove PY_WARN_ON_C_LOCALE (GH-7114)Miss Islington (bot)2018-07-111-27/+0
| | | | | | | This code does not appear to be used anywhere in the python code base. The use was removed in eb81795d7d3a8c898fa89. (cherry picked from commit b91a3a0d61596cafb1b46c98fab65fee16a8bbbb) Co-authored-by: Eitan Adler <grimreaper@users.noreply.github.com>
* bpo-30345: Add -g to LDFLAGS for LTO (GH-7709) (GH-7824)Miss Islington (bot)2018-06-221-0/+8
| | | | | | Add -g to LDFLAGS when compiling with LTO to get debug symbols. (cherry picked from commit 06fe77a84bd29d51506ab2ff703ae585a6121af2) Co-authored-by: Victor Stinner <vstinner@redhat.com>
* bpo-32493: Correct test for uuid_enc_be availability in configure.ac. (GH-7511)Michael Felt2018-06-091-3/+1
|
* bpo-5755: Move -Wstrict-prototypes to CFLAGS_NODIST (GH-7395)Miss Islington (bot)2018-06-051-5/+41
| | | | | (cherry picked from commit e33648484775fa533fc8f1e5cc45f60061d29d54) Co-authored-by: INADA Naoki <methane@users.noreply.github.com>
* Regenerate configure after changing configure.ac in GH-6987. (GH-7344) (GH-7382)Miss Islington (bot)2018-06-041-2/+2
| | | | | (cherry picked from commit 88cc339ee377f3acd4c6936be8edb6be4fa48657) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-33012: Add -Wno-cast-function-type for gcc 8. (GH-6757)Serhiy Storchaka2018-05-251-0/+41
|
* bpo-32493: Fix uuid.uuid1() on FreeBSD. (GH-7099)Miss Islington (bot)2018-05-241-0/+34
| | | | | | Use uuid_enc_be() if available to encode UUID to bytes as big endian. (cherry picked from commit 17d8830312d82e7de42ab89739b0771f712645ff) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* 3.7.0b4v3.7.0b4Ned Deily2018-05-021-13/+1
|
* bpo-33377: add triplets for mips-r6 and riscv (GH-6655) (GH-6660)Miss Islington (bot)2018-05-011-1/+41
| | | | | (cherry picked from commit ddbe976964933cb943c6383a776e800cc7e0f47d) Co-authored-by: Matthias Klose <doko42@users.noreply.github.com>
* bpo-32726: macOS installer and framework enhancements and changes for 3.7.0 ↵Ned Deily2018-01-301-3/+12
| | | | | | | | | | | | | | (GH-5448) This issue covers various changes for the macOS installers provided via python.org for 3.7.0. - Provide a provisional new installer variant for macOS 10.9 and later systems with 64-bit (x86_64) architecture only. Apple has made it known that future versions of macOS will only fully support 64-bit executables and some other third-party software suppliers have chosen 10.9 as their oldest supported system. - Support **Tcl/Tk 8.6** with the 10.9 installer variant. - Upgrade **OpenSSL** to 1.1.0g and **SQLite** to 3.22.0. - The compiler name used for the interpreter build and for modules built with **Distutils / pip** is now _gcc_ rather than _gcc-4.2_. And extension module builds will no longer try to force use of an old SDK if present.
* bpo-31429: Define TLS cipher suite on build time (#3532)Christian Heimes2018-01-291-0/+48
| | | | | | | | | | | | | Until now Python used a hard coded white list of default TLS cipher suites. The old approach has multiple downsides. OpenSSL's default selection was completely overruled. Python did neither benefit from new cipher suites (ChaCha20, TLS 1.3 suites) nor blacklisted cipher suites. For example we used to re-enable 3DES. Python now defaults to OpenSSL DEFAULT cipher suite selection and black lists all unwanted ciphers. Downstream vendors can override the default cipher list with --with-ssl-default-suites. Signed-off-by: Christian Heimes <christian@python.org>
* bpo-20104: Expose `posix_spawn` in the os module (GH-5109)Pablo Galindo2018-01-281-1/+1
| | | | | Add os.posix_spawn to wrap the low level POSIX API of the same name. Contributed by Pablo Galindo.
* bpo-31368: Expose preadv and pwritev in the os module (#5239)Pablo Galindo2018-01-271-2/+2
|
* bpo-32635: Fix a segfault when importing the crypt module with libxcrypt. ↵stratakis2018-01-231-1/+1
| | | | | | | (#5284) glibc is deprecating libcrypt in favor of libxcrypt, however python assumes that crypt.h will always be included. This change makes the header inclusion explicit when libxcrypt is present on the system.
* bpo-32593: Run autoconf (#5282)Victor Stinner2018-01-231-4/+0
| | | | Update configure since configure.ac was modified to drop support for FreeBSD 4.
* bpo-32598: Use autoconf to detect usable OpenSSL (#5242)Christian Heimes2018-01-201-13/+267
| | | | | | | | | | | | | | Add https://www.gnu.org/software/autoconf-archive/ax_check_openssl.html to auto-detect compiler flags, linker flags and libraries to compile OpenSSL extensions. The M4 macro uses pkg-config and falls back to manual detection. Add autoconf magic to detect usable X509_VERIFY_PARAM_set1_host() and related functions. Refactor setup.py to use new config vars to compile _ssl and _hashlib modules. Signed-off-by: Christian Heimes <christian@python.org>
* bpo-32493: Not only AIX, but FreeBSD has uuid_create support (#5089)David Carlier2018-01-091-2/+3
| | | Allow building the _uuid extension module on FreeBSD and OpenBSD.
* bpo-29137: Remove fpectl module (#4789)Nathaniel J. Smith2018-01-051-25/+0
| | | | | This module has never been enabled by default, never worked correctly on x86-64, and caused ABI problems that caused C extension compatibility. See bpo-29137 for details/discussion.
* bpo-32399: Starting with AIX6.1 there is support in libc.a for uuid ↵Michael Felt2017-12-301-0/+46
| | | | | | | | | | | | (RFC4122) (#4974) Starting with AIX6.1 there is support in libc.a for uuid (RFC4122) This patch provides the changes needed for this integration with the OS. On AIX the base function is uuid_create() rather than uuid_generate_time() The AIX uuid_t typedef is more aligned to the UUID field based definition while the Linux typedef that is more aligned with UUID bytes (or perhaps UUID bytes_le) definitions.
* remove the dynload_next.c file (closes bpo-32386) (#4957)Benjamin Peterson2017-12-211-4/+15
|
* bpo-26439 Fix ctypes.util.find_library failure on AIX (#4507)Michael Felt2017-12-191-1/+11
| | | | | Implement find_library() support in ctypes/util for AIX. Add some AIX specific tests.
* Modify configure to link with the compiler driver under HP-UX when not using ↵Rob Boehne2017-12-061-1/+2
| | | | gcc. (#2519)
* bpo-28762: Revert last commit (now using Android Unified Headers) (GH-4488)xdegaye2017-11-231-30/+1
|
* bpo-29040: Support building Android with Unified Headers (GH-4492)xdegaye2017-11-231-1/+4
|
* bpo-28538: Revert all the changes (now using Android Unified Headers) (GH-4479)xdegaye2017-11-231-58/+2
|
* Move comments in configure.ac to more appropriate place. (#4371)Serhiy Storchaka2017-11-111-3/+4
|
* bpo-11063: Use more reliable way to check if uuid function exists (GH-4343)Berker Peksag2017-11-091-2/+1
|
* bpo-11063: Add a configure check for uuid_generate_time_safe (GH-4287)Berker Peksag2017-11-081-0/+31
|
* Remove outdated with_threads checks in configure.ac (GH-4294)Berker Peksag2017-11-061-7/+1
|
* bpo-31919: Fix building the curses module on OpenIndiana. (#4211)Serhiy Storchaka2017-11-011-0/+30
|
* bpo-25720: Fix the method for checking pad state of curses WINDOW (#4164)Masayuki Yamamoto2017-11-011-1/+38
| | | | | | | | | Modify the code to use ncurses is_pad() instead of checking WINDOW _flags field. If your platform does not provide the is_pad(), the existing way that checks the field will be enabled. Note: This change does not drop support for platforms where do not have both WINDOW _flags field and is_pad().
* bpo-31891: Fix building the curses module on NetBSD. (#4165)Serhiy Storchaka2017-10-311-0/+180
|
* drop unused configure check for pthread_atfork (#4046)Benjamin Peterson2017-10-181-11/+0
|
* Allow configure to handle PATH elements with spaces (#3935)Ned Deily2017-10-091-4/+4
|
* bpo-25658: Implement PEP 539 for Thread Specific Storage (TSS) API (GH-1362)Masayuki Yamamoto2017-10-061-0/+69
| | | | | | | | | See PEP 539 for details. Highlights of changes: - Add Thread Specific Storage (TSS) API - Document the Thread Local Storage (TLS) API as deprecated - Update code that used TLS API to use TSS API
* closes bpo-31596: Add an interface for pthread_getcpuclockid(3) (#3756)pdox2017-10-051-0/+11
|