All of lore.kernel.org
 help / color / mirror / Atom feed
* [jirislaby:devel 9550/9910] kernel/fork.c:2588:2: error: #error clone3 requires copy_thread_tls support in arch
@ 2020-01-17 23:09 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-01-17 23:09 UTC (permalink / raw)
  To: kbuild-all

[-- 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 --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-01-17 23:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-17 23:09 [jirislaby:devel 9550/9910] kernel/fork.c:2588:2: error: #error clone3 requires copy_thread_tls support in arch kbuild test robot

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.