[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Mldonkey-bugs] [bug #31063] Problems running on mips64 abi n32

From: Lluís Batlle
Subject: [Mldonkey-bugs] [bug #31063] Problems running on mips64 abi n32
Date: Sat, 18 Sep 2010 23:54:41 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); ca-ES; rv: Gecko/20100910 Firefox/3.6.3

Follow-up Comment #2, bug #31063 (project mldonkey):

I compared the files, and I narrowed down the trouble to lack of templated
BitPrecision() function.

The mldonkey code had them for 'unsigned long' data type (32-bits in mips64),
while words were 64bits long. Using a templated BitPrecision function made the
assertion check go fine.

With this patch I attach (gcc44mips64.patch), mldonkey starts fine. I
included also some refinements over the first patch I posted, thanks to a
review by Zhang Le in the loongson-dev mailing list.

(The first incomplete patch had the sufix _2; this may look confusing. The
complete patch sits in gcc44mips64.patch, not gcc44mips64_2.patch).

Just to note, this works with gcc 4.5.1 for abi n32. I haven't tried other

(file #21490)

Additional Item Attachment:

File name: gcc44mips64.patch              Size:2 KB


Reply to this item at:


  Missatge enviat a través de/per Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]