[4suite-dev] 4Suite fixes for AIX (fwd)
Jeremy Kloth
jeremy.kloth at gmail.com
Tue Nov 20 11:41:23 MST 2007
On Tuesday, November 20, 2007 11:10:45 am Mike Brown wrote:
> Next 4Suite-1.0.2 must be patched at: ./Ft/Lib/DistExt/BuildExt.py
>
> to include:
>
> elif (sys.platform.startswith('aix')):
> # From online manual pages, most UNIX support limiting exported
> # symbols with the same option.
> self.symbol_stripping = STRIP_NONE
Itself of no symbol stripping, try this instead (from AIX online docs):
self.symbol_stripping = STRIP_EXPORTS_FILE
self.strip_command = '-Wl,-bexports:%s'
4Suite pretty much requires limiting exported symbols, otherwise Domlette's
Expat functions get confused with other libraries use of Expat causing random
errors (on UNIX systems due to lazy dynamic symbol binding).
> otherwise you will get rubbish like -Wl,export_files=... which seems to
> be the Solaris specific options.
FWIW, the default export option for "posix" comes from the Open Group IEEE
Posix Standard, it is not Solaris.
--
Jeremy Kloth
jeremy.kloth at gmail.com
More information about the 4suite-dev
mailing list