summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next/Build
Commit message (Collapse)AuthorAgeFilesLines
...
* bpo-34245: install Python shared library with more standard 0755 mode (GH-8492)jdemeyer2018-12-091-0/+2
|
* bpo-35351: Pass link time optimization flags to CFLAGS_NODIST (GH-10797)stratakis2018-12-041-0/+2
| | | | | | 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.
* bpo-33015: Fix UB in pthread PyThread_start_new_thread (GH-6008)Siddhesh Poyarekar2018-11-301-0/+3
| | | | | | | Fix an undefined behaviour in the pthread implementation of PyThread_start_new_thread(): add a function wrapper to always return NULL. Add pythread_callback struct and pythread_wrapper() to thread_pthread.h.
* closes bpo-35139: The `pyexpat` module's macros in `Modules/Setup` now match ↵Max Bélanger2018-11-021-0/+1
| | | | | `setup.py` (GH-10289) This could cause compile errors on macOS or other platforms.
* bpo-35059, PCbuild: Expand inline funcs in Debug (GH-10094)Victor Stinner2018-10-261-0/+4
| | | | | | | | | | Visual Studio solution: Set InlineFunctionExpansion to OnlyExplicitInline ("/Ob1" option) on all projects (in pyproject.props) in Debug mode on Win32 and x64 platforms to expand functions marked as inline. This change should make Python compiled in Debug mode a little bit faster on Windows. On Unix, GCC uses -Og optimization level for ./configure --with-pydebug.
* bpo-28015: Support LTO build with clang (GH-9908)serge-sans-paille2018-10-241-0/+1
| | | | | | | | | | .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
* bpo-34081: Fix wrong example link that was linking to distutils (GH-8248)Xtreak2018-10-211-0/+1
|
* bpo-34765: Update the install-sh file (GH-9592)stratakis2018-10-181-0/+2
| | | | | Update the outdated install-sh file to the latest revision from automake v1.16.1
* bpo-35011: Restore use of pyexpatns.h in libexpat (GH-9939)Gregory P. Smith2018-10-181-0/+4
| | | | | | | | Restores the use of pyexpatns.h to isolate our embedded copy of the expat C library so that its symbols do not conflict at link or dynamic loading time with an embedding application or other extension modules with their own version of libexpat. https://github.com/python/cpython/commit/5dc3f23b5fb0b510926012cb3732dae63cddea60#diff-3afaf7274c90ce1b7405f75ad825f545 inadvertently removed it when upgrading expat.
* closes bpo-34585: Don't do runtime test to get float byte order. (GH-9085)Ross Burton2018-09-191-0/+3
| | | | | | | Currently configure.ac uses AC_RUN_IFELSE to determine the byte order of doubles, but this silently fails under cross compilation and Python doesn't do floats properly. Instead, steal a macro from autoconf-archive which compiles code using magic doubles (which encode to ASCII) and grep for the representation in the binary. RFC because this doesn't yet handle the weird ancient ARMv4 OABI 'mixed-endian' encoding properly. This encoding is ancient and I don't believe the union of "Python 3.8 users" and "OABI users" has anything in. Should the support for this just be dropped too? Alternatively, someone will need to find an OABI toolchain to verify the encoding of the magic double.
* bpo-34582: Adds JUnit XML output for regression tests (GH-9210)Steve Dower2018-09-181-0/+1
|
* bpo-34710: fix SSL module build (GH-9347)Alexandru Ardelean2018-09-171-0/+1
| | | | | | Include ``openssl/dh.h`` header file to fix implicit function declaration of ``DH_free()``. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* closes bpo-34555: Fix incorrectly nested test for HAVE_LINUX_VM_SOCKETS_H ↵Thomas Herzog2018-09-011-0/+2
| | | | (GH-9016)
* bpo-32430: Rename Modules/Setup.dist to Modules/Setup (GH-8229)Antoine Pitrou2018-07-161-0/+2
| | | | | bpo-32430: Rename Modules/Setup.dist to Modules/Setup Remove the necessity to copy the former manually to the latter when updating the local source tree.
* bpo-34121: Fix detection of C11 atomic support on clang. (GH-8288)Benjamin Peterson2018-07-161-0/+1
|
* bpo-33648: Remove PY_WARN_ON_C_LOCALE (GH-7114)Eitan Adler2018-07-111-0/+2
| | | | This code does not appear to be used anywhere in the python code base. The use was removed in eb81795d7d3a8c898fa89.
* bpo-29442: Replace optparse with argparse in setup.py (GH-139)Chih-Hsuan Yen2018-07-111-0/+1
|
* bpo-30345: Add -g to LDFLAGS for LTO (GH-7709)Victor Stinner2018-06-191-0/+1
| | | Add -g to LDFLAGS when compiling with LTO to get debug symbols.
* bpo-5755: Move -Wstrict-prototypes to CFLAGS_NODIST (GH-7395)INADA Naoki2018-06-051-0/+3
|
* bpo-33614: Ensures module definition files for the stable ABI on Windows are ↵Steve Dower2018-05-281-0/+2
| | | | correctly regenerated. (GH-7165)
* bpo-33522: Enable CI builds on Visual Studio Team Services (#6865)Steve Dower2018-05-161-0/+2
|
* closes bpo-33512: use standard for detecting long double (GH-6847)Eitan Adler2018-05-161-0/+1
|
* bpo-33483: more correctly handle finding the C compiler (GH-6780)Eitan Adler2018-05-151-0/+2
| | | | | | | | | Instead of passing configure args such as --without-gcc or --with-icc, instead prefer to rely on the native way of finding the compiler: passing CC (or CPP or CXX depending). This allows configure to find the correct compiler instead of having to be explicitly told. It also more correctly builds on both macOS and FreeBSD since the system compiler is used by default (cc)
* Enable the verbose build for extension modules with GNU make (#6659)Matthias Klose2018-04-301-0/+2
|
* bpo-33393: Update config.guess and config.sub files (#6658)Matthias Klose2018-04-301-0/+1
|
* bpo-33377: add triplets for mips-r6 and riscv (#6655)Matthias Klose2018-04-301-0/+2
| | | | | | * issue33377: add triplets for mips-r6 and riscv * issue33377: add triplets for mips-r6 and riscv (NEWS entry)
* bpo-33012: Fix invalid function cast warnings with gcc 8 for METH_NOARGS. ↵Siddhesh Poyarekar2018-04-291-0/+5
| | | | | | | | | (GH-6030) METH_NOARGS functions need only a single argument but they are cast into a PyCFunction, which takes two arguments. This triggers an invalid function cast warning in gcc8 due to the argument mismatch. Fix this by adding a dummy unused argument.
* bpo-32232: by default, Setup modules are no longer built with ↵xdegaye2018-04-201-0/+3
| | | | | | | | | -DPy_BUILD_CORE (GH-6489) Setup modules are no longer built with -DPy_BUILD_CORE by default, as using that flag may now require including additional internal-only header files. Instead, only the modules that specifically need it use that setting.
* bpo-33182: Fix pointer types in _testembed (GH-6310)Nick Coghlan2018-03-301-0/+1
|
* bpo-33163: Upgrade pip to 9.0.3 and setuptools to v39.0.1. (GH-6282)Ned Deily2018-03-281-0/+1
|
* closes bpo-32898: Fix debug build crash with COUNT_ALLOCS (GH-5800)Eddie Elizondo2018-02-221-0/+1
|
* Update NEWS, docs, and patchlevel for 3.7.0b1Ned Deily2018-01-314-8/+0
|
* bpo-29708: Setting SOURCE_DATE_EPOCH forces hash-based .pyc files (GH-5200)Bernhard M. Wiedemann2018-01-241-0/+2
| | | To support reproducible builds, the setting of of SOURCE_DATE_EPOCH triggers the py_compile module -- and by extension, compileall -- to forcibly compile with hash-based .pyc files. This eliminates the possibility of timestamp-based .pyc files which vary between builds.
* bpo-32635: Fix a segfault when importing the crypt module with libxcrypt. ↵stratakis2018-01-231-0/+2
| | | | | | | (#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: Drop FreeBSD 9 and older support (#5232)Victor Stinner2018-01-221-0/+1
| | | Drop support of FreeBSD 9 and older.
* bpo-32598: Use autoconf to detect usable OpenSSL (#5242)Christian Heimes2018-01-201-0/+3
| | | | | | | | | | | | | | 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>
* Update NEWS and pydoc topics.Ned Deily2017-12-0512-16/+0
|
* bpo-28791: Update macOS installer to use SQLite 3.21.0. (#4245)Mariatta2017-12-051-0/+1
|
* bpo-32059: setup.py now also searches the sysroot paths (GH-4452)xdegaye2017-11-251-0/+2
| | | | | | detect_modules() in setup.py now also searches the sysroot paths when cross-compiling.
* bpo-28762: Revert last commit (now using Android Unified Headers) (GH-4488)xdegaye2017-11-231-0/+1
|
* bpo-29040: Support building Android with Unified Headers (GH-4492)xdegaye2017-11-231-0/+2
|
* bpo-28538: Revert all the changes (now using Android Unified Headers) (GH-4479)xdegaye2017-11-231-0/+2
|
* bpo-31934: Abort when building out of a not clean source tree (GH-4255)xdegaye2017-11-081-0/+1
|
* bpo-28791: Update Windows builds to use SQLite 3.21.0. (GH-4246)Mariatta2017-11-071-0/+1
|
* bpo-31957: Fixes version detection. (#4298)Steve Dower2017-11-061-0/+1
|
* bpo-31609: Fixes quotes in PCbuild/clean.bat (#4280)Steve Dower2017-11-041-0/+1
|
* bpo-31926: fix missing *_METHODDEF statements by argument clinic (#4230)Tal Einat2017-11-031-0/+2
| | | | | | | | | When a single .c file contains several functions and/or methods with the same name, a safety _METHODDEF #define statement is generated only for one of them. This fixes the bug by using the full name of the function to avoid duplicates rather than just the name.
* bpo-28643: Record profile-opt build progress with stamp files (#4223)Neil Schemenauer2017-11-021-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bpo-28643: Record profile-opt build progress with stamp files The profile-opt makefile target is expensive to build. Since the makefile does not contain complete dependency information for this target, much extra work can get done if the build is interrupted and re-started. Even running "make" a second time will result in a huge amount of redundant work. As a minimal fix (rather than removing recursive "make" and adding a proper dependency graph), split the profile-opt target into parts: - ensure tree is clean (profile-clean-stamp) - build with profile generation enabled (profile-gen-stamp) - run task to generate profile information (profile-run-stamp) - build optimized Python using above information (profile-opt) We use "stamp" files to record completion of the steps. Running "make clean" will not remove the profile-run-stamp file. Other minor changes: - remove the "build_all_use_profile" target. I don't expect callers of the makefile to use this target so that should be safe. - remove execution of "profile-removal" at end of "profile-opt". I don't see any reason to not to keep the profile information, given the cost to generate it. Removing the "profile-run-stamp" file will force re-generation of it.
* fixes bpo-31866: remove code pertaining to AtheOS support (#4115)Benjamin Peterson2017-10-261-0/+1
| | | | We stop support this OS in 2007 with commit 19fab761b71a1687aee3415db3a937b5ce31975d. Let's finish.
* Update NEWS and topics for 3.7.0a2Ned Deily2017-10-176-7/+0
|