Message114525
It turns out, quite expectedly, that distutils doesn't reuse the various LDFLAGS recorded by sysconfig (why are there three of them?), but instead only uses LDSHARED:
>>> sysconfig.get_config_var('LDSHARED')
'gcc -pthread -shared'
>>> sysconfig.get_config_var('LDFLAGS')
'-m32 '
>>> sysconfig.get_config_var('PY_LDFLAGS')
'-m32'
>>> sysconfig.get_config_var('CONFIGURE_LDFLAGS')
'-m32'
I would suggest bumping this to critical or even release blocker, since building of extensions is broken when using non-default linker flags. |
|
Date |
User |
Action |
Args |
2010-08-21 17:42:03 | pitrou | set | recipients:
+ pitrou, jyasskin, tarek, eric.araujo |
2010-08-21 17:42:03 | pitrou | set | messageid: <1282412523.03.0.424170725011.issue9437@psf.upfronthosting.co.za> |
2010-08-21 17:42:00 | pitrou | link | issue9437 messages |
2010-08-21 17:42:00 | pitrou | create | |
|