[#5652] run strace fails for fork: Function not implemented

Document created by Aaronwu Employee on Sep 5, 2013
Version 1Show Document
  • View in full screen mode

[#5652] run strace fails for fork: Function not implemented

Submitted By: Mingquan Pan

Open Date

2009-11-02 02:38:18     Close Date

2009-11-04 02:19:28

Priority:

Medium     Assignee:

Nobody

Status:

Closed     Fixed In Release:

N/A

Found In Release:

2010R1     Release:

Category:

N/A     Board:

N/A

Processor:

BF537     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Rejected

Uboot version or rev.:

    Toolchain version or rev.:

09r1-rc9 4.1

App binary format:

N/A     

Summary: run strace fails for fork: Function not implemented

Details:

 

run strace fails for fork: Function not implemented now on most machines which use 4.1 toolchain.

 

kernel:    Linux release 2.6.31.5-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 date^M

strace: fork: Function not implemented^M

root:/>

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.

 

Follow-ups

 

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

toolchain did.

 

--- Mingquan Pan                                             2009-11-04 02:19:28

After updating to trunk head toolchain, strace can run ok now. So close.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

strace    application/octet-stream    283880    Mingquan Pan

config.log    text/x-log    315547    Mingquan Pan

Attachments

Outcomes