[Patches] [ python-Patches-959534 ] Arrange 64bits detection for
ReliantUnix
SourceForge.net
noreply at sourceforge.net
Thu Jun 3 14:13:32 EDT 2004
Patches item #959534, was opened at 2004-05-24 18:13
Message generated for change (Comment added) made by loewis
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=959534&group_id=5470
Category: Build
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Jean-frederic Clere (jfclere)
Assigned to: Nobody/Anonymous (nobody)
Summary: Arrange 64bits detection for ReliantUnix
Initial Comment:
When compiling python on ReliantUnix (5.43) the
compilation fails with unresolved externals like
fstatvfs64, lseek64 etc
Those routines belong to 5.45. The patch detects the
missing lseek64() and suppress lfs support (use_lfs=no).
----------------------------------------------------------------------
>Comment By: Martin v. Löwis (loewis)
Date: 2004-06-03 20:13
Message:
Logged In: YES
user_id=21627
Performing checks on all platforms is not a problem; the
time that configure needs is not critical.
If the test were run on all systems, would there be any
negative functional effects?
----------------------------------------------------------------------
Comment By: Jean-frederic Clere (jfclere)
Date: 2004-06-03 09:07
Message:
Logged In: YES
user_id=92497
Checking for Sinix is need because the SINIX unistd.h
redefines
lseek() into lseek64() when LFS is required (via
_FILE_OFFSET_BITS and/or _LFS64_LARGEFILE).
Checking for LFS via AC_TRY_LINK for most platforms means
more tests.
----------------------------------------------------------------------
Comment By: Martin v. Löwis (loewis)
Date: 2004-06-02 00:17
Message:
Logged In: YES
user_id=21627
Hmm. Why are you checking for Sinix at all? If the test
fails, isn't it likely that LFS doesn't work on the platform?
----------------------------------------------------------------------
Comment By: Jean-frederic Clere (jfclere)
Date: 2004-06-01 18:56
Message:
Logged In: YES
user_id=92497
Oops... That is better to check for SINIX-* before trying
the link.
I have more to submit because the dynamic linking needs
additional libc. For example in setup.py
+++
exts.append( Extension('_hotshot', ['_hotshot.c'],
libraries=['c']) )
+++
----------------------------------------------------------------------
Comment By: Martin v. Löwis (loewis)
Date: 2004-05-31 20:27
Message:
Logged In: YES
user_id=21627
Why do you check for SINIX after the link test fails?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=959534&group_id=5470
More information about the Patches
mailing list