[uClibc 0001386]: 0.9.28.2 fails to build on alpha

bugs at busybox.net bugs at busybox.net
Sat Sep 15 08:26:03 UTC 2007


The following issue has been CLOSED 
====================================================================== 
http://busybox.net/bugs/view.php?id=1386 
====================================================================== 
Reported By:                wigyori
Assigned To:                uClibc
====================================================================== 
Project:                    uClibc
Issue ID:                   1386
Category:                   Architecture Specific
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     closed
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             06-08-2007 05:33 PDT
Last Modified:              09-15-2007 01:26 PDT
====================================================================== 
Summary:                    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() ).


====================================================================== 

---------------------------------------------------------------------- 
 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. 

---------------------------------------------------------------------- 
 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       
======================================================================




More information about the uClibc-cvs mailing list