Indeed. That works without any warnings/errors: scons --no-lto -j10 build/X86/gem5.fast
Regards, On 10 October 2014 13:11, Andreas Hansson <andreas.hans...@arm.com> wrote: > Hi Ahmad, > > I suspect gcc 4.6 has issues with LTO. I suspect opt works fine, and if > you want fast, then “--no-lto” should work. > > I have a 12.04.03 machine with stock gcc 4.6 and it does have some > link-time warnings for X86, but no errors. Odd… > > Andreas > > From: Ahmad Hassan <ahmad.has...@gmail.com> > Date: Friday, 10 October 2014 10:51 > To: Andreas Hansson <andreas.hans...@arm.com> > Cc: gem5 users mailing list <gem5-users@gem5.org> > > Subject: Re: [gem5-users] Integrated DRAMPower model > > Hi Andreas, > > My environment is: > Ubuntu precise (12.04.3 LTS) > gcc 4.6 > > To be precise, it is a linking error, not the compilation one. > > Regards, > > > On 10 October 2014 10:42, Andreas Hansson <andreas.hans...@arm.com> > wrote: > >> Hi Ahmad, >> >> That is odd. Could you elaborate on what environment you are building >> in? >> >> I’ve tested this on Ubuntu 12.04, RHE5/6 and OSX with clang 3.4/3.5, >> gcc 4.6 and 4.9 without any problems. >> >> Andreas >> >> From: Ahmad Hassan <ahmad.has...@gmail.com> >> Date: Friday, 10 October 2014 09:51 >> To: Andreas Hansson <andreas.hans...@arm.com>, gem5 users mailing list < >> gem5-users@gem5.org> >> Subject: Re: [gem5-users] Integrated DRAMPower model >> >> Thanks Andreas. I see compilation error on the trunk tip (changeset: >> 10433:821cbe4a183b) >> >> `std::basic_string<char, std::char_traits<char>, std::allocator<char> > >> std::operator+<char, std::char_traits<char>, std::allocator<char> >(char >> const*, std::basic_string<char, std::char_traits<char>, >> std::allocator<char> > const&)' referenced in section >> `.text._Z10fromStringIiET_RKSsPFRSt8ios_baseS4_E[int >> fromString<int>(std::basic_string<char, std::char_traits<char>, >> std::allocator<char> > const&, std::ios_base& (*)(std::ios_base&))]' of >> build/drampower/libdrampower.a(Parameter.os): defined in discarded section >> `.gnu.linkonce.t._ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_EPKS3_RKS6_' of >> build/X86/mem/cache/base.fo (symbol from plugin) >> `std::basic_string<char, std::char_traits<char>, std::allocator<char> > >> std::operator+<char, std::char_traits<char>, std::allocator<char> >(char >> const*, std::basic_string<char, std::char_traits<char>, >> std::allocator<char> > const&)' referenced in section >> `.text._Z10fromStringIjET_RKSsPFRSt8ios_baseS4_E[unsigned int >> fromString<unsigned int>(std::basic_string<char, std::char_traits<char>, >> std::allocator<char> > const&, std::ios_base& (*)(std::ios_base&))]' of >> build/drampower/libdrampower.a(Parameter.os): defined in discarded section >> `.gnu.linkonce.t._ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_EPKS3_RKS6_' of >> build/X86/mem/cache/base.fo (symbol from plugin) >> `std::basic_string<char, std::char_traits<char>, std::allocator<char> > >> std::operator+<char, std::char_traits<char>, std::allocator<char> >(char >> const*, std::basic_string<char, std::char_traits<char>, >> std::allocator<char> > const&)' referenced in section >> `.text._Z10fromStringImET_RKSsPFRSt8ios_baseS4_E[unsigned long >> fromString<unsigned long>(std::basic_string<char, std::char_traits<char>, >> std::allocator<char> > const&, std::ios_base& (*)(std::ios_base&))]' of >> build/drampower/libdrampower.a(Parameter.os): defined in discarded section >> `.gnu.linkonce.t._ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_EPKS3_RKS6_' of >> build/X86/mem/cache/base.fo (symbol from plugin) >> `std::basic_string<char, std::char_traits<char>, std::allocator<char> > >> std::operator+<char, std::char_traits<char>, std::allocator<char> >(char >> const*, std::basic_string<char, std::char_traits<char>, >> std::allocator<char> > const&)' referenced in section >> `.text._Z10fromStringIdET_RKSsPFRSt8ios_baseS4_E[double >> fromString<double>(std::basic_string<char, std::char_traits<char>, >> std::allocator<char> > const&, std::ios_base& (*)(std::ios_base&))]' of >> build/drampower/libdrampower.a(Parameter.os): defined in discarded section >> `.gnu.linkonce.t._ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_EPKS3_RKS6_' of >> build/X86/mem/cache/base.fo (symbol from plugin) >> `std::basic_string<char, std::char_traits<char>, std::allocator<char> > >> std::operator+<char, std::char_traits<char>, std::allocator<char> >(char >> const*, std::basic_string<char, std::char_traits<char>, >> std::allocator<char> > const&)' referenced in section >> `.text._Z10fromStringIbET_RKSsPFRSt8ios_baseS4_E[bool >> fromString<bool>(std::basic_string<char, std::char_traits<char>, >> std::allocator<char> > const&, std::ios_base& (*)(std::ios_base&))]' of >> build/drampower/libdrampower.a(Parameter.os): defined in discarded section >> `.gnu.linkonce.t._ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_EPKS3_RKS6_' of >> build/X86/mem/cache/base.fo (symbol from plugin) >> collect2: ld returned 1 exit status >> scons: *** [build/X86/gem5.fast.unstripped] Error 1 >> scons: building terminated because of errors. >> >> Regards, >> >> >> On 10 October 2014 09:00, Andreas Hansson via gem5-users < >> gem5-users@gem5.org> wrote: >> >>> Hi all, >>> >>> With today’s push to the gem5 trunk (not stable) I am very pleased to >>> announce that DRAMPower is now integrated as the power model backing up the >>> built-in gem5 DRAM controller. Datasheet IDD values are provided for the >>> existing LPDDR2/LPDDR3 and DDR3/DDR4 configurations, but obviously there is >>> nothing stopping people from exploring further. The energy and power >>> results are part of the normal gem5 stats. >>> >>> I would like to especially thank the DRAMPower developers for >>> accommodating the integration, and I am sure there will be a continued >>> mutual benefit from having the two tools work together. With Nilay’s recent >>> Ruby patches this integration should also benefit all Ruby users very >>> shortly. >>> >>> We hope all gem5 users enjoy the new functionality. >>> >>> Kind regards, >>> >>> Andreas >>> >>> >>> -- IMPORTANT NOTICE: The contents of this email and any attachments are >>> confidential and may also be privileged. If you are not the intended >>> recipient, please notify the sender immediately and do not disclose the >>> contents to any other person, use it for any purpose, or store or copy the >>> information in any medium. Thank you. >>> >>> ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, >>> Registered in England & Wales, Company No: 2557590 >>> ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 >>> 9NJ, Registered in England & Wales, Company No: 2548782 >>> >>> _______________________________________________ >>> gem5-users mailing list >>> gem5-users@gem5.org >>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >>> >> >> >> -- IMPORTANT NOTICE: The contents of this email and any attachments are >> confidential and may also be privileged. If you are not the intended >> recipient, please notify the sender immediately and do not disclose the >> contents to any other person, use it for any purpose, or store or copy the >> information in any medium. Thank you. >> >> ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, >> Registered in England & Wales, Company No: 2557590 >> ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, >> Registered in England & Wales, Company No: 2548782 >> > > > -- IMPORTANT NOTICE: The contents of this email and any attachments are > confidential and may also be privileged. If you are not the intended > recipient, please notify the sender immediately and do not disclose the > contents to any other person, use it for any purpose, or store or copy the > information in any medium. Thank you. > > ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, > Registered in England & Wales, Company No: 2557590 > ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, > Registered in England & Wales, Company No: 2548782 >
_______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users