Movatterモバイル変換


[0]ホーム

URL:


homepage

Issue34121

This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title:configure fails to detect C11 atomic support on clang
Type:Stage:resolved
Components:BuildVersions:Python 3.8, Python 3.7, Python 3.6
process
Status:closedResolution:fixed
Dependencies:Superseder:
Assigned To:Nosy List: benjamin.peterson, miss-islington
Priority:normalKeywords:patch

Created on2018-07-15 23:47 bybenjamin.peterson, last changed2022-04-11 14:59 byadmin. This issue is nowclosed.

Pull Requests
URLStatusLinkedEdit
PR 8288mergedbenjamin.peterson,2018-07-15 23:49
PR 8289mergedmiss-islington,2018-07-16 00:02
PR 8290mergedbenjamin.peterson,2018-07-16 00:04
Messages (4)
msg321697 -(view)Author: Benjamin Peterson (benjamin.peterson)*(Python committer)Date: 2018-07-15 23:47
clang supports C11 atomic APIs just fine but Python's configure fails to detect it:configure:16529: checking for stdatomic.hconfigure:16545: clang -pthread -o conftest    conftest.c -lpthread -ldl  -lutil >&5conftest.c:389:5: error: _Atomic cannot be applied to incomplete type 'void'     _Atomic void *py_atomic_address = (void*) &value;    ^1 error generated.Indeed, the atomic uninhabited type is not very useful. If we wanted an atomic pointer, we should write _Atomic(void *).
msg321698 -(view)Author: Benjamin Peterson (benjamin.peterson)*(Python committer)Date: 2018-07-16 00:01
New changeset15c7b2abdfb93f8902dd72474818aee2bf97fa66 by Benjamin Peterson in branch 'master':bpo-34121: Fix detection of C11 atomic support on clang. (GH-8288)https://github.com/python/cpython/commit/15c7b2abdfb93f8902dd72474818aee2bf97fa66
msg321704 -(view)Author: miss-islington (miss-islington)Date: 2018-07-16 00:44
New changeset3fc12f0e2ad9ba49243f5a43a8803018b2ff5904 by Miss Islington (bot) in branch '3.7':bpo-34121: Fix detection of C11 atomic support on clang. (GH-8288)https://github.com/python/cpython/commit/3fc12f0e2ad9ba49243f5a43a8803018b2ff5904
msg321705 -(view)Author: Benjamin Peterson (benjamin.peterson)*(Python committer)Date: 2018-07-16 00:48
New changeset8487ef61dea9fb0579f0be8f01d74fa20d3b8ed1 by Benjamin Peterson in branch '3.6':[3.6]bpo-34121: Fix detection of C11 atomic support on clang. (GH-8290)https://github.com/python/cpython/commit/8487ef61dea9fb0579f0be8f01d74fa20d3b8ed1
History
DateUserActionArgs
2022-04-11 14:59:03adminsetgithub: 78302
2018-07-16 00:48:48benjamin.petersonsetmessages: +msg321705
2018-07-16 00:44:14miss-islingtonsetnosy: +miss-islington
messages: +msg321704
2018-07-16 00:05:26benjamin.petersonsetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2018-07-16 00:04:15benjamin.petersonsetpull_requests: +pull_request7824
2018-07-16 00:02:13miss-islingtonsetpull_requests: +pull_request7823
2018-07-16 00:01:45benjamin.petersonsetmessages: +msg321698
2018-07-15 23:49:57benjamin.petersonsetkeywords: +patch
stage: patch review
pull_requests: +pull_request7822
2018-07-15 23:48:06benjamin.petersonsetcomponents: + Build, - Interpreter Core
2018-07-15 23:47:57benjamin.petersoncreate
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp