Issue 23032: 2.7 OS X installer builds fail building OpenSSL on OS X 10.4 / Xcode 2.5 (original) (raw)

As of 2.7.9, OS X installer builds now build and link with a private copy of OpenSSL when building for deployment targets of 10.5 or earlier (see Issue17128). Although we no longer produce installers for earlier than 10.5 and even then built them on 10.5 systems, the legacy installer dmg buildbot still produces 10.3+ builds on OS X 10.4 (presumably using the Xcode 2.5 tool chain) and now fails.

x86cpuid.s:327:Rest of line ignored. 1st junk character valued 44 (,). make[1]: *** [x86cpuid.o] Error 1 make: *** [build_crypto] Error 1

I have verified that it is still possible to build for 10.3+ using Xcode 3.1.6 on OS X 10.5 so there is that workaround if anyone needs to build installers for old systems.

It looks like a fix is to disable assembly code in OpenSSL ("no-asm") when building on 10.4.

http://buildbot.python.org/all/builders/bolen-dmg-2.7 https://trac.macports.org/ticket/42049