BusyBox Bug and Patch Tracking
BusyBox
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001386 [uClibc] Architecture Specific block always 06-08-07 05:33 09-15-07 01:26
Reporter wigyori View Status public  
Assigned To uClibc
Priority normal Resolution fixed  
Status closed   Product Version 0.9.28.1
Summary 0001386: 0.9.28.2 fails to build on alpha
Description I've tried to build an uclibc for alpha with binutils-2.17 and gcc-4.1.2, but it fails with the following errors at sem.c:

make[7]: Entering directory `/store/alpha/trunk/toolchain_build_alpha/uClibc-0.9.28.2/libc/misc/sysvipc'
alpha-linux-uclibc-gcc -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -Os -pipe -funit-at-a-time -fno-stack-protector -fno-builtin -nostdinc -D_LIBC -I../../../include -I. -Os -funit-at-a-time -isystem /store/alpha/trunk/staging_dir_alpha/lib/gcc/alpha-linux-uclibc/4.1.2/include -DNDEBUG -fPIC -DL_semget sem.c -c -o semget.o
In file included from ../../../include/bits/syscalls.h:11,
                 from ../../../include/sys/syscall.h:34,
                 from ../../../include/syscall.h:1,
                 from ipc.h:3,
                 from sem.c:22:
../../../include/asm/unistd.h:350:1: warning: "__NR_sys_epoll_create" redefined
In file included from ../../../include/sys/syscall.h:32,
                 from ../../../include/syscall.h:1,
                 from ipc.h:3,
                 from sem.c:22:
../../../include/bits/sysnum.h:983:1: warning: this is the location of the previous definition
In file included from ../../../include/bits/syscalls.h:11,
                 from ../../../include/sys/syscall.h:34,
                 from ../../../include/syscall.h:1,
                 from ipc.h:3,
                 from sem.c:22:
../../../include/asm/unistd.h:351:1: warning: "__NR_sys_epoll_ctl" redefined
In file included from ../../../include/sys/syscall.h:32,
                 from ../../../include/syscall.h:1,
                 from ipc.h:3,
                 from sem.c:22:
../../../include/bits/sysnum.h:986:1: warning: this is the location of the previous definition
In file included from ../../../include/bits/syscalls.h:11,
                 from ../../../include/sys/syscall.h:34,
                 from ../../../include/syscall.h:1,
                 from ipc.h:3,
                 from sem.c:22:
../../../include/asm/unistd.h:352:1: warning: "__NR_sys_epoll_wait" redefined
In file included from ../../../include/sys/syscall.h:32,
                 from ../../../include/syscall.h:1,
                 from ipc.h:3,
                 from sem.c:22:
../../../include/bits/sysnum.h:989:1: warning: this is the location of the previous definition
sem.c:66: error: expected declaration specifiers or '...' before 'semget'
sem.c:66: error: expected declaration specifiers or '...' before 'key'
sem.c:66: error: expected declaration specifiers or '...' before 'nsems'
sem.c:66: error: expected declaration specifiers or '...' before 'semflg'
sem.c:66: warning: data definition has no type or storage class
sem.c:66: warning: type defaults to 'int' in declaration of '_syscall3'
make[7]: *** [semget.o] Error 1


Similar error applies to compiling semctl.o (sem.c:41, _syscall4() ).

Additional Information
Attached Files

- Relationships

- Notes
(0002472)
wigyori
06-10-07 02:25

Excerpt from libc/sysdeps/linux/alpha/bits/syscall.h:

/* Do something very evil for now. Until we create our own syscall *
macros, short circuit bits/sysnum.h and use asm/unistd.h instead */
#include <asm/unistd.h>

So this probably won't work until these are written.
 
(0002473)
wigyori
06-10-07 03:02

Seems to be fixed in SVN, hangup for now.
 

- Issue History
Date Modified Username Field Change
06-08-07 05:33 wigyori New Issue
06-08-07 05:33 wigyori Status new => assigned
06-08-07 05:33 wigyori Assigned To  => uClibc
06-08-07 05:42 wigyori Issue Monitored: wigyori
06-10-07 02:25 wigyori Note Added: 0002472
06-10-07 03:02 wigyori Note Added: 0002473
09-15-07 01:26 vapier Status assigned => closed
09-15-07 01:26 vapier Resolution open => fixed


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker