From d6ee66889e3d8638670aada337bd7034b63e914a Mon Sep 17 00:00:00 2001 From: Steve Huston Date: Fri, 29 Apr 2011 14:09:31 +0000 Subject: ChangeLogTag:Fri Apr 29 14:01:29 UTC 2011 Steve Huston --- ChangeLog | 6 ++++++ tests/tests.mpc | 7 +++++++ 2 files changed, 13 insertions(+) diff --git a/ChangeLog b/ChangeLog index a5ff3559089..289620e8ec1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Fri Apr 29 14:01:29 UTC 2011 Steve Huston + + * tests/tests.mpc: For Message_Queue_Test add -bmaxdata:0x20000000 to + linker options to extend the available data space at run time. + Avoids the heap smashing the stacks. + Fri Apr 22 15:19:29 UTC 2011 Steve Huston * include/makeinclude/platform_aix_ibm.GNU: Add support for XL C++ 11. diff --git a/tests/tests.mpc b/tests/tests.mpc index 99ca3b552ae..1ac1decc15b 100644 --- a/tests/tests.mpc +++ b/tests/tests.mpc @@ -761,6 +761,13 @@ project(Message Queue Test) : acetest { Source_Files { Message_Queue_Test.cpp } + verbatim(gnuace,local) { + # Needs a larger heap on AIX to avoid overwriting stacks in the counting + # part of the test. + ifdef AIX_VERS + LDFLAGS += -bmaxdata:0x20000000 + endif + } } project(Message Queue Test Ex) : acetest { -- cgit v1.2.1