This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: AIX: wrong flags for ld when linking standard .so modules
Type: Stage:
Components: Build Versions:
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: jabt
Priority: normal Keywords:

Created on 2007-01-12 14:51 by jabt, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (1)
msg31006 - (view) Author: Johannes Abt (jabt) Date: 2007-01-12 14:51
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
History
Date User Action Args
2022-04-11 14:56:22adminsetgithub: 44454
2007-01-12 14:51:04jabtcreate