[#5652] run strace fails for fork: Function not implemented
Submitted By: Mingquan Pan
2009-11-02 02:38:18 Close Date
Closed Fixed In Release:
Found In Release:
BF537 Silicon Revision:
Is this bug repeatable?:
Uboot version or rev.:
Toolchain version or rev.:
App binary format:
Summary: run strace fails for fork: Function not implemented
run strace fails for fork: Function not implemented now on most machines which use 4.1 toolchain.
kernel: Linux release 220.127.116.11-ADI-2010R1-pre-svn7738, build #24 Sun Nov 1 06:03:48 CST 2009^M
toolchain: bfin-uclinux-gcc release gcc version 4.1.2 (ADI svn)^M
user-dist: release svn-9074, build #801 Sun Nov 1 06:03:05 CST 2009^M
root:/> successful boot attempt
************** STEP 3: Start STRACE TEST^M
strace: fork: Function not implemented^M
Last passed time: 2009_Oct_27_10_53, ucdist ver: 9051, kernel ver: 7713
Case 1 ...FAIL
while on machine using 4.3 toolchain, it looks ok.
--- Mike Frysinger 2009-11-02 06:13:01
are you building with an older toolchain (one that has stubs) but then running
on a newer one ? the strace code now checks for fork() at configure time and
then will avoid using it if fork() is not found.
please post the config.log from the strace build dir
--- Mingquan Pan 2009-11-02 21:02:43
On the test machine, the 4.1 09r1-9 toolchain used to build strace also is used
to build the kernel that the strace is running on. They are the same toolchain.
I copy over the config.log from the build dir, see attached.
--- Mike Frysinger 2009-11-02 21:11:17
you cant build things with the 2009R1 toolchain and have things work under
trunk. the trunk toolchain doesnt provide fork() and such stubs like the 2009R1
--- Mingquan Pan 2009-11-04 02:19:28
After updating to trunk head toolchain, strace can run ok now. So close.
File Name File Type File Size Posted By
strace application/octet-stream 283880 Mingquan Pan
config.log text/x-log 315547 Mingquan Pan