Drafting, Rendering & Estimating

2024-08-22 Thread michael--- via Gcc
Hello,



Do you need Building Estimates and Drawings?

We provide Residential and Commercial Estimates, Take-offs and Layout plans,
permit drawings/Architecture work.

Send plans for good budget and unmatched experience. Drop an email for any
samples, queries for your projects.



Thank you.

Michael L

Home Drafters



gcc 10.5: libsanitizer: fsanitize=leak option Issue

2024-04-29 Thread Estner, Michael via Gcc
Hello,

I upgrade the gcc in my setup from 10.2 to 10.5 to the latest commit.

After that I build an application with the -fsanitize=leak option.
The execution of the application stops immediatly after start with the
following error:
CHECK failed:
../../../../src/libsanitizer/lsan/lsan_interceptors.cpp:53
((!lsan_init_is_running)) != (0) (0, 0)

I did some research and found following Issue discussion on Github:
https://github.com/magma/magma/issues/15279

There is as well a solution describe to overwrite __lsan_init() call
with an own, empty, implementation. This is not feasible for me,
because I need to check the applicaitons with the fsanitizer=leak.

There is as well a bug ticket of the error at the ubuntu launch pad:
https://bugs.launchpad.net/ubuntu/+source/gcc-defaults/+bug/2038386

The solutions to upgrade to gcc 11 or downgrade to gcc 10.2 are not
feasible for me. I did as well research on the commits from gcc to find
a solution, but could not find a patch, that points directly to that
Issue. In the bug ticket from Ubuntu they say that the: "dlopen-
specific allocator was reimplemented".

Does anyone had experience with that Issue and knows a solution?

Thanks in advance

BR

Michael