Python-2.2.1, Solaris7, make test fails...
Martin v. Löwis
loewis at informatik.hu-berlin.de
Thu Apr 18 12:37:26 EDT 2002
Hugh Sasse Staff Elec Eng <hgs at dmu.ac.uk> writes:
> [*shared*, *static* intereaved]
>
> But to change the wording one needs to know which of the above
> properties are reversed, and how commenting out modules affects them in
> each case.
I'm not sure what your question is. The build process of Python works
that way:
1. Build all modules that are declared as static in Modules/Setup,
combine them into libpythonxy.a, combine that into python.
2. Build all modules that are listed as shared in Modules/Setup.
3. Invoke setup.py. That builds all modules that
a) are not builtin, and
b) are not listed in Modules/Setup
c) can be build on the target
So the property that is being reversed is 'build as static'.
> So the fastest fix is for me to doengrade binutils?
No. The fastest fix is to apply the patch below, and rerun configure.
Regards,
Martin
Index: configure
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure,v
retrieving revision 1.279.6.4
retrieving revision 1.279.6.5
diff -u -r1.279.6.4 -r1.279.6.5
--- configure 22 Mar 2002 11:22:24 -0000 1.279.6.4
+++ configure 18 Apr 2002 14:55:05 -0000 1.279.6.5
@@ -3277,7 +3277,7 @@
fi;;
SunOS/5*) case $CC in
*gcc*)
- if $CC -Xlinker -V 2>&1 | grep BFD >/dev/null
+ if $CC -Xlinker --help 2>&1 | grep export-dynamic >/dev/null
then
LINKFORSHARED="-Xlinker --export-dynamic"
fi;;
More information about the Python-list
mailing list