>>>>> "李晖" == 李晖  <lihui205...@gmail.com> writes:

> hi all, I am porting android to loongson based on the mips android,
> and the android version is froyo_r8, which can be download from
> http://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:
[..]
> /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

Googeling for the "Bad value" error, it looks like there were multiple
mips binutils bugs in the past that caused that error.  The most recent
report seems to be this one (2007, includes a patch):

http://www.linux-mips.org/archives/linux-mips/2007-03/msg00197.html

previously (2004) there was this bug:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=268001

which version of binutils are you using?  Maybe it'd help to file a
bug-report upstream?

cheers,

David
-- 
GnuPG public key: http://dvdkhlng.users.sourceforge.net/dk.gpg
Fingerprint: B17A DC95 D293 657B 4205  D016 7DEF 5323 C174 7D40

Attachment: pgpp3lXg8KxPW.pgp
Description: PGP signature

Reply via email to