* [kbuild:thin-ar 6/6] arch/tile/kernel/signal.c:181: undefined reference to `__vdso_rt_sigreturn'
@ 2017-06-21 5:56 kbuild test robot
2017-06-21 6:44 ` Nicholas Piggin
0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2017-06-21 5:56 UTC (permalink / raw)
To: Nicholas Piggin; +Cc: kbuild-all, linux-kbuild, Masahiro Yamada
[-- Attachment #1: Type: text/plain, Size: 3793 bytes --]
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@tilera.com>
:::::: CC: Chris Metcalf <cmetcalf@tilera.com>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 16550 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [kbuild:thin-ar 6/6] arch/tile/kernel/signal.c:181: undefined reference to `__vdso_rt_sigreturn'
2017-06-21 5:56 [kbuild:thin-ar 6/6] arch/tile/kernel/signal.c:181: undefined reference to `__vdso_rt_sigreturn' kbuild test robot
@ 2017-06-21 6:44 ` Nicholas Piggin
0 siblings, 0 replies; 2+ messages in thread
From: Nicholas Piggin @ 2017-06-21 6:44 UTC (permalink / raw)
To: kbuild test robot; +Cc: kbuild-all, linux-kbuild, Masahiro Yamada
On Wed, 21 Jun 2017 13:56:55 +0800
kbuild test robot <fengguang.wu@intel.com> wrote:
> 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
This requires the same fix as for arch/sh
Now that I do a proper grep, it looks like ia64 may require the same as
well. I will do some more testing and submit those.
Thanks,
Nick
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-06-21 6:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-21 5:56 [kbuild:thin-ar 6/6] arch/tile/kernel/signal.c:181: undefined reference to `__vdso_rt_sigreturn' kbuild test robot
2017-06-21 6:44 ` Nicholas Piggin
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.