Hi Andreas, Thanks for the suggestion. I will try building without LTO. I guess, the --without-lto is a command line option to the scons build.
BR/Nizam On Sun, Sep 20, 2015 at 10:32 PM, Andreas Hansson <[email protected]> wrote: > Hi Nizam, > > The gem5.fast binary by default uses LTO. This optimisation step involves > a significant amount of memory and CPU time, although it has improved a lot > in later gcc releases. Especially if your build machine only has 8 Gbyte of > memory, the LTO step can be very painful for older (<4.9) versions of gcc, > as it causes swapping etc. > > You can either compile gem5.fast without LTO by adding “--without-lto”, or > alternatively upgrade to a more recent version of gcc (or use clang). > > I hope that helps. > > Andreas > > From: gem5-users <[email protected]> on behalf of Nizamudheen > Ahmed <[email protected]> > Reply-To: gem5 users mailing list <[email protected]> > Date: Sunday, 20 September 2015 14:44 > To: gem5 users mailing list <[email protected]> > Subject: [gem5-users] ARM gem5.fast build on Ubuntu 14.04 LTS > > Hi, > > I am trying to build ARM gem5.fast on Ubuntu 14.04 LTS. My machine hangs > at the link-step. I get this all the time at the link step. Have you faced > similar situations in the past? Can you share your remedies that had worked? > > Thanks and with best regards, > Nizam > > > ------------------------------ > > -- 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
