As I mentioned before, mspgcc4 does not properly prevent generation of the routines that reference the hardware multiplier registers, even though it does correctly categorize the 2274 as an msp1 chip that does not have the hardware multiplier.
Unless something generates a reference to mulsi3hw, you should not see problems resulting from that. So the question is why you're referencing that routine. One possibility is if you use strtol, which apparently even in msp1 refers to the hw version of the multiplier function. I have no idea why. There is no workaround at the moment; it'll take me a couple hours to dig through all the dependencies to see what's going on, and I won't have a chance to do that until later this week. I'll try to get something out by this weekend. Peter On Mon, Sep 27, 2010 at 4:16 PM, Paolo Zebelloni <[email protected]> wrote: > I still can't compile my project under 4.4.4, but I have an idea: > AFAIK 2274 doesn't have a HW multiplier, but at link stage I get this error > (and others similar): > > /opt/msp430-gcc-4.4.4/lib/gcc/msp430/4.4.4/msp1/libgcc.a(_mulsi3hw.o): In > function `__umulsi3hw': > /home/clabs/Downloads/MSPGCC/mspgcc4-20100829/build/gcc-4.4.4- > build/../gcc-4.4.4/libgcc/../gcc/config/msp430/libgcc.S:229: undefined > reference to `__MPY' > > IMHO the problem is the reference to "__umulsi3hw", instead of a reference to > "__mulsi3": this drives me to think about a wrong CPU description. > Keep in mind that 3.2.3 compiles and links without any issue. > > Regards. > > -- > Paolo Zebelloni > E-Mail: [email protected] > Mobile: +39.347.8000945 > Skype: p.zebelloni > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > Mspgcc-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mspgcc-users > ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Mspgcc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mspgcc-users
