Re: Memory profiling with 4.3a

[email protected]
Newsgroups gmane.lisp.scheme.bigloo
Organization Inria
Message-ID <[email protected]>
Hi Joseph,

I have totally forgotten this problem...
> The changes you made to bglmemrun script are helpful, but the underlying problem is that the compilers is being compiled be default with sharedlibraryclosed=yes resulting in both bmem.so and bmem_fth.so being linked against the unsafe bigloo runtime when they are built. See the makefile snippet below for bmem.so in bde/bmem/Makefile.
> 
> $(BOOTLIBDIR)/bmem/bmem.$(SHAREDSUFFIX): $(LIBOBJECT) $(BOOTLIBDIR)/bmem
>     $(MAKE) shared-lib \
>        OBJECTS="$(LIBOBJECT)" \
>            FORCELD=true \
>            LIBDEST=$(BOOTLIBDIR)/bmem/bmem.$(SHAREDSUFFIX) \
>           LIBPATH=$(BOOTLIBDIR) \
>            SONAME=bmem.$(SHAREDSUFFIX) \
>            CLOSELIBS="-lbigloo_u-$(RELEASE)"
You are just right in your understanding of the problem. I have now created
four versions of bmem.so that should solve the problem. I'm checking that
everything is fine and I upload a new tarball.

Thanks to you all for your help with fixing that problem.

-- 
Manuel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.