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
0000062 [uClibc] Architecture Specific minor always 01-26-05 09:39 08-28-05 01:34
Reporter jswensen View Status public  
Assigned To uClibc
Priority normal Resolution fixed  
Status closed   Product Version 0.9.27
Summary 0000062: Build of ucLibc fails during buildroot on PowerPC target
Description I attempted a buildroot build and the process fails while building uClibc. I wasn't quite sure whether this be classified as a buildroot or uclibc problem, so I put it here. See the output below. I think it is due to mixups with the __NR_semctl #define. ipc.h has definitions for all the IPCOP_* flags, but there are dependencies on some #define's as to whether they are visible. See the output of the build process in the Additional Information field.

Host system
--------------
gentoo with GCC 3.4.3 and binutils 2.15.92.0.2 running Kernel 2.6.10

Target Menuconfig
-------------------
The only change was from x86 as the target to powerpc
Additional Information Output of build process
---------------------------

make[4]: Entering directory `/src/buildroot/toolchain_build_powerpc/uClibc/libc/misc/sysvipc'
/src/buildroot/build_powerpc/staging_dir/bin/powerpc-linux-uclibc-gcc -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -Os -funit-at-a-time -fno-builtin -nostdinc -D_LIBC -I../../../include -I. -isystem /src/buildroot/build_powerpc/staging_dir/lib/gcc/powerpc-linux-uclibc/3.4.2/include -DNDEBUG -fpic -DL_semget sem.c -c -o semget.o
sem.c: In function `semget':
sem.c:73: warning: implicit declaration of function `__syscall_ipc'
sem.c:73: error: `IPCOP_semget' undeclared (first use in this function)
sem.c:73: error: (Each undeclared identifier is reported only once
sem.c:73: error: for each function it appears in.)
make[4]: *** [semget.o] Error 1
make[4]: Leaving directory `/src/buildroot/toolchain_build_powerpc/uClibc/libc/misc/sysvipc'
Attached Files

- Relationships

- Notes
(0000029)
jswensen
01-27-05 07:50

I was able to resolve this issue by deselecting the "All RPC" option during the uclibc build. Should this be enabled by default, where the comment says that most people are more safe answering NO? Also, it would be nice to have a toplevel makefile option to unpack everything up front, so I could go do the uclibc 'make menuconfig' prior to starting the build process.
 
(0000464)
vapier
08-28-05 01:34

this should all be fixed in 0.8.28/current svn
 

- Issue History
Date Modified Username Field Change
01-26-05 09:39 jswensen New Issue
01-26-05 09:40 jswensen Issue Monitored: jswensen
01-26-05 09:40 jswensen Issue End Monitor: jswensen
01-27-05 07:50 jswensen Note Added: 0000029
03-16-05 11:54 andersen Assigned To andersen => uClibc
08-28-05 01:34 vapier Note Added: 0000464
08-28-05 01:34 vapier Status assigned => closed
08-28-05 01:34 vapier Resolution open => fixed


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker