Bug#222598: thread_info.h:49: global register variable follows a function definition
On Mon, Dec 01, 2003 at 10:21:20AM +0100, Helge Kreutzmann wrote:
>
> Package: linux-kernel-headers
> Version: 2.5.999-test7-bk-9
> Severity: normal
>
> During my work on the alpha boot loader aboot, I stumbled on the
> following problem:
> helge@sixtyfor:~/prog/debian/ABOOT/aboot-0.9b-trisplit/lib$ env LANG=C make
> gcc -Os -Wall -mno-fp-regs -fno-builtin -D__KERNEL__ -I../include -c -o isolib.o isolib.c
> In file included from /usr/include/linux/thread_info.h:21,
> from /usr/include/linux/spinlock.h:12,
> from /usr/include/linux/time.h:27,
> from /usr/include/linux/stat.h:57,
> from isolib.c:15:
> /usr/include/asm/thread_info.h:49: global register variable follows a function definition
> /usr/include/asm/thread_info.h:49: warning: call-clobbered register used for global register variable
> make: *** [isolib.o] Error 1
>
> This looks to me like an error in "thread_info.h". If you like, I can provide
> you with the files, but more easily install the aboot sources, go into the
> lib/ directory and run "make". (On alpha only currently)
None of the developer-access Alphas are up at the moment. What s the
function definition that it follows?
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
Reply to: