[#5182] build kernel with libsysfs fails for fdpic format

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

[#5182] build kernel with libsysfs fails for fdpic format

Submitted By: Vivi Li

Open Date

2009-05-31 23:48:41     Close Date

2009-08-19 21:23:00

Priority:

Medium     Assignee:

Yi Li

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

Make Errors     Board:

N/A

Processor:

ALL     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

gcc4.1-09r1_rc6

App binary format:

FDPIC     

Summary: build kernel with libsysfs fails for fdpic format

Details:

 

Using default config and enable USER_PCMCIAUTILS with fdpic format, build kernel failed when romfs install for libsysfs. Build will pass with flat format.

This bug should exist for both trunk and 09r1 branch.

 

Bellow is the log:

--

make[2]: Entering directory `/home/test/work/cruise/checkouts/uclinux-dist/lib/sysfsutils'

#romfs-inst.sh build/systool /bin/systool

romfs-inst.sh -e CONFIG_FMT_USE_FDPIC_ELF /home/test/work/cruise/checkouts/uclinux-dist/staging/lib/libsysfs.so.2 /lib/libsysfs.so.2

cp: cannot stat `/home/test/work/cruise/checkouts/uclinux-dist/staging/lib/libsysfs.so.2': No such file or directory

make[2]: *** [romfs] Error 1

make[2]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/lib/sysfsutils'

make[1]: *** [romfs] Error 2

make[1]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/lib'

make: *** [romfs.subdirs] Error 1

--

 

On my host PC:

--

test@uboot31-548ezkit:~/work/cruise/checkouts/uclinux-dist> ls staging/usr/lib/libsysfs.*

staging/usr/lib/libsysfs.a   staging/usr/lib/libsysfs.so    staging/usr/lib/libsysfs.so.2.0.1

staging/usr/lib/libsysfs.la  staging/usr/lib/libsysfs.so.2

test@uboot31-548ezkit:~/work/cruise/checkouts/uclinux-dist>

--

 

Follow-ups

 

--- Yi Li                                                    2009-06-03 05:10:41

fixed.

 

--- Vivi Li                                                  2009-08-20 02:23:33

OK now. Close it.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes