Include the intercept_extra_state_t_class in the library. The logic I
added there on my last commit was wrong. This variable should be included only once, and here is the right way of doing: - if we have weak symbols we compile each file once, so the variable should [always] get included. - if we don't have weak symbols, then each file will get compiled multiple times (if profiling is enabled). In this case include the variable only when we build the generic layer (not the profile one). This commit was SVN r16950.
Этот коммит содержится в:
родитель
93f39fa190
Коммит
aee802ddfa
@ -92,7 +92,7 @@ typedef struct intercept_extra_state {
|
||||
|
||||
OBJ_CLASS_DECLARATION(intercept_extra_state_t);
|
||||
|
||||
#if !OMPI_PROFILE_LAYER
|
||||
#if !OMPI_PROFILE_LAYER || OMPI_HAVE_WEAK_SYMBOLS
|
||||
static void intercept_extra_state_constructor(intercept_extra_state_t *obj)
|
||||
{
|
||||
obj->read_fn_f77 = NULL;
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user