[Patches] [Patch #103655] configure changes for Solaris
noreply@sourceforge.net
noreply@sourceforge.net
Mon, 19 Feb 2001 10:24:23 -0800
Patch #103655 has been updated.
Project: python
Category: Build
Status: Open
Submitted by: sgriggs
Assigned to : loewis
Summary: configure changes for Solaris
Follow-Ups:
Date: 2001-Feb-19 10:24
By: nascheme
Comment:
Okay, I've reverted the patch. Sorry Martin.
-------------------------------------------------------
Date: 2001-Feb-19 09:56
By: loewis
Comment:
Why was this patch approved? Why does the -shared option not work on
Solaris? -shared does the following things:
- invoke the linker with -G -dy -z text (the latter only if -mimpure-text
was not given)
- drop crt1.o from the list of objects being linked
- drop -lc from the list of libraries being linked
OTOH, -G is just passed through to the linker.
The things that -shared does are necessary: crt1.o defines _start, and
requires main, so it should not be present in a shared library. Likewise,
-z text should be used to detect position-dependent code at compile time.
Unless some explicit rationale can be given, I think this patch should be
reversed.
-------------------------------------------------------
Date: 2001-Feb-18 20:47
By: nascheme
Comment:
Checked in.
-------------------------------------------------------
-------------------------------------------------------
For more info, visit:
http://sourceforge.net/patch/?func=detailpatch&patch_id=103655&group_id=5470