aboutsummaryrefslogtreecommitdiff
path: root/Misc
diff options
context:
space:
mode:
authoradanhawth <36526095+adanhawth@users.noreply.github.com>2022-02-01 21:38:15 -0500
committerGitHub <noreply@github.com>2022-02-01 21:38:15 -0500
commitb1288964e31069bdf81abe560c82874f6f620928 (patch)
treeca3741cc4db488863f019f40d1e33708168c0d17 /Misc
parent0611eafc709cbe8a2a0bdde082d25df0c5034de7 (diff)
downloadcpython3-b1288964e31069bdf81abe560c82874f6f620928.tar.gz
bpo-46602: Do not append conftest.c (GH-31062)
The heredoc creation statements use >> to append conftest.c. This can cause tricky build issues if the file is not correctly removed prior to its name being reused (such name is reused several times for different contextual tests during the build). One such result from appending may cause #include <ac_nonexistent.h> to persist when testing to acquire PLATFORM_TRIPLET. This can then lead to downstream issues concerning SOABI.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Build/2022-02-02-02-06-07.bpo-46602.8GaOZ2.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Build/2022-02-02-02-06-07.bpo-46602.8GaOZ2.rst b/Misc/NEWS.d/next/Build/2022-02-02-02-06-07.bpo-46602.8GaOZ2.rst
new file mode 100644
index 0000000000..a1123b44ec
--- /dev/null
+++ b/Misc/NEWS.d/next/Build/2022-02-02-02-06-07.bpo-46602.8GaOZ2.rst
@@ -0,0 +1 @@
+Tidied up configure.ac so that conftest.c is truncated rather than appended. This assists in the case where the 'rm' of conftest.c fails to happen between tests. Downstream issues such as a clobbered SOABI can result. \ No newline at end of file