classification
Title: test_sysconfig failure: build a 32-bit Python a 64-bit OS
Type: behavior Stage:
Components: Library (Lib) Versions: Python 3.2
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: eric.araujo, jyasskin, pitrou, rpetrov, tarek
Priority: normal Keywords:

Created on 2010-07-31 15:53 by pitrou, last changed 2011-06-20 20:26 by rpetrov.

Messages (3)
msg112162 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2010-07-31 15:53
When I use the following configuration (in order to build a 32-bit Python a 64-bit OS):
  ./configure --with-computed-gotos CFLAGS=-m32 LDFLAGS=-m32

I then get a failure in test_sysconfig:

======================================================================
FAIL: test_ldshared_value (test.test_sysconfig.TestSysConfig)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/antoine/py3k/m32/Lib/test/test_sysconfig.py", line 285, in test_ldshared_value
    self.assertIn(ldflags, ldshared)
AssertionError: '-m32 ' not found in 'gcc -pthread -shared'
msg138607 - (view) Author: √Čric Araujo (eric.araujo) * (Python committer) Date: 2011-06-18 21:43
I wonder if this is similar to #9437.
msg138758 - (view) Author: Roumen Petrov (rpetrov) * Date: 2011-06-20 20:26
The test case is bogus. Until is removed you could use CC='gcc -m32'.
History
Date User Action Args
2011-06-20 20:26:51rpetrovsetnosy: + rpetrov
messages: + msg138758
2011-06-19 22:28:47vstinnersettitle: test_sysconfig failure -> test_sysconfig failure: build a 32-bit Python a 64-bit OS
2011-06-18 21:43:28eric.araujosetmessages: + msg138607
2011-03-01 11:03:09eric.araujosetnosy: + eric.araujo
2010-07-31 15:53:10pitroucreate