Re: Profiling bigloo programs with gcc 5 or newer

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

> Hi all.
> 
> Profiling bigloo compiled programs shows no counters at all
> if using gcc-5, gcc-6 or gcc-7 from Ubuntu (and probably Debian).
> The reason is that these gcc versions are configured with:
> 
> --enable-default-pie
> 
> You can check your gcc version as follows:
> 
>  # gcc -v |& grep pie
> 
> The solution is easy: add -no-pie to --cflags when configuring bigloo.
> The following bug report gave me the correct hint:
> 
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=854704
Ah very interesting. Thanks for sharing that with us. I have been
struggling with this problem for a while, before switching to "perf",
which gives interesting, but somehow not easy to interpret, results.

By the way, I have opened a thread on the GC mailling list. I have observed
that from one execution to another, the GC behavior might be quite different.
I suspect that this is due to the memory randomization but I have not
studied that thoroughly enough to be really affirmative.

Best,

-- 
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.