llvm.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: Christian Schrefl <chrisi.schrefl@gmail.com>
To: llvm@lists.linux.dev, linux-kernel@vger.kernel.org
Cc: kunit-dev@googlegroups.com, Andrew Morton <akpm@linux-foundation.org>
Subject: [Bug] Failing kunit test on ARCH=arm and LLVM=1
Date: Fri, 7 Jun 2024 14:37:19 +0200	[thread overview]
Message-ID: <0bfc6b38-8bc5-4971-b6fb-dc642a73fbfe@gmail.com> (raw)

Greetings,

when trying to port Rust to ARM I noticed that the DEFINE_FLEX_test
kunit test in lib/overflow_kunit.c:1188 fails when combining LLVM=1
and ARCH=arm.

I have reproduced this on v6.10-rc1 and next-20240606.

Here is the clang/llvm version I'm using:
clang version 18.1.6 (Fedora 18.1.6-3.fc40)
Target: x86_64-redhat-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
Configuration file: /etc/clang/x86_64-redhat-linux-gnu-clang.cfg

I have not looked closer at the failure so I'm unsure if this is a
problem with LLVM or if the test case is to speciffic.

Let me know if I should open a issue at
https://github.com/ClangBuiltLinux/linux/issues instead.

Cheers,
Christian

             reply	other threads:[~2024-06-07 12:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-07 12:37 Christian Schrefl [this message]
2024-06-07 14:33 ` [Bug] Failing kunit test on ARCH=arm and LLVM=1 Nathan Chancellor
2024-06-10 18:24   ` Kees Cook

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0bfc6b38-8bc5-4971-b6fb-dc642a73fbfe@gmail.com \
    --to=chrisi.schrefl@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=kunit-dev@googlegroups.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).