[kbuild:thin-ar 6/6] arch/tile/kernel/signal.c:181: undefined reference to `__vdso_rt_sigreturn'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git thin-ar
head:   0bae3a17f25c189d5d6ddece12a1a9d1a9040cc2
commit: 0bae3a17f25c189d5d6ddece12a1a9d1a9040cc2 [6/6] kbuild: thin archives make default for all archs
config: tile-tilegx_defconfig (attached as .config)
compiler: tilegx-linux-gcc (GCC) 4.6.2
reproduce:
        wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 0bae3a17f25c189d5d6ddece12a1a9d1a9040cc2
        # save the attached .config to linux build tree
        make.cross ARCH=tile 

All errors (new ones prefixed by >>):

   arch/tile/kernel/signal.o: In function `setup_rt_frame':
>> arch/tile/kernel/signal.c:181: undefined reference to `__vdso_rt_sigreturn'
   arch/tile/kernel/signal.c:182: undefined reference to `__vdso_rt_sigreturn'
>> arch/tile/kernel/signal.c:181: undefined reference to `__vdso_rt_sigreturn'
   arch/tile/kernel/stack.o: In function `is_sigreturn':
>> arch/tile/kernel/stack.c:128: undefined reference to `__vdso_rt_sigreturn'
>> arch/tile/kernel/stack.c:128: undefined reference to `__vdso_rt_sigreturn'
   arch/tile/kernel/stack.o:arch/tile/kernel/stack.c:127: more undefined references to `__vdso_rt_sigreturn' follow

vim +181 arch/tile/kernel/signal.c

b3707c7e Richard Weinberger 2013-10-07  165  		err |= copy_siginfo_to_user(&frame->info, &ksig->info);
867e359b Chris Metcalf      2010-05-28  166  		regs->flags |= PT_FLAGS_RESTORE_REGS;
867e359b Chris Metcalf      2010-05-28  167  	} else {
b3707c7e Richard Weinberger 2013-10-07  168  		err |= __put_user(ksig->info.si_signo, &frame->info.si_signo);
867e359b Chris Metcalf      2010-05-28  169  	}
867e359b Chris Metcalf      2010-05-28  170  
867e359b Chris Metcalf      2010-05-28  171  	/* Create the ucontext.  */
867e359b Chris Metcalf      2010-05-28  172  	err |= __clear_user(&frame->save_area, sizeof(frame->save_area));
867e359b Chris Metcalf      2010-05-28  173  	err |= __put_user(0, &frame->uc.uc_flags);
0707ad30 Chris Metcalf      2010-06-25  174  	err |= __put_user(NULL, &frame->uc.uc_link);
47669ab0 Al Viro            2012-12-23  175  	err |= __save_altstack(&frame->uc.uc_stack, regs->sp);
867e359b Chris Metcalf      2010-05-28  176  	err |= setup_sigcontext(&frame->uc.uc_mcontext, regs);
867e359b Chris Metcalf      2010-05-28  177  	err |= __copy_to_user(&frame->uc.uc_sigmask, set, sizeof(*set));
867e359b Chris Metcalf      2010-05-28  178  	if (err)
b3707c7e Richard Weinberger 2013-10-07  179  		goto err;
867e359b Chris Metcalf      2010-05-28  180  
4a556f4f Chris Metcalf      2013-08-07 @181  	restorer = VDSO_SYM(&__vdso_rt_sigreturn);
b3707c7e Richard Weinberger 2013-10-07  182  	if (ksig->ka.sa.sa_flags & SA_RESTORER)
b3707c7e Richard Weinberger 2013-10-07  183  		restorer = (unsigned long) ksig->ka.sa.sa_restorer;
867e359b Chris Metcalf      2010-05-28  184  
867e359b Chris Metcalf      2010-05-28  185  	/*
867e359b Chris Metcalf      2010-05-28  186  	 * Set up registers for signal handler.
867e359b Chris Metcalf      2010-05-28  187  	 * Registers that we don't modify keep the value they had from
867e359b Chris Metcalf      2010-05-28  188  	 * user-space at the time we took the signal.
74fca9da Chris Metcalf      2010-09-15  189  	 * We always pass siginfo and mcontext, regardless of SA_SIGINFO,

:::::: The code at line 181 was first introduced by commit
:::::: 4a556f4f56da3110b27e265b79f0e7582115445c tile: implement gettimeofday() via vDSO

:::::: TO: Chris Metcalf <cmetcalf@xxxxxxxxxx>
:::::: CC: Chris Metcalf <cmetcalf@xxxxxxxxxx>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux