[issue6863] Wrong linker command if CXX set to "ccache g++"

2021-02-03 Thread Steve Dower


Steve Dower  added the comment:

Distutils is now deprecated (see PEP 632) and all tagged issues are being 
closed. From now until removal, only release blocking issues will be considered 
for distutils.

If this issue does not relate to distutils, please remove the component and 
reopen it. If you believe it still requires a fix, most likely the issue should 
be re-reported at https://github.com/pypa/setuptools

--
nosy: +steve.dower
resolution:  -> out of date
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6863] Wrong linker command if CXX set to ccache g++

2011-03-16 Thread Ralf Schmitt

Changes by Ralf Schmitt sch...@gmail.com:


--
nosy: +schmir

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6863
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6863] Wrong linker command if CXX set to ccache g++

2010-02-09 Thread Brian Curtin

Changes by Brian Curtin cur...@acm.org:


--
priority:  - normal
type: crash - behavior

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6863
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6863] Wrong linker command if CXX set to ccache g++

2009-09-12 Thread Akira Kitada

Akira Kitada akit...@gmail.com added the comment:

Aren't CC and CXX variables just for compilers?


CC
Program for compiling C programs; default `cc'.
CXX
Program for compiling C++ programs; default `g++'.

http://www.gnu.org/software/make/manual/make.html#index-CXX-848

--
nosy: +akitada

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6863
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6863] Wrong linker command if CXX set to ccache g++

2009-09-12 Thread Pertti Kellomäki

Pertti Kellomäki pertti.kellom...@tut.fi added the comment:

The linker is usually called via a compiler, which arranges for compiler
specific libraries to be included in the linking. See e.g. section 10.2
in the GNU Make manual:

Linking a single object file

n is made automatically from n.o by running the linker (usually called
ld) via the C compiler. The precise command used is `$(CC) $(LDFLAGS)
n.o $(LOADLIBES) $(LDLIBS)'.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6863
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6863] Wrong linker command if CXX set to ccache g++

2009-09-08 Thread Pertti Kellomäki

New submission from Pertti Kellomäki pertti.kellom...@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 rep...@bugs.python.org
http://bugs.python.org/issue6863
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6863] Wrong linker command if CXX set to ccache g++

2009-09-08 Thread Pertti Kellomäki

Pertti Kellomäki pertti.kellom...@tut.fi added the comment:

This patch seems to solve the problem for me. I think it should also
work with the environment variable setting on OS X, but I haven't tested it.

--
keywords: +patch
Added file: http://bugs.python.org/file14862/linker_command.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6863
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com