On July 10, 2019 at 6:04 PM, 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.

Thanks a lot. Unfortunately I didn't log the tests, which would have been 
really helpful. I will build it again, and log both the build and the tests. I 
will also try llvm-8.0 and do the same.
I'm not sure if I understand the connection between LLVM and rustc; I have 
already built and installed rustc on my system (following 
http://linuxfromscratch.org/blfs/view/stable-systemd/general/rust.html); 
neither rustc nor LLVM list each other as a dependency.
Greetings,

Hans
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to