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 <rep...@bugs.python.org>
<http://bugs.python.org/issue16721>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to