[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 16:23:50 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); ca-ES; rv: Gecko/20100910 Firefox/3.6.3


                 Summary: Problems running on mips64 abi n32
                 Project: mldonkey, a multi-networks file-sharing client
            Submitted by: viric
            Submitted on: ds 18 set 2010 16:23:49 GMT
                Category: Core
                Severity: 3 - Normal
              Item Group: Compilation problem
                  Status: None
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.0.4
        Operating System: Linux
         Binaries Origin: CVS / Self compiled
                CPU type: None




I had problems building mldonkey for mips64, and I came up with a patch I
attach for review. The problem was in the file, related to
multiplication of double words.
Since gcc 4.4, the asm constraint 'h' is not there, and I was using gcc

Once I could build mldonkey, I tried to run it, and some division code in failed an assertion:

mlnet: src/utils/lib/ void CryptoPP::Divide(CryptoPP::word*,
CryptoPP::word*, CryptoPP::word*, const CryptoPP::word*, unsigned int, const
CryptoPP::word*, unsigned int): Assertion `shiftBits < WORD_BITS' failed.

The gdb session:
(gdb) f 3
#3  0x100983cc in CryptoPP::Divide (R=0x1022ba30, Q=0x1022bac0, T=0x1022bae8,
    NA=6, B=0x1022b910, NB=4) at src/utils/lib/
3745            assert(shiftBits < WORD_BITS);
(gdb) print shiftBits 
$1 = 64
(gdb) print WORD_BITS 
$2 = 64

Any idea of what can be wrong in that code? I can debug further if you need.


File Attachments:

Date: ds 18 set 2010 16:23:50 GMT  Name: gcc44mips64_2.patch  Size: 698B  
By: viric
Build problem fix.


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]