[New-bugs-announce] [issue28584] ICC compiler check is too permissive

Carmelo Piccione report at bugs.python.org
Tue Nov 1 17:22:46 EDT 2016


New submission from Carmelo Piccione:

if the ${CC} variable has an encoded path which contains "icc" anywhere in the string, it will be interpreted by the configure script as an icc compiler rather than gcc. This is due to matching on *icc* in various places.

Example: "/home/cpiccion/.linuxbrew/bin/gcc" will match because of the "cpiccion".

This is also true for the other patterns, including "gcc".

Proposed fix is to take the basename of the ${CC} variable first.

----------
components: Installation
files: icc-pattern-check-fix.patch
keywords: patch
messages: 279893
nosy: struktured
priority: normal
severity: normal
status: open
title: ICC compiler check is too permissive
type: compile error
versions: Python 3.5, Python 3.6, Python 3.7
Added file: http://bugs.python.org/file45307/icc-pattern-check-fix.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28584>
_______________________________________


More information about the New-bugs-announce mailing list