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

Bug#222598: thread_info.h:49: global register variable follows a function definition

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)

-- System Information
Debian Release: testing/unstable
Architecture: alpha
Kernel: Linux sixtyfor 2.4.21-pre1 #1 Don Okt 2 18:27:25 CEST 2003 alpha
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro
Helge Kreutzmann, Dipl.-Phys.               Helge.Kreutzmann@itp.uni-hannover.de
  gpg signed mail preferred    gpg-key: finger kreutzm@rigel.itp.uni-hannover.de
    64bit GNU powered                  http://www.itp.uni-hannover.de/~kreutzm
       Help keep free software "libre": http://www.freepatents.org/

Reply to: