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
0003394 [buildroot] Architecture Specific block always 05-22-08 02:04 10-13-08 17:00
Reporter rk_appan View Status public  
Assigned To buildroot
Priority normal Resolution open  
Status assigned   Product Version
Summary 0003394: compilation problem : __NR_socketcall, __NR_ipc undefined...
Description I am building uClibc(0.9.29), when i enable the strace for the target, i am getting the following errors. target is arm926t with EABI support.

please provide me inputs as how to get out of this problem..

syscall.c: In function 'get_scno':
syscall.c:1051: warning: passing argument 4 of 'ptrace' makes integer from pointer without a cast
syscall.c:1080: warning: passing argument 4 of 'ptrace' makes integer from pointer without a cast
syscall.c: In function 'syscall_fixup':
syscall.c:1350: warning: unused variable 'pid'
syscall.c: In function 'syscall_enter':
syscall.c:1928: warning: unused variable 'pid'
syscall.c: In function 'trace_syscall':
syscall.c:2408: error: '__NR_socketcall' undeclared (first use in this function)
syscall.c:2408: error: (Each undeclared identifier is reported only once
syscall.c:2408: error: for each function it appears in.)
syscall.c:2412: error: '__NR_ipc' undeclared (first use in this function)
make[2]: *** [syscall.o] Error 1
make[2]: Leaving directory `/home/kans/buildroot/build_arm/strace-4.5.15'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/kans/buildroot/build_arm/strace-4.5.15'
make: *** [/home/kans/buildroot/build_arm/strace-4.5.15/strace] Error 2
Additional Information
Attached Files  strace-armeabi_undefined_syscalls.patch [^] (487 bytes) 06-16-08 03:45

- Relationships

- Notes
(0008284)
tklas
06-16-08 03:47

I had the same problem. You can try my workaround patch attached above. Copy this file to buildroot/package/strace/ and rebuild.
 
(0013414)
tpetazzoni
10-13-08 03:04

I confirm that the problem still exists and that the patch fixes the issue.

Is it possible to integrate this patch in Buildroot SVN ?
 
(0013504)
hbr_in
10-13-08 17:00

Hi,

This happens because a gr8 person renamed a file from strace-undef-syscall.patch to strace-undef-syscall.patch.avr32. and hence this patch will only apply for avr32 platform. But this is also needed for other platform. The gr8 person didnt had time to think so.

This is just a one of the package u have come across. there are other packages that are suffering becuase of this mindless renames.

P.S: Sorry that i am letting out my anger. i used to download buildroot everyday to keep myself updated. But everytime i found some baseless changes/renames done to push everything to avr32. Because of this i had to scan all the files & make appropriate changes EVERY NOW and THEN.
Small request for people with commit right. Please dont change/rename file to suit ur platform. Please remember that other people from other platform also use buildroot.

Regards
Gururaja
 

- Issue History
Date Modified Username Field Change
05-22-08 02:04 rk_appan New Issue
05-22-08 02:04 rk_appan Status new => assigned
05-22-08 02:04 rk_appan Assigned To  => buildroot
06-16-08 03:45 tklas File Added: strace-armeabi_undefined_syscalls.patch
06-16-08 03:47 tklas Note Added: 0008284
10-13-08 03:04 tpetazzoni Note Added: 0013414
10-13-08 17:00 hbr_in Note Added: 0013504


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker