Kevin P. Neal
2024-04-22 17:06:41 UTC
I'm looking at failing test cases with clang+llvm and I'm developing
on FreeBSD. There are multiple failing test cases, but at the moment
I'm looking at: clang/test/Driver/experimental-library-flag.cpp
This case tests to see if clang properly attempts to link against
either libc++ or libstdc++ depending on the flags given to clang.
Except FreeBSD's implementation in clang/lib/Driver/ToolChains/FreeBSD.cpp
doesn't support libstdc++ at all and just links against libc++. The
result is a failing test.
Is this intentional? If it is we can mark the test as unsupported on
FreeBSD. If not intentional then we need to fix the clang driver.
I'd really, really like to be able to do a 'make check' on a build of
clang+llvm on FreeBSD and have all tests pass. This is part of that effort.
--
Kevin P. Neal http://www.pobox.com/~kpn/
"Not even the dumbest terrorist would choose an encryption program that
allowed the U.S. government to hold the key." -- (Fortune magazine
is smarter than the US government, Oct 29 2001, page 196.)
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
on FreeBSD. There are multiple failing test cases, but at the moment
I'm looking at: clang/test/Driver/experimental-library-flag.cpp
This case tests to see if clang properly attempts to link against
either libc++ or libstdc++ depending on the flags given to clang.
Except FreeBSD's implementation in clang/lib/Driver/ToolChains/FreeBSD.cpp
doesn't support libstdc++ at all and just links against libc++. The
result is a failing test.
Is this intentional? If it is we can mark the test as unsupported on
FreeBSD. If not intentional then we need to fix the clang driver.
I'd really, really like to be able to do a 'make check' on a build of
clang+llvm on FreeBSD and have all tests pass. This is part of that effort.
--
Kevin P. Neal http://www.pobox.com/~kpn/
"Not even the dumbest terrorist would choose an encryption program that
allowed the U.S. government to hold the key." -- (Fortune magazine
is smarter than the US government, Oct 29 2001, page 196.)
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de