Re: [Pharo-project] newDelta >0 failed in sqUnixMemory
I have the same problem when compiling the vm on OpenSolaris 2008-11 using the SUN compilers. So please do some more testing with the 4.3.2. version, after all we cannot stick to old compilers, can we? Regards, Paul Provoost. On Fri, Jan 30, 2009 at 9:00 AM, Andreas Raab <andreas.raab@gmx.de> wrote:
Since you're compiling the VM yourself, you might want to add a guard that catches the condition and prints out the environmental values (oldLimit, delta, newSize, newDelta). I would suspect that this is a signed/unsigned issue with memory being allocated somewhere close to the 2GB barrier and then flipping from positive to negative. Since newSize and newDelta are declared int, this could easily happen.
Damien Cassou wrote:
I've just downgraded gcc to 3.4 (instead of 4.3.2) and it seems to work fine. Do you want me to do more testing with the 4.3.2 version?
-- Damien Cassou http://damiencassou.seasidehosting.st _____________________________________________________________ This email (including any attachments to it) is confidential, legally privileged, subject to copyright and is sent for the personal attention of the intended recipient only. If you have received this email in error, please advise us immediately and delete it. You are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. Although we have taken reasonable precautions to ensure no viruses are present in this email, we cannot accept responsibility for any loss or damage arising from the viruses in this email or attachments. We exclude any liability for the content of this email, or for the consequences of any actions taken on the basis of the information provided in this email or its attachments, unless that information is subsequently confirmed in writing. If this email contains an offer, that should be considered as an invitation to treat. _____________________________________________________________
Provoost, P (Paul) wrote:
I have the same problem when compiling the vm on OpenSolaris 2008-11 using the SUN compilers. So please do some more testing with the 4.3.2. version, after all we cannot stick to old compilers, can we?
Some VM maintainers can ;-) Windows is still officially compiled with GCC 2.95... Michael
Michael Rueger wrote:
Provoost, P (Paul) wrote:
I have the same problem when compiling the vm on OpenSolaris 2008-11 using the SUN compilers. So please do some more testing with the 4.3.2. version, after all we cannot stick to old compilers, can we?
Some VM maintainers can ;-) Windows is still officially compiled with GCC 2.95...
John McIntosh and I actually spent some time a few ago compiling VMs on Windows and MacOS with the newest GCCs and ran into a bunch of problems, especially concerning performance. I had to put the work on the back burner for now, but switching to newer compilers will take a bit of extra work at some point. Michael
Yes, I can't recall it was what 50% of the performance of a 3.x compile out of the box, and after *much* tweaking of compiler flags it was mmm just 20% slower.. Well certainly the performance impact was measured in 10 of percent. On 30-Jan-09, at 4:33 AM, Michael Rueger wrote:
John McIntosh and I actually spent some time a few ago compiling VMs on Windows and MacOS with the newest GCCs and ran into a bunch of problems, especially concerning performance. I had to put the work on the back burner for now, but switching to newer compilers will take a bit of extra work at some point.
Michael
-- = = = ======================================================================== John M. McIntosh <johnmci@smalltalkconsulting.com> Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com = = = ========================================================================
participants (3)
-
John M McIntosh -
Michael Rueger -
Provoost, P (Paul)