xpack-dev-tools / clang-xpack

A binary distribution of the LLVM clang compiler infrastructure
https://xpack-dev-tools.github.io/clang-xpack/
MIT License
10 stars 2 forks source link

Unable to compile with coverage information on Windows #9

Closed bhase closed 3 weeks ago

bhase commented 1 month ago

What I did so far:

I expected to get an executable, but I got this error message: ld.lld: error: could not open 'C:/Projects/ele20ll-2speed-adv/Tools/Compiler/xpack-clang-18.1.8-1/lib/clang/18/lib/windows/libclang_rt.profile-x86_64.a': No such file or directory

This is correct, the file does not exist. Is there something missing in the .zip package?

ilg-ul commented 1 month ago

I managed to reproduce the issue. I'll investigate.

ilg-ul commented 1 month ago

I reported the issue upstream:

ilg-ul commented 1 month ago

So the problem is not upstream, it must be something wrong with my scripts.

I'll investigate, but it might take some time.

bhase commented 1 month ago

Any news on this topic? Can I do anything to help?

ilg-ul commented 1 month ago

This week I'm not in the office, I plan to check it next week.

ilg-ul commented 3 weeks ago

I identified the reason why those libraries were missing from the windows archive.

I'll add a test case with -fprofile-instr-generate -fcoverage-mapping to the global tests, and, when everything is fine on all platforms, I'll make a 18.1.8-2 release.

bhase commented 3 weeks ago

Fine to hear that :-) Thank you very much

ilg-ul commented 3 weeks ago

Fixed in 18.1.8-2.