1
1
* Make sure to AC_SUBST the backtrace CFLAGS so that the right flags
    are passed to the component (especially -m64)
  * Properly open / close the component.  This isn't strictly necessary
    to fix the bug, but was an oversight that should be fixed.

This commit was SVN r11806.

The following Trac tickets were found above:
  Ticket 405 --> https://svn.open-mpi.org/trac/ompi/ticket/405
Этот коммит содержится в:
Brian Barrett 2006-09-25 23:41:06 +00:00
родитель ad84cdf68b
Коммит 778bba2668
4 изменённых файлов: 11 добавлений и 2 удалений

Просмотреть файл

@ -62,8 +62,7 @@ opal_backtrace_base_open(void)
int
opal_backtrace_base_close(void)
{
/* Close all components that are still open (this should only
happen during laminfo). */
/* Close all components that are still open */
mca_base_components_close(0,
&opal_backtrace_base_components_opened,
NULL);

Просмотреть файл

@ -43,6 +43,7 @@ AC_DEFUN([MCA_backtrace_darwin_CONFIG],[
AC_CHECK_FUNCS([mach_vm_region mach_vm_read])])
backtrace_darwin_CFLAGS="`echo $CFLAGS | sed 's/-pedantic//g'`"
AC_SUBST([backtrace_darwin_CFLAGS])
AS_IF([test "$backtrace_darwin_happy" = "yes"],
[$1], [$2])

Просмотреть файл

@ -32,6 +32,7 @@
#include "opal/constants.h"
#include "opal/mca/memcpy/base/base.h"
#include "opal/mca/memory/base/base.h"
#include "opal/mca/backtrace/base/base.h"
#include "opal/mca/timer/base/base.h"
#include "opal/mca/paffinity/base/base.h"
@ -80,6 +81,8 @@ opal_finalize(void)
/* close high resolution timers */
opal_timer_base_close();
opal_backtrace_base_close();
/* close the memory manager components. Registered hooks can
still be fired any time between now and the call to
opal_mem_free_finalize(), and callbacks from the memory manager

Просмотреть файл

@ -31,6 +31,7 @@
#include "opal/mca/memcpy/base/base.h"
#include "opal/mca/paffinity/base/base.h"
#include "opal/mca/timer/base/base.h"
#include "opal/mca/backtrace/base/base.h"
#include "opal/constants.h"
#include "opal/util/error.h"
#include "opal/util/stacktrace.h"
@ -225,6 +226,11 @@ opal_init(void)
goto return_error;
}
if (OPAL_SUCCESS != (ret = opal_backtrace_base_open())) {
error = "opal_backtrace_base_open";
goto return_error;
}
if (OPAL_SUCCESS != (ret = opal_timer_base_open())) {
error = "opal_timer_base_open";
goto return_error;