can u disable ccache and try??

from logs shared, it doesnt make sense for g++ trying to generate
libwebcore.so
> prebuilt/linux-x86/ccache/ccache prebuilt/linux-x86/toolchain/
> mips-4.4.3/bin/mips-linux-gnu-g++
> -o out/target/product/generic/obj/
> SHARED_LIBRARIES/libwebcore_intermediates/LINKED/libwebcore.so

also, do "rm -rf out/target/product/generic/obj/SHARED_LIBRARIES/
libwebcore_intermediates" to clean up any malformed intermittent .a s


On Nov 8, 9:14 pm, 李晖 <lihui205...@gmail.com> wrote:
> hi all,
> I am porting android to loongson based on the mips android, and the
> android version is froyo_r8, which can be download 
> fromhttp://developer.mips.com/android/android-source-code/,
> my workstation is ubuntu 9.10 in the vmware, the memory is 512M, free
> space of hardware is 20G,
>
> after some configuration and modification, I typed in "make
> showcommands",
> when the compile system compile the webkit module, the following error
> printed:
>
> Install: out/target/product/generic/system/lib/libwbxml_jni.so
> out/host/linux-x86/bin/acp -fpt out/target/product/generic/obj/lib/
> libwbxml_jni.so out/target/product/generic/system/lib/libwbxml_jni.so
> target SharedLib: libwebcore (out/target/product/generic/obj/
> SHARED_LIBRARIES/libwebcore_intermediates/LINKED/libwebcore.so)
> prebuilt/linux-x86/ccache/ccache prebuilt/linux-x86/toolchain/
> mips-4.4.3/bin/mips-linux-gnu-g++ -nostdlib -Wl,-soname,libwebcore.so -
> Wl,-T,build/core/mipself.xsc -Wl,--gc-sections -Wl,-shared,-Bsymbolic -
> Lout/target/product/generic/obj/lib    out/target/product/generic/obj/
> SHARED_LIBRARIES/libwebcore_intermediates/WebKit/android/jni/
> WebCoreJniOnLoad.o          -Wl,--whole-archive   -Wl,--no-whole-
> archive  out/target/product/generic/obj/STATIC_LIBRARIES/
> libwebcore_intermediates/libwebcore.a out/target/product/generic/obj/
> STATIC_LIBRARIES/libxml2_intermediates/libxml2.a out/target/product/
> generic/obj/STATIC_LIBRARIES/libv8_intermediates/libv8.a -
> landroid_runtime -lnativehelper -lsqlite -lskia -lutils -lui -llog -
> lcutils -licuuc -licudata -licui18n -lmedia -lsurfaceflinger_client -
> ldl -lstlport -lc -lstdc++ -lm  -o out/target/product/generic/obj/
> SHARED_LIBRARIES/libwebcore_intermediates/LINKED/libwebcore.so -
> fvisibility=hidden  -Wl,--no-undefined  -EL  /home/andy/work/
> mips_android_r8/prebuilt/linux-x86/toolchain/mips-4.4.3/bin/../lib/gcc/
> mips-linux-gnu/4.4.3/el/soft-float/libgcc.a /home/andy/work/
> mips_android_r8/prebuilt/linux-x86/toolchain/mips-4.4.3/bin/../lib/gcc/
> mips-linux-gnu/4.4.3/el/soft-float/libgcc_eh.a
> /home/andy/work/mips_android_r8/prebuilt/linux-x86/toolchain/
> mips-4.4.3/bin/../lib/gcc/mips-linux-gnu/4.4.3/../../../../mips-linux-
> gnu/bin/ld: final link failed: Bad value
> collect2: ld returned 1 exit status
> make: *** [out/target/product/generic/obj/SHARED_LIBRARIES/
> libwebcore_intermediates/LINKED/libwebcore.so] Error 1
>
> did any one encounter this kind error, and how to solve it?

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to