On Wed, October 26, 2011 9:32 pm, bhargavraj patel wrote:
> Thanks.
>
> I changed the c++ version to 4.5.1. However, it is still giving the same
> error.
>
> Looking for the support.
>  
> Regards,
> Bhargavraj
>
>
> ________________________________
> From: biswabandan panda <[email protected]>
> To: bhargavraj patel <[email protected]>; gem5 users mailing list
> <[email protected]>
> Sent: Wednesday, 19 October 2011 11:45 AM
> Subject: Re: [gem5-users] Issue with the building ARM_FS.
>
>
> use the latest version of g++ or atleast g++-4.2 afterwards
>
>
> On Wed, Oct 19, 2011 at 9:56 PM, bhargavraj patel
> <[email protected]> wrote:
>
>
>>Hello,I have recently installed all externaldependancy and gem-5.While I
>> tried to build using command : scons build/ARM_FS/gem5.opt
>> 
>>cons: Building targets ...
>>
>>[     CXX] ARM_FS/sim/main.cc -> .fo
>>[     CXX] ARM_FS/arch/arm/faults.cc -> .fo
>>[     CXX] ARM_FS/arch/arm/insts/macromem.cc -> .fo
>>[     CXX] ARM_FS/arch/arm/insts/mem.cc -> .fo
>>[     CXX] ARM_FS/arch/arm/insts/misc.cc -> .fo
>>[     CXX] ARM_FS/arch/arm/insts/pred_inst.cc -> .fo
>>[     CXX] ARM_FS/arch/arm/insts/static_inst.cc -> .fo
>>[     CXX] ARM_FS/arch/arm/insts/vfp.cc -> .fo
>>build/ARM_FS/arch/arm/insts/vfp.cc: In function `uint32_t
>> ArmISA::unsignedRSqrtEstimate(uint32_t)':
>>build/ARM_FS/arch/arm/insts/vfp.cc:849: warning: converting of negative
>> value `-0x000000001' to `uint32_t'
>>build/ARM_FS/arch/arm/insts/vfp.cc: In function `uint32_t
>> ArmISA::unsignedRecipEstimate(uint32_t)':
>>build/ARM_FS/arch/arm/insts/vfp.cc:924: warning: converting of negative
>> value `-0x000000001' to `uint32_t'
>>scons: *** [build/ARM_FS/arch/arm/insts/vfp.fo] Error 1
>>scons: building terminated because of errors.
>>
>>Is there any problem with the version because i am using g++ version
>> 3.4.6.
>>

You can change the code in vfp.cc to whatever suits your compiler. Try
typecasting -1 to unint32_t.

--
Nilay

_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to