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.

classification
Title: Fix compile/link when using Darwin 8
Type: Stage:
Components: macOS Versions: Python 2.5
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: bob.ippolito Nosy List: bob.ippolito
Priority: normal Keywords: patch

Created on 2005-03-28 09:31 by bob.ippolito, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
darwin-configure-2.5-2.diff bob.ippolito, 2005-03-28 17:52 darwin-configure-2.5-2.diff
Messages (5)
msg48065 - (view) Author: Bob Ippolito (bob.ippolito) * (Python committer) Date: 2005-03-28 09:31
Darwin 8's headers are anal about POSIX compliance, and linking 
has changed (prebinding is now deprecated, and libcc_dynamic no 
longer exists).  This configure patch makes things right.
msg48066 - (view) Author: Bob Ippolito (bob.ippolito) * (Python committer) Date: 2005-03-28 10:12
Logged In: YES 
user_id=139309

got the OK from Anthony, going to apply and backport to 2.4-maint 
tomorrow after sufficient testing.
msg48067 - (view) Author: Bob Ippolito (bob.ippolito) * (Python committer) Date: 2005-03-28 17:52
Logged In: YES 
user_id=139309

This is an updated version of the patch.  When using gcc4, libcc_dynamic 
does not exist.  Previous versions of gcc require it.  So the linker flags are 
dependent on the gcc version.

This fixes compilation on Darwin >= 8 with gcc < 4.0 (gcc 4 is the default)
msg48068 - (view) Author: Bob Ippolito (bob.ippolito) * (Python committer) Date: 2005-03-28 19:24
Logged In: YES 
user_id=139309

Apparently I don't have write access to this part of CVS yet, so I can't 
commit this.  Here's the commit message I would've used:

patch [1171735] - Darwin 8's headers disable functionality when POSIX
is enabled.  This prevents the toolbox glue, all of Carbon, and various
other non-POSIX features from compiling.  The POSIX symbols are 
stillused by default, so turning off the #define doesn't hurt.

Additionally, linker flags have changed for Darwin 8, and are different
for Darwin 8/gcc4 (default) and Darwin 8/gcc3.3.  

Approved by Anthony 
msg48069 - (view) Author: Bob Ippolito (bob.ippolito) * (Python committer) Date: 2005-03-28 23:25
Logged In: YES 
user_id=139309

I did have write access, I was confused by the fact that my python24 tag 
was checked out anon.  Committed.
History
Date User Action Args
2022-04-11 14:56:10adminsetgithub: 41766
2005-03-28 09:31:04bob.ippolitocreate