From: Palmer Dabbelt <palmer@rivosinc.com>
To: Shuah Khan <shuah@kernel.org>,
Paul Walmsley <paul.walmsley@sifive.com>,
Palmer Dabbelt <palmer@dabbelt.com>,
Albert Ou <aou@eecs.berkeley.edu>,
Andy Chiu <andy.chiu@sifive.com>,
linux-kselftest@vger.kernel.org, linux-riscv@lists.infradead.org,
linux-kernel@vger.kernel.org,
Alexandre Ghiti <alexghiti@rivosinc.com>
Subject: Re: [PATCH] selftests: riscv: Fix compilation error with vstate_exec_nolibc.c
Date: Thu, 03 Aug 2023 07:45:25 -0700 [thread overview]
Message-ID: <169107392503.27633.2191837906397435034.b4-ty@rivosinc.com> (raw)
In-Reply-To: <20230713115829.110421-1-alexghiti@rivosinc.com>
On Thu, 13 Jul 2023 13:58:29 +0200, Alexandre Ghiti wrote:
> The following error happens:
>
> In file included from vstate_exec_nolibc.c:2:
> /usr/include/riscv64-linux-gnu/sys/prctl.h:42:12: error: conflicting types for ‘prctl’; h
> ave ‘int(int, ...)’
> 42 | extern int prctl (int __option, ...) __THROW;
> | ^~~~~
> In file included from ./../../../../include/nolibc/nolibc.h:99,
> from <command-line>:
> ./../../../../include/nolibc/sys.h:892:5: note: previous definition of ‘prctl’ with type
> ‘int(int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)
> ’
> 892 | int prctl(int option, unsigned long arg2, unsigned long arg3,
> | ^~~~~
>
> [...]
Applied, thanks!
[1/1] selftests: riscv: Fix compilation error with vstate_exec_nolibc.c
https://git.kernel.org/palmer/c/25696067202f
Best regards,
--
Palmer Dabbelt <palmer@rivosinc.com>
WARNING: multiple messages have this Message-ID (diff)
From: Palmer Dabbelt <palmer@rivosinc.com>
To: Shuah Khan <shuah@kernel.org>,
Paul Walmsley <paul.walmsley@sifive.com>,
Palmer Dabbelt <palmer@dabbelt.com>,
Albert Ou <aou@eecs.berkeley.edu>,
Andy Chiu <andy.chiu@sifive.com>,
linux-kselftest@vger.kernel.org, linux-riscv@lists.infradead.org,
linux-kernel@vger.kernel.org,
Alexandre Ghiti <alexghiti@rivosinc.com>
Subject: Re: [PATCH] selftests: riscv: Fix compilation error with vstate_exec_nolibc.c
Date: Thu, 03 Aug 2023 07:45:25 -0700 [thread overview]
Message-ID: <169107392503.27633.2191837906397435034.b4-ty@rivosinc.com> (raw)
In-Reply-To: <20230713115829.110421-1-alexghiti@rivosinc.com>
On Thu, 13 Jul 2023 13:58:29 +0200, Alexandre Ghiti wrote:
> The following error happens:
>
> In file included from vstate_exec_nolibc.c:2:
> /usr/include/riscv64-linux-gnu/sys/prctl.h:42:12: error: conflicting types for ‘prctl’; h
> ave ‘int(int, ...)’
> 42 | extern int prctl (int __option, ...) __THROW;
> | ^~~~~
> In file included from ./../../../../include/nolibc/nolibc.h:99,
> from <command-line>:
> ./../../../../include/nolibc/sys.h:892:5: note: previous definition of ‘prctl’ with type
> ‘int(int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)
> ’
> 892 | int prctl(int option, unsigned long arg2, unsigned long arg3,
> | ^~~~~
>
> [...]
Applied, thanks!
[1/1] selftests: riscv: Fix compilation error with vstate_exec_nolibc.c
https://git.kernel.org/palmer/c/25696067202f
Best regards,
--
Palmer Dabbelt <palmer@rivosinc.com>
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
next prev parent reply other threads:[~2023-08-03 15:14 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-13 11:58 [PATCH] selftests: riscv: Fix compilation error with vstate_exec_nolibc.c Alexandre Ghiti
2023-07-13 11:58 ` Alexandre Ghiti
2023-08-03 14:45 ` Palmer Dabbelt [this message]
2023-08-03 14:45 ` Palmer Dabbelt
2023-08-03 15:10 ` patchwork-bot+linux-riscv
2023-08-03 15:10 ` patchwork-bot+linux-riscv
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=169107392503.27633.2191837906397435034.b4-ty@rivosinc.com \
--to=palmer@rivosinc.com \
--cc=alexghiti@rivosinc.com \
--cc=andy.chiu@sifive.com \
--cc=aou@eecs.berkeley.edu \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=palmer@dabbelt.com \
--cc=paul.walmsley@sifive.com \
--cc=shuah@kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.