FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Flaky detection of compiler vendor · Issue #83142 · python/cpython · GitHub

Repository navigation

Flaky detection of compiler vendor #83142

Closed as duplicate
Closed as duplicate

Description

mannequin
BPO 38961

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = None
created_at = <Date 2019-12-03.16:40:39.489>
labels = ['3.8', 'build', '3.7', '3.9']
title = 'Flaky detection of compiler vendor'
updated_at = <Date 2019-12-06.22:18:24.035>
user = 'https://bugs.python.org/jmaargh'

bugs.python.org fields:

activity = <Date 2019-12-06.22:18:24.035>
actor = 'terry.reedy'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Build']
creation = <Date 2019-12-03.16:40:39.489>
creator = 'jmaargh'
dependencies = []
files = []
hgrepos = []
issue_num = 38961
keywords = []
message_count = 1.0
messages = ['357755']
nosy_count = 1.0
nosy_names = ['jmaargh']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'compile error'
url = 'https://bugs.python.org/issue38961'
versions = ['Python 2.7', 'Python 3.7', 'Python 3.8', 'Python 3.9']

Activity

  1. jmaargh commented on Dec 3, 2019

    jmaarghmannequin
    MannequinAuthor

    The configure script for building what appears to be any version of python (I've manually checked 2.7, 3.6.6, and master) uses simple substring-in-path checks to determine the compiler vendor. This is problematic because it is very easy for it to produce very confusing false-positives.

    This appeared for me when compiling with a custom version of clang located at
    /home/riccardo/some/path, which caused this line

    cpython/configure

    Line 7546 in 8943318

    *icc*)

    to mistakenly assume an ICC configuration (because icc is a substring of riccardo). A quick check through the script reveals that compiler vendor detection in the script doesn't appear to be unified and are mostly similarly flaky.

    Other projects compile a small program that checks for defines, or parses the output of $CC --version or similar.

  2. transferred this issue fromon Apr 10, 2022
  3. encukou commented on Oct 15, 2026

    Member

    This was fixed in #117815.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.7 (EOL)end of life3.8 (EOL)end of life3.9 (EOL)end of lifebuildThe build process and cross-build

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL