On July 11, 2019 at 3:11 AM, Stephen Berman via blfs-support <[email protected]> wrote: On Thu, 11 Jul 2019 01:00:19 +0100 Ken Moffat via blfs-support <[email protected]> wrote: On Wed, Jul 10, 2019 at 02:52:27PM +0000, Hans Malissa via blfs-support wrote: Hi all,
I'm building LLVM with Clang and Compiler RT on 8.4-systemd following the instructions on http://linuxfromscratch.org/blfs/view/stable-systemd/general/llvm.html. The build itself seems to work, but ninja check-all gives me 349 Unexpected Failures (Expected Passes: 32064, Expected Failures: 105, Unsupported Tests: 11014). This is considerably more than the 7 failures mentioned in the book. How to proceed? Greetings, Hans No idea about the specific failures (I only run the tests on LLVM when I'm thinking about editing the version in the book, and I don't seem to have logged any results since 7.0.0), but: . for diagnosis, any examples of which non-Sanitizer tests fail, and any output perhaps explaining what result they got (or segmentation faults, or other errors) ? · for the system you are building: if this is a desktop where you will be building rustc then you probably should follow the development book and build llvm-8.0 which allows newer rust to be linked against the system llvm [ newer rust is needed for firefox-68 and will presumably be needed for thunderbird-68 when that arrives, librsvg probably doesn't care ]. Oh, and for LLVM-8.0.0 the number of sanitizer tests which fail is 375! If it was my system, I'd save the results and try 8.0.0. Perhaps the failures match and for some reason something else changed between whatever versions were being used when 7.0.1 was put into BLFS and the versions in the 8.4 release. Of course, if you are not going to build rust then 7.0.1 is probably good enough. When I built llvm-7.0.1 for BLFS 8.4 (on an Intel i7-8700), I got 343 unexpected failures, one each in LeakSanitizer-AddressSanitizer-x86_64 and LeakSanitizer-Standalone-x86_64, four in MemorySanitizer-X86_64, 68 in SanitizerCommon-tsan-x86_64-Linux, 226 in ThreadSanitizer-x86_64, and 43 in UBSan-ThreadSanitizer-x86_64. I was also surprised given that the books mentions only seven unexpected failures, and searched the web but found nothing to enlighten me, so I went ahead and installed it. Mesa (which LLVM is a recommended dependency of) built without problem and I haven't noticed any graphical issue (but I only have Intel onboard graphics and don't know if that supports the features requiring LLVM). (I didn't want to take the time and effort to build rustc but I needed librsvg, so I just downloaded and installed the rustc binary :-/) Thanks for the information. It seems that it might be safe to go ahead and install with my 349 unexpected failures. Greetings, Hans
-- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
