Generic Linux architectural discussions
 help / color / mirror / Atom feed
From: Thomas Huth <thuth@redhat.com>
To: Arnd Bergmann <arnd@arndb.de>, kernel test robot <lkp@intel.com>
Cc: oe-kbuild-all@lists.linux.dev,
	Linux-Arch <linux-arch@vger.kernel.org>, shuah <shuah@kernel.org>,
	linux-kselftest@vger.kernel.org,
	"Jason A . Donenfeld" <Jason@zx2c4.com>,
	"Thomas Weißschuh" <thomas.weissschuh@linutronix.de>
Subject: Re: [arnd-asm-generic:asm-generic 15/15] /usr/aarch64-linux-gnu/include/linux/types.h:12: Error: unknown mnemonic `typedef' -- `typedef __signed__ __int128 __s128 __attribute__((aligned(16)))'
Date: Mon, 2 Nov 2026 08:56:52 +0100	[thread overview]
Message-ID: <c93dab72-6877-4923-adf5-4382b2118eff@redhat.com> (raw)
In-Reply-To: <33492528-ecd8-444b-a42d-d084857a57cd@app.fastmail.com>

On 30/10/2026 22.16, Arnd Bergmann wrote:
> On Fri, Oct 30, 2026, at 19:23, Arnd Bergmann wrote:
> 
>> The idea sounds right, but it doesn't appear to do anything for me,
>> I still get the same output:
>>
>> arnd@studio:~/arm-soc/asm-generic$ make O=../build/tmp/ ARCH=arm64 -C
>> tools/testing/selftests/vDSO/ V=1
> ...
>>
>> It looks like tools/testing/selftests/ is built in the source directory,
>> while the 'make headers_install' installed the headers to the object
>> directory in '../build/tmp/usr/include/'.
>>
>> I have never been able to figure out how kselftest actually wants
>> to handle this.
> 
> 
> Nevermind, I figured out that your fix works when doing
> 'make -C tools/testing/selftests', since tools/testing/selftests/Makefile
> is what sets KHDR_INCLUDES. When I tried to use 'make -C tools/testing/selftests/vDSO'
> the assignment gets skipped, so I got the same error as before.
FWIW, I build single selftests from the top of my build directory like this:

  make kselftest-all TARGETS=vDSO

and to run them:

  make kselftest TARGETS=vDSO

  Thomas


      reply	other threads:[~2026-11-02  7:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-29 18:09 [arnd-asm-generic:asm-generic 15/15] /usr/aarch64-linux-gnu/include/linux/types.h:12: Error: unknown mnemonic `typedef' -- `typedef __signed__ __int128 __s128 __attribute__((aligned(16)))' kernel test robot
2026-10-29 22:13 ` Arnd Bergmann
2026-10-30  5:48   ` Thomas Huth
2026-10-30 17:46   ` Thomas Huth
2026-10-30 18:23     ` Arnd Bergmann
2026-10-30 21:16       ` Arnd Bergmann
2026-11-02  7:56         ` Thomas Huth [this message]

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=c93dab72-6877-4923-adf5-4382b2118eff@redhat.com \
    --to=thuth@redhat.com \
    --cc=Jason@zx2c4.com \
    --cc=arnd@arndb.de \
    --cc=linux-arch@vger.kernel.org \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=lkp@intel.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=shuah@kernel.org \
    --cc=thomas.weissschuh@linutronix.de \
    /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