[ python-Bugs-1634105 ] AIX: wrong flags for ld when linking standard .so modules

SourceForge.net noreply at sourceforge.net
Fri Jan 12 17:48:30 CET 2007


Bugs item #1634105, was opened at 2007-01-12 15:51
Message generated for change (Settings changed) made by jabt
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1634105&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Build
Group: None
>Status: Deleted
Resolution: None
Priority: 5
Private: No
Submitted By: Johannes Abt (jabt)
Assigned to: Nobody/Anonymous (nobody)
Summary: AIX: wrong flags for ld when linking standard .so modules

Initial Comment:
The build process on my AIX 5.1 (using the native compiler suite) does not work for the standard .so modules (like _locale, unicodedata, fcntl, ...)

[..]
creating build/lib.hp-ux-B.11.00-9000-785-2.5
ld -b -L/usr/local/python/lib -Wl,+b,/usr/local/python/2.5/lib:/usr/local/ssl/lib,[...]-o build/lib.hp-ux-B.11.00-9000-785-2.5/_struct.sl
ld: Unrecognized argument: -Wl,+b[...]
ld: Usage:  ld [options] [flags] files

You can pass "-Wl,+b...." to the compiler, but for the linker, you have to drop the "-Wl,".

What's even worse: Even though "ld" aborts with an error, the build process ignories this.

I have to idea of where to start looking for the bug(s).

Bye,
Johannes

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

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


More information about the Python-bugs-list mailing list