Hi Dali, The fast binary is using LTO (link time optimisation), and this requires that gcc is built with plugin support (which it is if you get it as a package on all major distros a.f.a.i.k.). You can either rebuild gcc and add this during the config step, or compile gem5.fast using the "--no-lto" scons flag which turns off LTO.
Let me know how it goes. Andreas On 15/03/2013 00:01, "Dali Zhao" <[email protected]> wrote: >Hi all, > >I got this linker error when I tried to build the fast binary. I'm >using gcc version 4.7.2, GNU ld (GNU Binutils) 2.23.1: > >g++: error: -fuse-linker-plugin is not supported in this configuration > >This are the linker flags i got using the verbose mode: >-O3 -flto=1 -fuse-linker-plugin -Lbuild/libfdt -Lbuild/gzstream >-Lbuild/libelf -L/data/users/daliz/software/lib >-L/data/users/daliz/software/python-2.7.3/lib -ldl -lm -lpython2.7 -lz >-lprotobuf -lelf -lgzstream -lfdt > >what does the "use-linker-plugin" flag do? > >-- >Dali Zhao >_______________________________________________ >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
