[issue17550] --enable-profiling does nothing (shell syntax bug in configure.ac)
Roundup Robot added the comment: New changeset 2ab2a09901f9 by Georg Brandl in branch '3.3': fix variable reference to fix --enable-profiling (closes #17550) http://hg.python.org/cpython/rev/2ab2a09901f9 -- stage: - committed/rejected ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17550 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17550] --enable-profiling does nothing (shell syntax bug in configure.ac)
New submission from Gergö Barany: Trying to configure Python (3.3 and 3.4 prerelease from Mercurial) with --enable-profiling doesn't work because the configure script contains a syntax error that causes it to conclude that the C compiler does not accept the -pg flag: $ ../cpython/configure --enable-profiling | grep prof configure: WARNING: By default, distutils will build C++ extension modules with g++. If this is not intended, then set CXX on the configure command line. ../cpython/configure: line 5537: CC: command not found checking for --enable-profiling... no Everything (configure/build/running Python) continues as if --enable-profiling had not been passed. This is due to using $(CC) rather than the correct syntax $CC at the specified place in the configure script. The attached patch to configure.ac fixes this. -- files: enable-profiling.patch keywords: patch messages: 185269 nosy: gergo priority: normal severity: normal status: open title: --enable-profiling does nothing (shell syntax bug in configure.ac) type: behavior versions: Python 3.3, Python 3.4 Added file: http://bugs.python.org/file29580/enable-profiling.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17550 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17550] --enable-profiling does nothing (shell syntax bug in configure.ac)
Roundup Robot added the comment: New changeset 27cb49ede303 by Benjamin Peterson in branch '2.7': fix variable reference to fix --enable-profiling (closes #17550) http://hg.python.org/cpython/rev/27cb49ede303 New changeset d321885ff8f3 by Benjamin Peterson in branch '2.7': merge 2.7.4 release branch (#17550) http://hg.python.org/cpython/rev/d321885ff8f3 New changeset 0decf2a812df by Benjamin Peterson in branch '3.3': fix variable reference to fix --enable-profiling (closes #17550) http://hg.python.org/cpython/rev/0decf2a812df New changeset 81e005a410b7 by Benjamin Peterson in branch 'default': merge 3.3 (#17550) http://hg.python.org/cpython/rev/81e005a410b7 -- nosy: +python-dev resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17550 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17550] --enable-profiling does nothing (shell syntax bug in configure.ac)
Benjamin Peterson added the comment: Georg, I fixed this in the 2.7.4 release branch. You might want to in 3.3, too. -- nosy: +benjamin.peterson, georg.brandl resolution: fixed - stage: committed/rejected - status: closed - open versions: +Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17550 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17550] --enable-profiling does nothing (shell syntax bug in configure.ac)
Changes by Benjamin Peterson benja...@python.org: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17550 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17550] --enable-profiling does nothing (shell syntax bug in configure.ac)
Georg Brandl added the comment: Done, thanks for the pointer! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17550 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com