From: kbuild test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [jirislaby:devel 9550/9910] kernel/fork.c:2588:2: error: #error clone3 requires copy_thread_tls support in arch
Date: Sat, 18 Jan 2020 07:09:39 +0800 [thread overview]
Message-ID: <202001180736.FSJ1lCTk%lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2267 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git devel
head: b0fd23fce33a4ce5fbdf30e0601ab65350c06d2c
commit: ef1577d1c0cba9ef40764ee9e8fc2795aa217f88 [9550/9910] Merge remote-tracking branch 'm68k/for-next'
config: m68k-multi_defconfig (attached as .config)
compiler: m68k-linux-gcc (GCC) 7.5.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout ef1577d1c0cba9ef40764ee9e8fc2795aa217f88
# save the attached .config to linux build tree
GCC_VERSION=7.5.0 make.cross ARCH=m68k
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> kernel/fork.c:2588:2: error: #error clone3 requires copy_thread_tls support in arch
#error clone3 requires copy_thread_tls support in arch
^~~~~
vim +2588 kernel/fork.c
dd499f7a7e3427 Amanieu d'Antras 2020-01-02 2581
dd499f7a7e3427 Amanieu d'Antras 2020-01-02 2582 /*
dd499f7a7e3427 Amanieu d'Antras 2020-01-02 2583 * copy_thread implementations handle CLONE_SETTLS by reading the TLS value from
dd499f7a7e3427 Amanieu d'Antras 2020-01-02 2584 * the registers containing the syscall arguments for clone. This doesn't work
dd499f7a7e3427 Amanieu d'Antras 2020-01-02 2585 * with clone3 since the TLS value is passed in clone_args instead.
dd499f7a7e3427 Amanieu d'Antras 2020-01-02 2586 */
dd499f7a7e3427 Amanieu d'Antras 2020-01-02 2587 #ifndef CONFIG_HAVE_COPY_THREAD_TLS
dd499f7a7e3427 Amanieu d'Antras 2020-01-02 @2588 #error clone3 requires copy_thread_tls support in arch
dd499f7a7e3427 Amanieu d'Antras 2020-01-02 2589 #endif
dd499f7a7e3427 Amanieu d'Antras 2020-01-02 2590
:::::: The code at line 2588 was first introduced by commit
:::::: dd499f7a7e34270208350a849ef103c0b3ae477f clone3: ensure copy_thread_tls is implemented
:::::: TO: Amanieu d'Antras <amanieu@gmail.com>
:::::: CC: Christian Brauner <christian.brauner@ubuntu.com>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org Intel Corporation
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 16790 bytes --]
reply other threads:[~2020-01-17 23:09 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202001180736.FSJ1lCTk%lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.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.