[Patches] [ python-Patches-973204 ] Fix for compilation with runtime_library_dirs

SourceForge.net noreply at sourceforge.net
Tue Jun 15 08:10:33 EDT 2004


Patches item #973204, was opened at 2004-06-15 15:10
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=973204&group_id=5470

Category: Distutils and setup.py
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Antti Honkela (ahonkela)
Assigned to: Nobody/Anonymous (nobody)
Summary: Fix for compilation with runtime_library_dirs

Initial Comment:
Compilation of extension modules using
runtime_library_dirs fails on HP Tru64 Unix and IRIX
because distutils tries to use linker option -R/path to
set the rpath.  The correct option on these platforms
is '-rpath /path'. The fix requires a change to
CCompiler.runtime_library_dir_option return value type
because of the need to add two separate arguments,
'-rpath' and '/path'.

According to man page of ld(1) on Tru64, the compiler
would expect a colon separated path as argument for
-rpath and only honors the last of multiple -rpath
arguments, so the module is still broken on Tru64 if
using multiple directories in runtime_library_dirs.
Fixing this would require even greater architectural
changes, so I will skip it, as I don't need it myself.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=973204&group_id=5470



More information about the Patches mailing list