[#5177] app vlc build failed at libSDL.so
Submitted By: Vivi Li
Open Date
2009-05-31 06:05:51 Close Date
2009-08-19 22:05:47
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:
Not reproducible
Uboot version or rev.:
Toolchain version or rev.:
gcc4.1-09r1_rc6
App binary format:
FDPIC
Summary: app vlc build failed at libSDL.so
Details:
It fails to build vlc app for fdpic format, saying "File libSDL.so is in wrong format".
Bellow is the log and config files are attached.
--
bfin-linux-uclibc-ar cru libaout_sdl_plugin.a libaout_sdl_plugin_a-sdl.o
bfin-linux-uclibc-ranlib libaout_sdl_plugin.a
/bin/sh ../../libtool --mode=link bfin-linux-uclibc-gcc -Wsign-compare -Wall -pipe -Wall -g -O2 -mcpu=bf537-0.2 -pipe -mcpu=bf537-0.2 -o libaout_sdl_plugin.so libaout_sdl_plugin.a -shared -lpthread -fpic -fPIC -L/usr/lib -lSDL -lpthread -u _vlc_entry__0_8_6
bfin-linux-uclibc-gcc -Wsign-compare -Wall -pipe -Wall -g -O2 -mcpu=bf537-0.2 -pipe -mcpu=bf537-0.2 -o libaout_sdl_plugin.so -shared -fpic -fPIC -u _vlc_entry__0_8_6 libaout_sdl_plugin.a -L/usr/lib /usr/lib/libSDL.so -lpthread
/usr/lib/libSDL.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[12]: *** [libaout_sdl_plugin.so] Error 1
make[12]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/vlc/build/modules/audio_output'
make[11]: *** [all-modules] Error 1
--
Follow-ups
--- Yi Li 2009-06-03 04:18:15
Tried to build 2009R1 using 2009r1-7 toolchain (gcc-4.1) in FDPIC format. VLC
can be built successfully. Maybe you need to "make clean" in
uclinux-dist/ and try again.
--- Mike Frysinger 2009-06-03 04:29:22
it may also depend on the host system. often times what are only warnings on an
x86 host are actually a build failure on x86_64 or vice versa.
or the host has sdl-config and such installed and the target picks it up.
--- Yi Li 2009-06-03 04:42:22
I tested using x86_64 - so I need to test on x86_32.
--- Yi Li 2009-06-08 04:59:13
I just tried on a x86_32 host to build vlc, it looks no problem:
# uname -a
Linux uboot30-527ezkit 2.6.18.2-34-default #1 SMP Mon Nov 27 11:46:27 UTC 2006
i686 i686 i386 GNU/Linux
--- Vivi Li 2009-08-20 03:06:20
It can be built now.
So close this bug.
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
config.policy application/octet-stream 31296 Vivi Li
config.kernel application/octet-stream 32780 Vivi Li