Hi Parnian,

LTO is only enabled by default on fast, so that's the only target where
you would have to disable it. I'm not sure it will help you though if the
issue is indeed memory. opt will most likely require even more memory to
build (as reported on the list).

Have a look at the memory usage of your machine and see if that's the
issue before you spend too much time on it.

Andreas

On 21/11/2012 08:34, "[email protected]" <[email protected]>
wrote:

>Hi Andrea,
>Thank you, I am using gem5.fast and get this error. Do you think I should
>use gem5.opt  with the lto?
>
>Thank you,
>Parnian
>________________________________________
>From: [email protected] [[email protected]] on behalf
>of Andreas Hansson [[email protected]]
>Sent: Wednesday, November 21, 2012 3:31 AM
>To: gem5 users mailing list
>Subject: Re: [gem5-users] G++ error while building ARM image
>
>Hi Parnian,
>
>I think you might be running out of memory. The warning that you see is
>nothing to worry about and is unrelated.
>
>Ultimately, I would suggest moving to a 64-bit system if possible. You
>can try without LTO by adding "--no-lto" to the scons command line.
>
>Andreas
>
>From: "[email protected]<mailto:[email protected]>"
><[email protected]<mailto:[email protected]>>
>Reply-To: gem5 users mailing list
><[email protected]<mailto:[email protected]>>
>Date: Wednesday, 21 November 2012 07:18
>To: "[email protected]<mailto:[email protected]>"
><[email protected]<mailto:[email protected]>>
>Subject: [gem5-users] G++ error while building ARM image
>
>Hello
>
>I am having trouble building the ARM image on ubuntu 64 bit on vmware
>workstation 8.0.4. I have done all of this  ( according to the youtube
>video) on 32 bit. I have installed G++. I looked for this kind of error
>online but I couldn't find anything. Could somebody help me?  Here is the
>error I get.
>
>build/ARM/unittest/unittest.fo (symbol from plugin): warning: memset used
>with constant zero length parameter; this could be due to transposed
>parameters
>g++: internal compiler error: Killed (program lto1)
>Please submit a full bug report,
>with preprocessed source if appropriate.
>See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions.
>lto-wrapper: g++ returned 4 exit status
>/usr/bin/ld: lto-wrapper failed
>collect2: ld returned 1 exit status
>scons: *** [build/ARM/gem5.fast.unstripped] Error 1
>scons: building terminated because of errors.
>
>
>Thank you,
>Parnian
>
>-- 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.
>
>_______________________________________________
>gem5-users mailing list
>[email protected]
>http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
>
>_______________________________________________
>gem5-users mailing list
>[email protected]
>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.

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

Reply via email to