[#5187] build kernel with lib aio fails for flat format
Submitted By: Vivi Li
Open Date
2009-06-01 06:54:54 Close Date
2009-08-19 21:09:51
Priority:
Medium Assignee:
Sonic Zhang
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:
FLAT
Summary: build kernel with lib aio fails for flat format
Details:
build kernel with lib aio fails for flat format, fdpic format is ok.
Bellow is the log:
--
bfin-uclinux-gcc -shared -pipe -Wall -g -O2 -mcpu=bf537-0.2 -nostdlib -nostartfiles -Wall -I. -fPIC -Wl,--version-script=libaio.map -Wl,-soname,libaio.so.1 -o libaio.so.1.0.1 io_queue_init.os io_queue_release.os io_queue_wait.os io_queue_run.os io_getevents.os io_submit.os io_cancel.os io_setup.os io_destroy.os raw_syscall.os compat-0_1.os -lgcc -lrt -Wl,-elf2flt -mcpu=bf537-0.2
/opt/uClinux/bfin-uclinux/lib/gcc/bfin-uclinux/4.1.2/../../../../bfin-uclinux/bin/ld.real: warning: cannot find entry symbol __start; defaulting to 00000000
io_queue_wait.os: In function `io_queue_wait_0_4':
/home/test/work/cruise/checkouts/uclinux-dist/lib/libaio/libaio-0.3.107/src/io_queue_wait.c:29: undefined reference to `_io_getevents'
io_queue_run.os: In function `io_queue_run':
/home/test/work/cruise/checkouts/uclinux-dist/lib/libaio/libaio-0.3.107/src/io_queue_run.c:31: undefined reference to `_io_getevents'
io_getevents.os: In function `__io_getevents_0_4':
/home/test/work/cruise/checkouts/uclinux-dist/lib/libaio/libaio-0.3.107/src/io_getevents.c:25: undefined reference to `_syscall'
/home/test/work/cruise/checkouts/uclinux-dist/lib/libaio/libaio-0.3.107/src/io_getevents.c:25: undefined reference to `___errno_location'
io_submit.os: In function `io_submit':
/home/test/work/cruise/checkouts/uclinux-dist/lib/libaio/libaio-0.3.107/src/io_submit.c:23: undefined reference to `_syscall'
/home/test/work/cruise/checkouts/uclinux-dist/lib/libaio/libaio-0.3.107/src/io_submit.c:23: undefined reference to `___errno_location'
io_cancel.os: In function `io_cancel_0_4':
/home/test/work/cruise/checkouts/uclinux-dist/lib/libaio/libaio-0.3.107/src/io_cancel.c:22: undefined reference to `_syscall'
/home/test/work/cruise/checkouts/uclinux-dist/lib/libaio/libaio-0.3.107/src/io_cancel.c:22: undefined reference to `___errno_location'
io_setup.os: In function `io_setup':
/home/test/work/cruise/checkouts/uclinux-dist/lib/libaio/libaio-0.3.107/src/io_setup.c:23: undefined reference to `_syscall'
/home/test/work/cruise/checkouts/uclinux-dist/lib/libaio/libaio-0.3.107/src/io_setup.c:23: undefined reference to `___errno_location'
io_destroy.os: In function `io_destroy':
/home/test/work/cruise/checkouts/uclinux-dist/lib/libaio/libaio-0.3.107/src/io_destroy.c:23: undefined reference to `_syscall'
/home/test/work/cruise/checkouts/uclinux-dist/lib/libaio/libaio-0.3.107/src/io_destroy.c:23: undefined reference to `___errno_location'
compat-0_1.os: In function `compat0_1_io_getevents':
/home/test/work/cruise/checkouts/uclinux-dist/lib/libaio/libaio-0.3.107/src/compat-0_1.c:59: undefined reference to `_io_getevents'
compat-0_1.os: In function `compat0_1_io_queue_wait':
/home/test/work/cruise/checkouts/uclinux-dist/lib/libaio/libaio-0.3.107/src/compat-0_1.c:46: undefined reference to `_io_getevents'
compat-0_1.os: In function `compat0_1_io_cancel':
/home/test/work/cruise/checkouts/uclinux-dist/lib/libaio/libaio-0.3.107/src/compat-0_1.c:37: undefined reference to `_io_cancel'
collect2: ld returned 1 exit status
make[5]: *** [libaio.so.1.0.1] Error 1
make[5]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/lib/libaio/libaio-0.3.107/src'
--
Follow-ups
--- Sonic Zhang 2009-06-03 06:34:44
Fixed.
Don't build shared lib in flat format.
--- Vivi Li 2009-08-20 02:10:25
OK now. Close it.
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
config.user.aio application/octet-stream 45519 Vivi Li