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.

Author sable
Recipients pitrou, sable
Date 2011-02-15.14:13:06
SpamBayes Score 6.8204837e-09
Marked as misclassified No
Message-id <1297779186.94.0.8661390422.issue11212@psf.upfronthosting.co.za>
In-reply-to
Content
This link flag should only be applied to the python executable.
There is already LINKFORSHARED which is great for that.
LDFLAGS will apply it to all the shared libraries which is not really what we want.

I can compile Python with support for 512MB without any modification to configure like that:

CC=xlc_r OPT="-O2 -qmaxmem=100000" ./configure --without-computed-gotos --enable-shared
make LINKFORSHARED="-Wl,-bE:Modules/python.exp -lld -Wl,-bmaxdata:0x20000000"

It is just not very elegant and will make the builbdot script even more complex than it is currently.
Also it will make it more difficult for AIX users to find out about this limitation or build python with support for more memory (though I agree this represents very few people).

If you don't want it in configure though, I will add a note in AIX-NOTES about this limitation and how to build Python with support for more memory.
History
Date User Action Args
2011-02-15 14:13:07sablesetrecipients: + sable, pitrou
2011-02-15 14:13:06sablesetmessageid: <1297779186.94.0.8661390422.issue11212@psf.upfronthosting.co.za>
2011-02-15 14:13:06sablelinkissue11212 messages
2011-02-15 14:13:06sablecreate