[issue15757] ./configure --with-pydebug on FreeBSD results in -O2 -pipe eventually ending up in CFLAGS.

Trent Nelson report at bugs.python.org
Tue Aug 21 23:29:41 CEST 2012


New submission from Trent Nelson:

All the FreeBSD build slaves seem to be experiencing the same symptom: ./configure --with-pydebug eventually results in this:

    gcc -pthread -c -fno-strict-aliasing -g -O0 -Wall -Wstrict-prototypes  -O2 -pipe -fno-strict-aliasing -Wall -march=native   -I. -I./Include    -DPy_BUILD_CORE -o Modules/python.o ./Modules/python.c

What I find odd:

  % grep -e '-O2' Makefile | wc -l
         0

There are references to -O2 elsewhere, like in configure.ac|configure, but, the Makefile doesn't source any of those.  (Right?)

This is occurring on all of my slaves as well as others, so I'm pretty sure it's not just specific to my environment.

----------
assignee: trent
messages: 168805
nosy: koobs, skrah, trent
priority: normal
severity: normal
status: open
title: ./configure --with-pydebug on FreeBSD results in -O2 -pipe eventually ending up in CFLAGS.
type: behavior
versions: Python 3.2, Python 3.3

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


More information about the Python-bugs-list mailing list