[New-bugs-announce] [issue6863] Wrong linker command if CXX set to "ccache g++"

Pertti Kellomäki report at bugs.python.org
Tue Sep 8 15:05:39 CEST 2009


New submission from Pertti Kellomäki <pertti.kellomaki at tut.fi>:

If the compiler command in CXX contains more than one word, e.g. "ccache
g++", line 256 in distutils/unixccompiler.py only picks the first word
as the linker and discards the rest:

                    linker[i] = self.compiler_cxx[i]

On Ubuntu 9.04 the values of the variables are:

(Pdb) print linker
['gcc', '-pthread', '-shared', '-Wl,-O1', '-Wl,-Bsymbolic-functions']
(Pdb) print self.compiler_cxx
['ccache', 'g++']
(Pdb)

----------
assignee: tarek
components: Distutils
messages: 92414
nosy: perttikellomaki, tarek
severity: normal
status: open
title: Wrong linker command if CXX set to "ccache g++"
type: crash
versions: Python 2.6

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


More information about the New-bugs-announce mailing list