This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients eric.araujo, jyasskin, pitrou, tarek
Date 2010-08-21.17:42:00
SpamBayes Score 1.0099265e-07
Marked as misclassified No
Message-id <1282412523.03.0.424170725011.issue9437@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2010-08-21 17:42:03pitrousetrecipients: + pitrou, jyasskin, tarek, eric.araujo
2010-08-21 17:42:03pitrousetmessageid: <1282412523.03.0.424170725011.issue9437@psf.upfronthosting.co.za>
2010-08-21 17:42:00pitroulinkissue9437 messages
2010-08-21 17:42:00pitroucreate