This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Fix for broken nice test on non-broken platforms with pedantic compilers
Type: compile error Stage: resolved
Components: Versions: Python 3.2, Python 3.3, Python 2.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: benjamin.peterson, miss-islington, ngie
Priority: normal Keywords: patch

Created on 2011-11-29 11:29 by ngie, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
configure-fix-broken-broken-nice-test.patch ngie, 2011-11-29 11:29
Pull Requests
URL Status Linked Edit
PR 12041 merged ngie, 2019-02-26 02:05
PR 12042 merged miss-islington, 2019-02-26 05:34
PR 12043 merged miss-islington, 2019-02-26 05:34
Messages (5)
msg148554 - (view) Author: Enji Cooper (ngie) * Date: 2011-11-29 11:29
Was poking around config.log and I saw that gcc was complaining of some undefined built-in symbols for the broken nice test in configure. This patch fixes that.
msg148555 - (view) Author: Enji Cooper (ngie) * Date: 2011-11-29 11:47
Other potential issues are provided below:

configure:9015: checking if PTHREAD_SCOPE_SYSTEM is supported
configure:9038: gcc -pthread -o conftest -I/usr/include/edit   conftest.c  >&5
conftest.c: In function 'main':
conftest.c:101: warning: incompatible implicit declaration of built-in function 'exit'
configure:9038: $? = 0

configure:9079: checking if --enable-ipv6 is specified
configure:9119: gcc -pthread -o conftest -I/usr/include/edit   conftest.c  >&5
conftest.c: In function 'main':
conftest.c:102: warning: incompatible implicit declaration of built-in function 'exit'
configure:9119: $? = 0

configure:12462: checking whether wchar_t is signed
configure:12482: gcc -pthread -o conftest -I/usr/include/edit   conftest.c  -lutil >&5
conftest.c: In function 'main':
conftest.c:272: warning: incompatible implicit declaration of built-in function 'exit'
configure:12482: $? = 0

configure:12800: checking whether right shift extends the sign bit
configure:12818: gcc -pthread -o conftest -I/usr/include/edit   conftest.c  -lutil >&5
conftest.c: In function 'main':
conftest.c:273: warning: incompatible implicit declaration of built-in function 'exit'
configure:12818: $? = 0
msg336607 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2019-02-26 05:34
New changeset 90c6facebd5666fec85f125ee2795b48b30319a4 by Benjamin Peterson (ngie-eign) in branch 'master':
closes bpo-13497: Fix `broken nice` configure test. (GH-12041)
https://github.com/python/cpython/commit/90c6facebd5666fec85f125ee2795b48b30319a4
msg336610 - (view) Author: miss-islington (miss-islington) Date: 2019-02-26 05:54
New changeset a0f656d310bdd08aaaa6f1e186bc7a4174e4068f by Miss Islington (bot) in branch '2.7':
closes bpo-13497: Fix `broken nice` configure test. (GH-12041)
https://github.com/python/cpython/commit/a0f656d310bdd08aaaa6f1e186bc7a4174e4068f
msg336611 - (view) Author: miss-islington (miss-islington) Date: 2019-02-26 05:59
New changeset 2055ebb940a737b1375435209c37eae535f062f9 by Miss Islington (bot) in branch '3.7':
closes bpo-13497: Fix `broken nice` configure test. (GH-12041)
https://github.com/python/cpython/commit/2055ebb940a737b1375435209c37eae535f062f9
History
Date User Action Args
2022-04-11 14:57:24adminsetgithub: 57706
2019-02-26 05:59:17miss-islingtonsetmessages: + msg336611
2019-02-26 05:54:36miss-islingtonsetnosy: + miss-islington
messages: + msg336610
2019-02-26 05:34:51miss-islingtonsetpull_requests: + pull_request12069
2019-02-26 05:34:42miss-islingtonsetpull_requests: + pull_request12068
2019-02-26 05:34:27benjamin.petersonsetstatus: open -> closed

nosy: + benjamin.peterson
messages: + msg336607

resolution: fixed
stage: patch review -> resolved
2019-02-26 02:05:49ngiesetpull_requests: + pull_request12067
2011-11-29 11:47:22ngiesetmessages: + msg148555
2011-11-29 11:42:50pitrousetstage: patch review
versions: + Python 2.7, Python 3.2, Python 3.3, - Python 3.4
2011-11-29 11:29:14ngiecreate