Bug 219516 - sys-apps/busybox-1.10 - include/libbb.h:300: warning: left shift count >= width of type
Bug#: 219516 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: embedded@gentoo.org Reported By: jer@gentoo.org
Component: Applications
URL: 
Summary: sys-apps/busybox-1.10 - include/libbb.h:300: warning: left shift count >= width of type
Keywords:  
Status Whiteboard: 
Opened: 2008-04-27 18:41 0000
Description:   Opened: 2008-04-27 18:41 0000
include/libbb.h:300: warning: left shift count >= width of type
include/libbb.h:301: warning: left shift count >= width of type

sys-apps/busybox-1.9 doesn't display this warning. sys-apps/busybox-1.10 shows
it for anything that includes include/libbb.h.

An HPPA's /usr/include/asm/signal.h says:
#define SIGALRM         14
#define SIGVTALRM       20
#define SIGXCPU         33
#define SIGXFSZ         34

as compared to an x86's:

#define SIGALRM         14
#define SIGVTALRM       26
#define SIGXCPU         24
#define SIGXFSZ         25

------- Comment #1 From SpanKY 2008-04-28 06:47:32 0000 -------
upstream has addressed this in trunk:
http://busybox.net/cgi-bin/viewcvs.cgi/trunk/busybox/include/libbb.h?rev=21580&r1=21539&r2=21580

------- Comment #2 From Jeroen Roovers 2008-06-04 05:34:34 0000 -------
Is it time yet to mark 1.10.1-r2 stable?

*busybox-1.10.1-r2 (30 Apr 2008)

  30 Apr 2008; <solar@gentoo.org> -busybox-1.10.1-r1.ebuild,
  +busybox-1.10.1-r2.ebuild:
  - update patches from busybox.net. Fixes hppa compile bug 219516

------- Comment #3 From solar 2008-06-04 11:54:34 0000 -------
Mark stable on hppa when you are happy with it.

------- Comment #4 From Jeroen Roovers 2008-06-04 17:30:45 0000 -------
Stable. Fixed.