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 David.Edelsohn
Recipients BreamoreBoy, David.Edelsohn, pitrou, r.david.murray, sable
Date 2014-07-29.13:28:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1406640512.5.0.489022685952.issue11212@psf.upfronthosting.co.za>
In-reply-to
Content
Setting the environment variable LDR_CNTRL is discouraged.  It is much better to set the value in the executable header. Best to set it at link time, but one can use ldedit.

The issue with the segments in 32 bit mode is a trade off between heap memory and shmat attached shared memory. If one wanted to use Python with some forms of shared memory, one cannot allocate all of the segments to heap. Setting maxdata too large can cause unexpected failures if shared memory is used.

Increasing the default maxdata value seems like a good idea. The default GCC for AIX builds with a larger value. But it adds the command to LDFLAGS, which is applied everywhere, but not a significant problem and cc1* do not use shared memory.

One subtlety with LDFLAG is XLC wants the flag directly (-bmaxdata:0x40000000) but GCC needs to use -Wl,-bmaxdata.
History
Date User Action Args
2014-07-29 13:28:32David.Edelsohnsetrecipients: + David.Edelsohn, pitrou, sable, r.david.murray, BreamoreBoy
2014-07-29 13:28:32David.Edelsohnsetmessageid: <1406640512.5.0.489022685952.issue11212@psf.upfronthosting.co.za>
2014-07-29 13:28:32David.Edelsohnlinkissue11212 messages
2014-07-29 13:28:32David.Edelsohncreate