[New-bugs-announce] [issue16721] configure incorrectly adds -OPT:Olimit=0 for clang

Vladimir Timofeev report at bugs.python.org
Tue Dec 18 23:08:17 CET 2012


New submission from Vladimir Timofeev:

Similar to http://bugs.python.org/issue1162001

But some differences, issue exposed only when first -OPT:Olimit=0 followed by correct -On option. clang simple do not check correctness of first occurences of -O:

$ clang -OPT:Olimit=0 test.c; echo $?
error: invalid integral value 'PT:Olimit=0' in '-OPT:Olimit=0'
error: invalid integral value 'PT:Olimit=0' in '-OPT:Olimit=0'
1

$ clang -OPT:Olimit=0 -O2 test.c; echo $?                                                                                                                                                                
0

This leads to normal compilation of python itself, but some dependant software built by gcc fails (see http://www.freebsd.org/cgi/query-pr.cgi?pr=174525 )

----------
components: Build
messages: 177722
nosy: Vladimir.Timofeev
priority: normal
severity: normal
status: open
title: configure incorrectly adds -OPT:Olimit=0 for clang
versions: Python 2.7

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


More information about the New-bugs-announce mailing list