<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, May 13, 2022 at 3:06 PM Stephan Bergmann <<a href="mailto:sbergman@redhat.com">sbergman@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Just performance, I think.  Luboš should know the details.<br></blockquote><div><br></div><div>Ok. Then for my use case, it would not really be that much of an issue to compile with gcc instead.</div><div><br></div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

Maybe your solution for now is --disable-skia?<br></blockquote><div> </div><div>Perhaps, or at least a workaround for the moment. The basic idea was to see if I could revive the automated lcov reports, and to let them run again on a regular basis. I have no idea if there is enough interest for something like that, but if not I at least may have had some pleasure in (attempting to) making it work again.<br><br>And I certainly am no expert on the matter, but it appears to me that when clang is not installed, skia is built with gcc anyway (at least on Linux). Without clang installed, I ended up with 'ENABLE_SKIA='TRUE'' in config.log, and a './instdir/program/libskialo.so'. This may not be what was intended, but it works for me. :) . I tried deciphering <a href="http://configure.ac">configure.ac</a>, but couldn't really make sense of it. Judging by the comments, it looks like clang for skia is only enforced on Windows and Mac (comment : '#Skia is the default on Windows and Mac, so hard-require Clang.', around line 12177 in <a href="http://configure.ac">configure.ac</a>).<br><br>So to sum it up, with only gcc installed, the gcov build works if I modify :<br><br>external/expat/ExternalProject_expat.mk<br>external/liborcus/ExternalProject_liborcus.mk<br><br>and add :<br><br>CFLAGS += -fprofile-arcs -ftest-coverage<br>CXXFLAGS += -fprofile-arcs -ftest-coverage<br>LDFLAGS += -fprofile-arcs -lgcov<br><br>to the top of them. Of course, that does not seem to be a proper permanent solution to the issue: the question remains why these *FLAGS don't end up in these 2 files when you specify 'gb_GCOV=YES make'. Pointers to where I should start looking in the build system in an attempt to troubleshoot things are appreciated. I found the point where the flags are supposed to be set conditionally in lines 112-117 in 'solenv/gbuild/platform/com_GCC_defs.mk' , but don't really know how to proceed from there. Perhaps the variables "gb_CFLAGS_COMMON/gb_CXXFLAGS_COMMON/gb_LinkTarget_LDFLAGS" are not used in the right places, or overwritten with something else ?<br></div><div><br></div><div></div><div><br>- Maarten</div><div></div><div></div></div></div>