Message114018
Starting with r82746 in py3k, I'm getting duplicate LDFLAGS in sysconfig:
make distclean
export BASECFLAGS="-ftest-coverage -fprofile-arcs"
export LDFLAGS="-fprofile-arcs"
./configure
make
$ ./python
Python 3.2a0 (py3k:82746M, Aug 16 2010, 00:25:49)
[GCC 4.1.3 20080623 (prerelease) (Ubuntu 4.1.2-23ubuntu3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sysconfig
>>> sysconfig.get_config_var('LDFLAGS')
'-fprofile-arcs -fprofile-arcs'
test_sysconfig currently fails, so perhaps one of the duplicate flags
is mistakenly appended to LDFLAGS instead of LDSHARED:
$ ./python Lib/test/regrtest.py -uall test_sysconfig
[1/1] test_sysconfig
test test_sysconfig failed -- Traceback (most recent call last):
File "/home/stefan/svn/py3k/Lib/test/test_sysconfig.py", line 285, in test_ldshared_value
self.assertIn(ldflags, ldshared)
AssertionError: '-fprofile-arcs -fprofile-arcs' not found in 'gcc -pthread -shared' |
|
Date |
User |
Action |
Args |
2010-08-15 22:49:11 | skrah | set | recipients:
+ skrah, lemburg, loewis, brett.cannon, ronaldoussoren, mark.dickinson, pitrou, jyasskin, tarek, Arfrever |
2010-08-15 22:49:11 | skrah | set | messageid: <1281912551.56.0.302819868684.issue9189@psf.upfronthosting.co.za> |
2010-08-15 22:49:09 | skrah | link | issue9189 messages |
2010-08-15 22:49:09 | skrah | create | |
|