Hi, I've been working a while trying to get Flexus to work and have hit a roadblock. I've been through all the steps of getting Simics and Boost built and as far as I can tell, they compiled fine. I have been having problems with GLIBC, but it sounded like that problem's not going to be an immediate problem, so I added the GLIBC_NOCHECK to my makefile... but that's not the question I was hoping to find help on.
Using make with no parameters gets past all the checks and outputs the supported simulators, so I try to make CMPFlex or something like that and it gets an error when building Boost.Serialization. The actual output is huge, so here's the end of it (if the rest of the info is relevant, I can post that too) ld returned 1 exit status make[6]: *** [libflexus_CMPFlex_v9_iface_gcc.so] Error 1 make[5]: *** [simics-v9] Error 2 make[4]: *** [CMPFlex] Error 2 make[3]: *** [CMPFlex] Error 2 make[2]: *** [CMPFlex] Error 2 make[1]: *** [CMPFlex] Error 2 make: *** [CMPFlex] Error 2 To me, it doesn't make sense that it's getting through a couple steps of the Boost section but having problems there, although I'm a newbie to a lot of these programs. Any help would be much appreciated. Thanks, James Larson -------------- next part -------------- An HTML attachment was scrubbed... URL: http://sos.ece.cmu.edu/pipermail/simflex/attachments/20060319/2fd76233/attachment.html From twenisch at ece.cmu.edu Tue Mar 21 12:47:21 2006 From: twenisch at ece.cmu.edu (Thomas Wenisch) List-Post: [email protected] Date: Tue Mar 21 12:47:25 2006 Subject: [Simflex] Flexus simulator compiling In-Reply-To: <[email protected]> References: <[email protected]> Message-ID: <[email protected]> Hi James, On Sun, 19 Mar 2006, James Larson wrote: > Hi, > > I've been working a while trying to get Flexus to work and have hit a > roadblock. I've been through all the steps of getting Simics and Boost > built and as far as I can tell, they compiled fine. I have been having > problems with GLIBC, but it sounded like that problem's not going to be an > immediate problem, so I added the GLIBC_NOCHECK to my makefile... but that's > not the question I was hoping to find help on. I suggest you look through the list archives to see how others have dealt with the GLIBC issues on RedHat linux once you get to that point. > > Using make with no parameters gets past all the checks and outputs the > supported simulators, so I try to make CMPFlex or something like that and it > gets an error when building Boost.Serialization. The actual output is huge, > so here's the end of it (if the rest of the info is relevant, I can post > that too) > > ld returned 1 exit status > make[6]: *** [libflexus_CMPFlex_v9_iface_gcc.so] Error 1 > make[5]: *** [simics-v9] Error 2 > make[4]: *** [CMPFlex] Error 2 > make[3]: *** [CMPFlex] Error 2 > make[2]: *** [CMPFlex] Error 2 > make[1]: *** [CMPFlex] Error 2 > make: *** [CMPFlex] Error 2 > We will need more of the output to figure out why the linker is failing, so I suggest you post the complete output. However, one thing to check is if you are using a version of GNU make that is too old to work with Flexus. We require make 3.79.1 to build correctly, and older versions of make can result in linker errors. Regards, -Tom Wenisch Computer Architecture Lab Carnegie Mellon University From bgold at cmu.edu Tue Mar 21 14:21:28 2006 From: bgold at cmu.edu (Brian Gold) List-Post: [email protected] Date: Tue Mar 21 14:21:53 2006 Subject: [Simflex] SimFlex Digest In-Reply-To: <001b01c64cf3$c79b85a0$f8601...@shadilaptop> References: <001b01c64cf3$c79b85a0$f8601...@shadilaptop> Message-ID: <[email protected]> Hi Shadi, There are a couple of strange issues here: 1) The problem you see is because the Simics checkpoint has multiple CPUs connected to one physical memory object. If you look in the Simics checkpoint file, under the "OBJECT cpu0 TYPE ultrasparc-iii {" section, you should see parameters called "physical_memory: cpu0_mem" and "physical_io: cpu0_io". For cpu1, they chould be cpu1_mem and cpu1_io. These memory 'spaces' are created automatically by the flexus_test_app scripts used to boot the machine. Did you use 'flexus-test.simics' or write your own? If you wrote your own, we can help get the 'spaces' correct. 2) You appear to have a single CPU checkpoint (the line "Instantiating system with a width factor of: 1"). Did you boot a multiprocessor, or a uniprocessor? Again, the flexus-test.simics file creates an 8 cpu machine by default. Something is a bit weird here. Let us know a bit more about your configuration and hopefully we can help. - Brian Shadi Harb wrote: > Hello, > > When I tried to run the CMPFlex simulation, I hit with these errors, I guess > it is a flexus problem, it fails to initialize the InorderSimicsFeeder > Module > > Thanks for your help in advance > Shadi > > ./interactive CMPFlex > Starting interactive run of flexus_test with CMPFlex in > /home/hughes/Programs/flexus_2.0/flexus-test3/runs/hughes-CMPFlex-20Mar06-19 > 0858 > Launching job > Initializing Flexus::Debugger...Opening debug output file: debug.out > DEBUG added target debug-comp > DEBUG added target debug-feeder > DEBUG added target debug-noncomp > Opening debug output file: stats.out > DEBUG added target stats > DEBUG added target assertions > Successfully parsed debug configurations from debug.cfg > done > Initializing Flexus::ConfigurationManager...done > Initializing Flexus::ComponentManager...done > 1 <startup.cpp:109> {0}- Initializing Flexus. > > Flexus (C) 2005 The SimFlex Project > Kun Gao, Brian Gold, Nikos Hardavellas, Jangwoo Kim, > Ippokratis Pandis, Minglong Shao, Jared Smolens, Stephen Somogyi, > Tom Wenisch, Anastassia Ailamaki, Babak Falsafi, and James C. Hoe. > Flexus Release 2.0 11/9/2005 managed by Tom Wenisch. > Flexus-Simics simulator - Built as CMPFlex v2.0 > > 2 <ComponentManager.cpp:81> {0}- Instantiating system with a width factor > of: 1 > 3 <InorderSimicsFeederImpl.cpp:289> (feeder[<undefined>]) {0}- Initializing > InorderSimicsFeeder. > 4 <InorderSimicsFeederImpl.cpp:337> (feeder[<undefined>]) {0}- Connecting: > cpu0 > 5 <SimicsTracer.hpp:123> (<undefined>[<undefined>]) {0}- Assertion failed: > ((!(false))) : Two CPUs connected to the same I/O timing_model: phys_mem0 > (*** Simics ***) Simics getting shaky, switching to 'safe' mode. > (*** Simics ***) Simics (main thread) received an abort signal, probably an > assertion. > simics> > > > > -----Original Message----- > From: [email protected] [mailto:[email protected]] On > Behalf Of [email protected] > Sent: Sunday, March 19, 2006 12:00 PM > To: [email protected] > Subject: SimFlex Digest, Vol 10, Issue 8 > > Send SimFlex mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > https://sos.ece.cmu.edu/mailman/listinfo/simflex > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of SimFlex digest..." > > > Today's Topics: > > 1. RE: SimFlex Digest, Vol 10, Issue 7 (Shadi Harb) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sun, 19 Mar 2006 05:09:06 -0800 > From: "Shadi Harb" <[email protected]> > Subject: [Simflex] RE: SimFlex Digest, Vol 10, Issue 7 > To: <[email protected]> > Message-ID: <000601c64b56$4dfbdc20$6401a...@shadilaptop> > Content-Type: text/plain; charset="us-ascii" > > Hi all, > > Recently when I was trying to run "make stat-manager", I hit with these > error messages below , any help to resolve the problem would be appreciable > > Thanks > Shadi > //////////////////////////////// > hug...@fraidy:~/Programs/flexus_2.0> make stat-manager In file included from > ../core/simics/control_api.hpp:41, > from ../core/debug/action.cpp:54: > ../core/simics/api_wrappers.hpp:46:49: simics/types_api.h: No such file or > directory > ../core/simics/api_wrappers.hpp:47:57: simics/configuration_api.h: > No such file or directory > In file included from ../core/simics/control_api.hpp:41, > from ../core/debug/action.cpp:54: > ../core/simics/api_wrappers.hpp:53: error: expected constructor, destructor, > or type conversion before '*' token > ../core/simics/api_wrappers.hpp:53: error: expected `,' or `;' > before '*' token > ../core/simics/api_wrappers.hpp:56: error: `conf_class_t' is not a member of > `Flexus::Simics::API' > ../core/simics/api_wrappers.hpp:57: error: `class_struct' was not declared > in this scope > ../core/simics/api_wrappers.hpp:57: error: expected primary-expression > before "const" > ../core/simics/api_wrappers.hpp:58: error: `get_attr_t' is not a member of > `Flexus::Simics::API' > ../core/simics/api_wrappers.hpp:59: error: `lang_void' is not a member of > `Flexus::Simics::API' > ../core/simics/api_wrappers.hpp:60: error: `get_attr_data' was not declared > in this scope > ../core/simics/api_wrappers.hpp:60: error: `set_attr_t' is not a member of > `Flexus::Simics::API' > ../core/simics/api_wrappers.hpp:61: error: `lang_void' is not a member of > `Flexus::Simics::API' > ../core/simics/api_wrappers.hpp:62: error: `set_attr_data' was not declared > in this scope > ../core/simics/api_wrappers.hpp:62: error: `attr_attr_t' is not a member of > `Flexus::Simics::API' > ../core/simics/api_wrappers.hpp:63: error: expected primary-expression > before "const" > ../core/simics/api_wrappers.hpp:64: error: initializer expression list > treated as compound expression > ../core/simics/api_wrappers.hpp:66: error: variable or field > `SIM_object_constructor' declared void > ../core/simics/api_wrappers.hpp:66: error: `conf_object_t' is not a member > of `Flexus::Simics::API' > ../core/simics/api_wrappers.hpp:66: error: `conf_obj' was not declared in > this scope > ../core/simics/api_wrappers.hpp:66: error: `parse_object_t' is not a member > of `Flexus::Simics::API' > ../core/simics/api_wrappers.hpp:66: error: `parse_obj' was not declared in > this scope > ../core/simics/api_wrappers.hpp:66: error: initializer expression list > treated as compound expression > ../core/simics/api_wrappers.hpp:68: error: expected constructor, destructor, > or type conversion before '*' token > ../core/simics/api_wrappers.hpp:68: error: expected `,' or `;' > before '*' token > In file included from ../core/debug/action.cpp:54: > ../core/simics/control_api.hpp:49:47: simics/event_api.h: No such file or > directory > make[1]: *** [../core/debug/action.stats_o] Error 1 > make: *** [stat-manager] Error 2 > ///////////////////////////////////////////////////////////// > > > -----Original Message----- > From: [email protected] [mailto:[email protected]] On > Behalf Of [email protected] > Sent: Friday, March 17, 2006 9:00 AM > To: [email protected] > Subject: SimFlex Digest, Vol 10, Issue 7 > > Send SimFlex mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > https://sos.ece.cmu.edu/mailman/listinfo/simflex > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of SimFlex digest..." > > > Today's Topics: > > 1. Re: A question about Solaris 9 (lu peng) > 2. Re: A question about Solaris 9 (Brian Gold) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 16 Mar 2006 18:26:22 +0000 > From: "lu peng" <[email protected]> > Subject: Re: [Simflex] A question about Solaris 9 > To: [email protected] > Message-ID: <[email protected]> > Content-Type: text/plain; charset="us-ascii" > > An HTML attachment was scrubbed... > URL: > http://sos.ece.cmu.edu/pipermail/simflex/attachments/20060316/e1e43593/attac > hment-0001.html > > ------------------------------ > > Message: 2 > Date: Thu, 16 Mar 2006 14:09:23 -0500 > From: Brian Gold <[email protected]> > Subject: Re: [Simflex] A question about Solaris 9 > To: SimFlex software support <[email protected]> > Message-ID: <[email protected]> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > In CMPFlex, BackSideOut_Snoop at L2 does not need to be connected. So > this warning is not a problem at all in CMPFlex. > > FYI, BackSideOut_Snoop is used (in L2) when multiple CMP chips are > connected with a coherence bus or similar mechanism. You'll see a > similar mechanism IS used in CMPFlex when connecting coherent L1 caches > to a shared L2. > > Kind regards, > - Brian > > > lu peng wrote: >> Hi Brian, >> >> Thanks for your reply. Probably I was wrong. I got some warnings when I >> ran "read-configuraton xxx.cfg" and "load-module >> flexus-CMPFlex-v9-iface-gcc", it complained "12 <CmpCache.hpp:78> {0}- >> L2 port BackSideOut_Snoop is not wired". Is this a big issue? I just >> found it when I connected a SOL 9 checkpoint although it was shown for >> SOL 8 checkpoint but I didn't notice it. >> >> Thanks, >> >> Lu >> >> >> >> >> >> > ------------------------------------------------------------------------ >> From: /Brian Gold <[email protected]>/ >> Reply-To: /SimFlex software support <[email protected]>/ >> To: /SimFlex software support <[email protected]>/ >> Subject: /Re: [Simflex] A question about Solaris 9/ >> Date: /Wed, 15 Mar 2006 14:22:25 -0500/ >> >Hi Lu, >> > >> >I've done some minimal testing with OpenSolaris, and I don't see why >> >Solaris 9 wouldn't work. Can you give us more info on what failed? >> >Does it run in Simics? >> > >> >There's nothing in Flexus that should be OS-specific. If it works >> >in Simics, it should work in Flexus. >> > >> >- Brian Gold >> > >> >lu peng wrote: >> >>Hi, There, >> >> >> >>I built a checkpoint on Solaris 9 today. However, seems it can't >> >>connect with the flexus 1.0.2. Is necessary to use Solaris 8 to >> >>connect with it? >> >> >> >>Thanks, >> >> >> >>Lu >> >> >> >> >> >>> ------------------------------------------------------------------------ >> >> >> >>_______________________________________________ >> >>SimFlex mailing list >> >>[email protected] >> >>https://sos.ece.cmu.edu/mailman/listinfo/simflex >> >>SimFlex web page: http://www.ece.cmu.edu/~simflex >> >_______________________________________________ >> >SimFlex mailing list >> >[email protected] >> >https://sos.ece.cmu.edu/mailman/listinfo/simflex >> >SimFlex web page: http://www.ece.cmu.edu/~simflex >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> SimFlex mailing list >> [email protected] >> https://sos.ece.cmu.edu/mailman/listinfo/simflex >> SimFlex web page: http://www.ece.cmu.edu/~simflex > > > ------------------------------ > > _______________________________________________ > SimFlex mailing list > [email protected] > https://sos.ece.cmu.edu/mailman/listinfo/simflex > SimFlex web page: http://www.ece.cmu.edu/~simflex > > > End of SimFlex Digest, Vol 10, Issue 7 > ************************************** > > > > > ------------------------------ > > _______________________________________________ > SimFlex mailing list > [email protected] > https://sos.ece.cmu.edu/mailman/listinfo/simflex > SimFlex web page: http://www.ece.cmu.edu/~simflex > > > End of SimFlex Digest, Vol 10, Issue 8 > ************************************** > > > _______________________________________________ > SimFlex mailing list > [email protected] > https://sos.ece.cmu.edu/mailman/listinfo/simflex > SimFlex web page: http://www.ece.cmu.edu/~simflex From bgold at cmu.edu Tue Mar 21 15:03:41 2006 From: bgold at cmu.edu (Brian Gold) List-Post: [email protected] Date: Tue Mar 21 15:04:02 2006 Subject: [Simflex] RE: SimFlex Digest, Vol 10, Issue 7 In-Reply-To: <000601c64b56$4dfbdc20$6401a...@shadilaptop> References: <000601c64b56$4dfbdc20$6401a...@shadilaptop> Message-ID: <[email protected]> Hi Shadi, I'm unable to reproduce this problem. Here's what I did: 0) Build and install gcc 3.4.4, install boost 1.32.0 virtutech simics 2.2.12 1) Download and unpack flexus 2.0 from the web. Edit makefile.defs to reflect my tool locations (just the top of that file). 2) make core - this builds necessary infrastructure. 'core' will automatically get built if you build a simulator, e.g. CMPFlex, so that's fine, too. 3) make stat-manager - this built fine for me. If you follow these steps, do you still get this problem? - Brian Shadi Harb wrote: > Hi all, > > Recently when I was trying to run "make stat-manager", I hit with these > error messages below , any help to resolve the problem would be appreciable > > Thanks > Shadi > //////////////////////////////// > hug...@fraidy:~/Programs/flexus_2.0> make stat-manager In file included from > ../core/simics/control_api.hpp:41, > from ../core/debug/action.cpp:54: > ../core/simics/api_wrappers.hpp:46:49: simics/types_api.h: No such file or > directory > ../core/simics/api_wrappers.hpp:47:57: simics/configuration_api.h: > No such file or directory > In file included from ../core/simics/control_api.hpp:41, > from ../core/debug/action.cpp:54: > ../core/simics/api_wrappers.hpp:53: error: expected constructor, destructor, > or type conversion before '*' token > ../core/simics/api_wrappers.hpp:53: error: expected `,' or `;' > before '*' token > ../core/simics/api_wrappers.hpp:56: error: `conf_class_t' is not a member of > `Flexus::Simics::API' > ../core/simics/api_wrappers.hpp:57: error: `class_struct' was not declared > in this scope > ../core/simics/api_wrappers.hpp:57: error: expected primary-expression > before "const" > ../core/simics/api_wrappers.hpp:58: error: `get_attr_t' is not a member of > `Flexus::Simics::API' > ../core/simics/api_wrappers.hpp:59: error: `lang_void' is not a member of > `Flexus::Simics::API' > ../core/simics/api_wrappers.hpp:60: error: `get_attr_data' was not declared > in this scope > ../core/simics/api_wrappers.hpp:60: error: `set_attr_t' is not a member of > `Flexus::Simics::API' > ../core/simics/api_wrappers.hpp:61: error: `lang_void' is not a member of > `Flexus::Simics::API' > ../core/simics/api_wrappers.hpp:62: error: `set_attr_data' was not declared > in this scope > ../core/simics/api_wrappers.hpp:62: error: `attr_attr_t' is not a member of > `Flexus::Simics::API' > ../core/simics/api_wrappers.hpp:63: error: expected primary-expression > before "const" > ../core/simics/api_wrappers.hpp:64: error: initializer expression list > treated as compound expression > ../core/simics/api_wrappers.hpp:66: error: variable or field > `SIM_object_constructor' declared void > ../core/simics/api_wrappers.hpp:66: error: `conf_object_t' is not a member > of `Flexus::Simics::API' > ../core/simics/api_wrappers.hpp:66: error: `conf_obj' was not declared in > this scope > ../core/simics/api_wrappers.hpp:66: error: `parse_object_t' is not a member > of `Flexus::Simics::API' > ../core/simics/api_wrappers.hpp:66: error: `parse_obj' was not declared in > this scope > ../core/simics/api_wrappers.hpp:66: error: initializer expression list > treated as compound expression > ../core/simics/api_wrappers.hpp:68: error: expected constructor, destructor, > or type conversion before '*' token > ../core/simics/api_wrappers.hpp:68: error: expected `,' or `;' > before '*' token > In file included from ../core/debug/action.cpp:54: > ../core/simics/control_api.hpp:49:47: simics/event_api.h: No such file or > directory > make[1]: *** [../core/debug/action.stats_o] Error 1 > make: *** [stat-manager] Error 2 > ///////////////////////////////////////////////////////////// > > > -----Original Message----- > From: [email protected] [mailto:[email protected]] On > Behalf Of [email protected] > Sent: Friday, March 17, 2006 9:00 AM > To: [email protected] > Subject: SimFlex Digest, Vol 10, Issue 7 > > Send SimFlex mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > https://sos.ece.cmu.edu/mailman/listinfo/simflex > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of SimFlex digest..." > > > Today's Topics: > > 1. Re: A question about Solaris 9 (lu peng) > 2. Re: A question about Solaris 9 (Brian Gold) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 16 Mar 2006 18:26:22 +0000 > From: "lu peng" <[email protected]> > Subject: Re: [Simflex] A question about Solaris 9 > To: [email protected] > Message-ID: <[email protected]> > Content-Type: text/plain; charset="us-ascii" > > An HTML attachment was scrubbed... > URL: > http://sos.ece.cmu.edu/pipermail/simflex/attachments/20060316/e1e43593/attac > hment-0001.html > > ------------------------------ > > Message: 2 > Date: Thu, 16 Mar 2006 14:09:23 -0500 > From: Brian Gold <[email protected]> > Subject: Re: [Simflex] A question about Solaris 9 > To: SimFlex software support <[email protected]> > Message-ID: <[email protected]> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > In CMPFlex, BackSideOut_Snoop at L2 does not need to be connected. So > this warning is not a problem at all in CMPFlex. > > FYI, BackSideOut_Snoop is used (in L2) when multiple CMP chips are > connected with a coherence bus or similar mechanism. You'll see a > similar mechanism IS used in CMPFlex when connecting coherent L1 caches > to a shared L2. > > Kind regards, > - Brian > > > lu peng wrote: >> Hi Brian, >> >> Thanks for your reply. Probably I was wrong. I got some warnings when I >> ran "read-configuraton xxx.cfg" and "load-module >> flexus-CMPFlex-v9-iface-gcc", it complained "12 <CmpCache.hpp:78> {0}- >> L2 port BackSideOut_Snoop is not wired". Is this a big issue? I just >> found it when I connected a SOL 9 checkpoint although it was shown for >> SOL 8 checkpoint but I didn't notice it. >> >> Thanks, >> >> Lu >> >> >> >> >> >> > ------------------------------------------------------------------------ >> From: /Brian Gold <[email protected]>/ >> Reply-To: /SimFlex software support <[email protected]>/ >> To: /SimFlex software support <[email protected]>/ >> Subject: /Re: [Simflex] A question about Solaris 9/ >> Date: /Wed, 15 Mar 2006 14:22:25 -0500/ >> >Hi Lu, >> > >> >I've done some minimal testing with OpenSolaris, and I don't see why >> >Solaris 9 wouldn't work. Can you give us more info on what failed? >> >Does it run in Simics? >> > >> >There's nothing in Flexus that should be OS-specific. If it works >> >in Simics, it should work in Flexus. >> > >> >- Brian Gold >> > >> >lu peng wrote: >> >>Hi, There, >> >> >> >>I built a checkpoint on Solaris 9 today. However, seems it can't >> >>connect with the flexus 1.0.2. Is necessary to use Solaris 8 to >> >>connect with it? >> >> >> >>Thanks, >> >> >> >>Lu >> >> >> >> >> >>> ------------------------------------------------------------------------ >> >> >> >>_______________________________________________ >> >>SimFlex mailing list >> >>[email protected] >> >>https://sos.ece.cmu.edu/mailman/listinfo/simflex >> >>SimFlex web page: http://www.ece.cmu.edu/~simflex >> >_______________________________________________ >> >SimFlex mailing list >> >[email protected] >> >https://sos.ece.cmu.edu/mailman/listinfo/simflex >> >SimFlex web page: http://www.ece.cmu.edu/~simflex >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> SimFlex mailing list >> [email protected] >> https://sos.ece.cmu.edu/mailman/listinfo/simflex >> SimFlex web page: http://www.ece.cmu.edu/~simflex > > > ------------------------------ > > _______________________________________________ > SimFlex mailing list > [email protected] > https://sos.ece.cmu.edu/mailman/listinfo/simflex > SimFlex web page: http://www.ece.cmu.edu/~simflex > > > End of SimFlex Digest, Vol 10, Issue 7 > ************************************** > > > _______________________________________________ > SimFlex mailing list > [email protected] > https://sos.ece.cmu.edu/mailman/listinfo/simflex > SimFlex web page: http://www.ece.cmu.edu/~simflex From etlandfill at gmail.com Fri Mar 24 03:02:48 2006 From: etlandfill at gmail.com (James Larson) List-Post: [email protected] Date: Fri Mar 24 03:03:08 2006 Subject: [Simflex] Flexus simulator compiling In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Message-ID: <[email protected]> On 3/21/06, Thomas Wenisch <[email protected]> wrote: > > Hi James, > > On Sun, 19 Mar 2006, James Larson wrote: > > > Hi, > > > > I've been working a while trying to get Flexus to work and have hit a > > roadblock. I've been through all the steps of getting Simics and Boost > > built and as far as I can tell, they compiled fine. I have been having > > problems with GLIBC, but it sounded like that problem's not going to be > an > > immediate problem, so I added the GLIBC_NOCHECK to my makefile... but > that's > > not the question I was hoping to find help on. > > I suggest you look through the list archives to see how others have dealt > with the GLIBC issues on RedHat linux once you get to that point. > > > > > Using make with no parameters gets past all the checks and outputs the > > supported simulators, so I try to make CMPFlex or something like that > and it > > gets an error when building Boost.Serialization. The actual output is > huge, > > so here's the end of it (if the rest of the info is relevant, I can post > > that too) > > > > ld returned 1 exit status > > make[6]: *** [libflexus_CMPFlex_v9_iface_gcc.so] Error 1 > > make[5]: *** [simics-v9] Error 2 > > make[4]: *** [CMPFlex] Error 2 > > make[3]: *** [CMPFlex] Error 2 > > make[2]: *** [CMPFlex] Error 2 > > make[1]: *** [CMPFlex] Error 2 > > make: *** [CMPFlex] Error 2 > > > > We will need more of the output to figure out why the linker is failing, > so I suggest you post the complete output. However, one thing to check is > if you are using a version of GNU make that is too old to work with > Flexus. We require make 3.79.1 to build correctly, and older versions of > make can result in linker errors. > > Regards, > -Tom Wenisch > Computer Architecture Lab > Carnegie Mellon University > _______________________________________________ > SimFlex mailing list > [email protected] > https://sos.ece.cmu.edu/mailman/listinfo/simflex > SimFlex web page: http://www.ece.cmu.edu/~simflex > Ok, thank you very much for your help. Here is my full output Building CMPFlex for v9_iface_gcc simics Checking dependant component v9_iface_gcc Common Checking dependant component v9_iface_gcc BPWarm Checking dependant component v9_iface_gcc InorderSimicsFeeder Checking dependant component v9_iface_gcc CmpCache Checking dependant component v9_iface_gcc MemoryLoopback Checking dependant component v9_iface_gcc MemoryMap Checking dependant component v9_iface_gcc MagicBreak Checking dependant component v9_iface_gcc IFetch Checking dependant component v9_iface_gcc Execute Checking dependant component v9_iface_gcc Cache Checking dependant component v9_iface_gcc TraceTracker Checking simics v9_iface_gcc core Building Boost.DateTime Building Boost.Regex Building Boost.Serialization /home/jimmyml/gcc-3.4.4/gcc/bin/g++ -shared -export-dynamic -Wl,--whole-archive *.v9_iface_gcc_o /home/jimmyml/flexus_2.0/components/Common/Common.v9.iface.gcc.a /home/jimmyml/flexus_2.0/components/BPWarm/BPWarm.v9.iface.gcc.a /home/jimmyml/flexus_2.0/components/InorderSimicsFeeder/InorderSimicsFeeder.v9.iface.gcc.a /home/jimmyml/flexus_2.0/components/CmpCache/CmpCache.v9.iface.gcc.a /home/jimmyml/flexus_2.0/components/MemoryLoopback/MemoryLoopback.v9.iface.gcc.a /home/jimmyml/flexus_2.0/components/MemoryMap/MemoryMap.v9.iface.gcc.a /home/jimmyml/flexus_2.0/components/MagicBreak/MagicBreak.v9.iface.gcc.a /home/jimmyml/flexus_2.0/components/IFetch/IFetch.v9.iface.gcc.a /home/jimmyml/flexus_2.0/components/Execute/Execute.v9.iface.gcc.a /home/jimmyml/flexus_2.0/components/Cache/Cache.v9.iface.gcc.a /home/jimmyml/flexus_2.0/components/TraceTracker/TraceTracker.v9.iface.gcc.a -L/home/jimmyml/flexus_2.0/core -Wl,--whole-archive -lcore_v9_iface_gcc -lsimics_v9_iface_gcc -Wl,-no-whole-archive -lboost_date_time -lboost_regex -lboost_serialization -lz -o libflexus_CMPFlex_v9_iface_gcc.so `.gnu.linkonce.t._ZNK5boost7archive17archive_exception4whatEv' referenced in section `.rodata' of /home/jimmyml/flexus_2.0/components/CmpCache/CmpCache.v9.iface.gcc.a( CmpCacheImpl.v9_iface_gcc_o): defined in discarded section `.gnu.linkonce.t._ZNK5boost7archive17archive_exception4whatEv' of /home/jimmyml/flexus_2.0/components/CmpCache/CmpCache.v9.iface.gcc.a( CmpCacheImpl.v9_iface_gcc_o)`.gnu.linkonce.t._ZNK5boost7archive17archive_exception4whatEv' referenced in section `.rodata' of /home/jimmyml/flexus_2.0/components/Cache/Cache.v9.iface.gcc.a( BaseCacheControllerImpl.v9_iface_gcc_o): defined in discarded section `.gnu.linkonce.t._ZNK5boost7archive17archive_exception4whatEv' of /home/jimmyml/flexus_2.0/components/Cache/Cache.v9.iface.gcc.a( BaseCacheControllerImpl.v9_iface_gcc_o)`.gnu.linkonce.t._ZNK5boost7archive17archive_exception4whatEv' referenced in section `.rodata' of /home/jimmyml/flexus_2.0/components/Cache/Cache.v9.iface.gcc.a( CacheControllerImpl.v9_iface_gcc_o): defined in discarded section `.gnu.linkonce.t._ZNK5boost7archive17archive_exception4whatEv' of /home/jimmyml/flexus_2.0/components/Cache/Cache.v9.iface.gcc.a( CacheControllerImpl.v9_iface_gcc_o)`.gnu.linkonce.t._ZNK5boost7archive17archive_exception4whatEv' referenced in section `.rodata' of /home/jimmyml/flexus_2.0/components/Cache/Cache.v9.iface.gcc.a( CacheImpl.v9_iface_gcc_o): defined in discarded section `.gnu.linkonce.t._ZNK5boost7archive17archive_exception4whatEv' of /home/jimmyml/flexus_2.0/components/Cache/Cache.v9.iface.gcc.a( CacheImpl.v9_iface_gcc_o)`.gnu.linkonce.t._ZN6nCache15CacheController13doNewRequestsERN14nMessageQueues12MessageQueueIN6Flexus4Core9TransportIN5boost3mpl6vectorINS4_15transport_entryINS3_11SharedTypes18MemoryMessageTag_tENSA_13MemoryMessageEEENS9_INSA_17ExecuteStateTag_tENSA_12ExecuteStateEEENS9_INSA_15uArchStateTag_tENSA_5MemOpEEENS9_INSA_8MuxTag_tENSA_3MuxEEENS9_INSA_19DirectoryEntryTag_tENSA_14DirectoryEntryEEENS9_INSA_23TransactionTrackerTag_tENSA_18TransactionTrackerEEEN4mpl_2naESU_SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_EEEEEERNS1_9DelayFifoINS6_13intrusive_ptrINS_12ProcessEntryEEEEE' referenced in section `.rodata' of /home/jimmyml/flexus_2.0/components/Cache/Cache.v9.iface.gcc.a( CacheImpl.v9_iface_gcc_o): defined in discarded section `.gnu.linkonce.t._ZN6nCache15CacheController13doNewRequestsERN14nMessageQueues12MessageQueueIN6Flexus4Core9TransportIN5boost3mpl6vectorINS4_15transport_entryINS3_11SharedTypes18MemoryMessageTag_tENSA_13MemoryMessageEEENS9_INSA_17ExecuteStateTag_tENSA_12ExecuteStateEEENS9_INSA_15uArchStateTag_tENSA_5MemOpEEENS9_INSA_8MuxTag_tENSA_3MuxEEENS9_INSA_19DirectoryEntryTag_tENSA_14DirectoryEntryEEENS9_INSA_23TransactionTrackerTag_tENSA_18TransactionTrackerEEEN4mpl_2naESU_SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_EEEEEERNS1_9DelayFifoINS6_13intrusive_ptrINS_12ProcessEntryEEEEE' of /home/jimmyml/flexus_2.0/components/Cache/Cache.v9.iface.gcc.a( CacheImpl.v9_iface_gcc_o)`.gnu.linkonce.t._ZN6nCache15CacheController14enqueueMessageEN6Flexus4Core9TransportIN5boost3mpl6vectorINS2_15transport_entryINS1_11SharedTypes18MemoryMessageTag_tENS8_13MemoryMessageEEENS7_INS8_17ExecuteStateTag_tENS8_12ExecuteStateEEENS7_INS8_15uArchStateTag_tENS8_5MemOpEEENS7_INS8_8MuxTag_tENS8_3MuxEEENS7_INS8_19DirectoryEntryTag_tENS8_14DirectoryEntryEEENS7_INS8_23TransactionTrackerTag_tENS8_18TransactionTrackerEEEN4mpl_2naESS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_EEEE' referenced in section `.rodata' of /home/jimmyml/flexus_2.0/components/Cache/Cache.v9.iface.gcc.a( CacheImpl.v9_iface_gcc_o): defined in discarded section `.gnu.linkonce.t._ZN6nCache15CacheController14enqueueMessageEN6Flexus4Core9TransportIN5boost3mpl6vectorINS2_15transport_entryINS1_11SharedTypes18MemoryMessageTag_tENS8_13MemoryMessageEEENS7_INS8_17ExecuteStateTag_tENS8_12ExecuteStateEEENS7_INS8_15uArchStateTag_tENS8_5MemOpEEENS7_INS8_8MuxTag_tENS8_3MuxEEENS7_INS8_19DirectoryEntryTag_tENS8_14DirectoryEntryEEENS7_INS8_23TransactionTrackerTag_tENS8_18TransactionTrackerEEEN4mpl_2naESS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_EEEE' of /home/jimmyml/flexus_2.0/components/Cache/Cache.v9.iface.gcc.a( CacheImpl.v9_iface_gcc_o)`.gnu.linkonce.t._ZN6nCache15CacheController9doWakeMafEv' referenced in section `.rodata' of /home/jimmyml/flexus_2.0/components/Cache/Cache.v9.iface.gcc.a( CacheImpl.v9_iface_gcc_o): defined in discarded section `.gnu.linkonce.t._ZN6nCache15CacheController9doWakeMafEv' of /home/jimmyml/flexus_2.0/components/Cache/Cache.v9.iface.gcc.a( CacheImpl.v9_iface_gcc_o)`.gnu.linkonce.t._ZN6nCache15CacheController14runBackProcessEN5boost13intrusive_ptrINS_12ProcessEntryEEE' referenced in section `.rodata' of /home/jimmyml/flexus_2.0/components/Cache/Cache.v9.iface.gcc.a( CacheImpl.v9_iface_gcc_o): defined in discarded section `.gnu.linkonce.t._ZN6nCache15CacheController14runBackProcessEN5boost13intrusive_ptrINS_12ProcessEntryEEE' of /home/jimmyml/flexus_2.0/components/Cache/Cache.v9.iface.gcc.a( CacheImpl.v9_iface_gcc_o)`.gnu.linkonce.t._ZN6nCache15CacheController14runBackProcessEN5boost13intrusive_ptrINS_12ProcessEntryEEE' referenced in section `.rodata' of /home/jimmyml/flexus_2.0/components/Cache/Cache.v9.iface.gcc.a( CacheImpl.v9_iface_gcc_o): defined in discarded section `.gnu.linkonce.t._ZN6nCache15CacheController14runBackProcessEN5boost13intrusive_ptrINS_12ProcessEntryEEE' of /home/jimmyml/flexus_2.0/components/Cache/Cache.v9.iface.gcc.a( CacheImpl.v9_iface_gcc_o)`.gnu.linkonce.t._ZN6nCache15CacheController14runBackProcessEN5boost13intrusive_ptrINS_12ProcessEntryEEE' referenced in section `.rodata' of /home/jimmyml/flexus_2.0/components/Cache/Cache.v9.iface.gcc.a( CacheImpl.v9_iface_gcc_o): defined in discarded section `.gnu.linkonce.t._ZN6nCache15CacheController14runBackProcessEN5boost13intrusive_ptrINS_12ProcessEntryEEE' of /home/jimmyml/flexus_2.0/components/Cache/Cache.v9.iface.gcc.a( CacheImpl.v9_iface_gcc_o)`.gnu.linkonce.t._ZN6nCache15CacheController14runBackProcessEN5boost13intrusive_ptrINS_12ProcessEntryEEE' referenced in section `.rodata' of /home/jimmyml/flexus_2.0/components/Cache/Cache.v9.iface.gcc.a( CacheImpl.v9_iface_gcc_o): defined in discarded section `.gnu.linkonce.t._ZN6nCache15CacheController14runBackProcessEN5boost13intrusive_ptrINS_12ProcessEntryEEE' of /home/jimmyml/flexus_2.0/components/Cache/Cache.v9.iface.gcc.a( CacheImpl.v9_iface_gcc_o)`.gnu.linkonce.t._ZN6nCache15CacheController14runBackProcessEN5boost13intrusive_ptrINS_12ProcessEntryEEE' referenced in section `.rodata' of /home/jimmyml/flexus_2.0/components/Cache/Cache.v9.iface.gcc.a( CacheImpl.v9_iface_gcc_o): defined in discarded section `.gnu.linkonce.t._ZN6nCache15CacheController14runBackProcessEN5boost13intrusive_ptrINS_12ProcessEntryEEE' of /home/jimmyml/flexus_2.0/components/Cache/Cache.v9.iface.gcc.a( CacheImpl.v9_iface_gcc_o)`.gnu.linkonce.t._ZN6nCache15CacheController14runBackProcessEN5boost13intrusive_ptrINS_12ProcessEntryEEE' referenced in section `.rodata' of /home/jimmyml/flexus_2.0/components/Cache/Cache.v9.iface.gcc.a( CacheImpl.v9_iface_gcc_o): defined in discarded section `.gnu.linkonce.t._ZN6nCache15CacheController14runBackProcessEN5boost13intrusive_ptrINS_12ProcessEntryEEE' of /home/jimmyml/flexus_2.0/components/Cache/Cache.v9.iface.gcc.a( CacheImpl.v9_iface_gcc_o)`.gnu.linkonce.t._ZN6nCache15CacheController14runBackProcessEN5boost13intrusive_ptrINS_12ProcessEntryEEE' referenced in section `.rodata' of /home/jimmyml/flexus_2.0/components/Cache/Cache.v9.iface.gcc.a( CacheImpl.v9_iface_gcc_o): defined in discarded section `.gnu.linkonce.t._ZN6nCache15CacheController14runBackProcessEN5boost13intrusive_ptrINS_12ProcessEntryEEE' of /home/jimmyml/flexus_2.0/components/Cache/Cache.v9.iface.gcc.a( CacheImpl.v9_iface_gcc_o)`.gnu.linkonce.t._ZN6nCache15CacheController15runSnoopProcessEN5boost13intrusive_ptrINS_12ProcessEntryEEE' referenced in section `.rodata' of /home/jimmyml/flexus_2.0/components/Cache/Cache.v9.iface.gcc.a( CacheImpl.v9_iface_gcc_o): defined in discarded section `.gnu.linkonce.t._ZN6nCache15CacheController15runSnoopProcessEN5boost13intrusive_ptrINS_12ProcessEntryEEE' of /home/jimmyml/flexus_2.0/components/Cache/Cache.v9.iface.gcc.a( CacheImpl.v9_iface_gcc_o)`.gnu.linkonce.t._ZN6nCache15CacheController15runSnoopProcessEN5boost13intrusive_ptrINS_12ProcessEntryEEE' referenced in section `.rodata' of /home/jimmyml/flexus_2.0/components/Cache/Cache.v9.iface.gcc.a( CacheImpl.v9_iface_gcc_o): defined in discarded section `.gnu.linkonce.t._ZN6nCache15CacheController15runSnoopProcessEN5boost13intrusive_ptrINS_12ProcessEntryEEE' of /home/jimmyml/flexus_2.0/components/Cache/Cache.v9.iface.gcc.a( CacheImpl.v9_iface_gcc_o)`.gnu.linkonce.t._ZN6nCache15CacheController15runSnoopProcessEN5boost13intrusive_ptrINS_12ProcessEntryEEE' referenced in section `.rodata' of /home/jimmyml/flexus_2.0/components/Cache/Cache.v9.iface.gcc.a( CacheImpl.v9_iface_gcc_o): defined in discarded section `.gnu.linkonce.t._ZN6nCache15CacheController15runSnoopProcessEN5boost13intrusive_ptrINS_12ProcessEntryEEE' of /home/jimmyml/flexus_2.0/components/Cache/Cache.v9.iface.gcc.a( CacheImpl.v9_iface_gcc_o)`.gnu.linkonce.t._ZN6nCache15CacheController15runSnoopProcessEN5boost13intrusive_ptrINS_12ProcessEntryEEE' referenced in section `.rodata' of /home/jimmyml/flexus_2.0/components/Cache/Cache.v9.iface.gcc.a( CacheImpl.v9_iface_gcc_o): defined in discarded section `.gnu.linkonce.t._ZN6nCache15CacheController15runSnoopProcessEN5boost13intrusive_ptrINS_12ProcessEntryEEE' of /home/jimmyml/flexus_2.0/components/Cache/Cache.v9.iface.gcc.a( CacheImpl.v9_iface_gcc_o)`.gnu.linkonce.t._ZN6nCache15CacheController15runSnoopProcessEN5boost13intrusive_ptrINS_12ProcessEntryEEE' referenced in section `.rodata' of /home/jimmyml/flexus_2.0/components/Cache/Cache.v9.iface.gcc.a( CacheImpl.v9_iface_gcc_o): defined in discarded section `.gnu.linkonce.t._ZN6nCache15CacheController15runSnoopProcessEN5boost13intrusive_ptrINS_12ProcessEntryEEE' of /home/jimmyml/flexus_2.0/components/Cache/Cache.v9.iface.gcc.a( CacheImpl.v9_iface_gcc_o)`.gnu.linkonce.t._ZN6nCache15CacheController15runSnoopProcessEN5boost13intrusive_ptrINS_12ProcessEntryEEE' referenced in section `.rodata' of /home/jimmyml/flexus_2.0/components/Cache/Cache.v9.iface.gcc.a( CacheImpl.v9_iface_gcc_o): defined in discarded section `.gnu.linkonce.t._ZN6nCache15CacheController15runSnoopProcessEN5boost13intrusive_ptrINS_12ProcessEntryEEE' of /home/jimmyml/flexus_2.0/components/Cache/Cache.v9.iface.gcc.a( CacheImpl.v9_iface_gcc_o)`.gnu.linkonce.t._ZN6nCache15CacheController15runSnoopProcessEN5boost13intrusive_ptrINS_12ProcessEntryEEE' referenced in section `.rodata' of /home/jimmyml/flexus_2.0/components/Cache/Cache.v9.iface.gcc.a( CacheImpl.v9_iface_gcc_o): defined in discarded section `.gnu.linkonce.t._ZN6nCache15CacheController15runSnoopProcessEN5boost13intrusive_ptrINS_12ProcessEntryEEE' of /home/jimmyml/flexus_2.0/components/Cache/Cache.v9.iface.gcc.a( CacheImpl.v9_iface_gcc_o)`.gnu.linkonce.t._ZN6nCache15MissAddressFile7getTypeEN6Flexus11SharedTypes13MemoryMessage17MemoryMessageTypeE' referenced in section `.rodata' of /home/jimmyml/flexus_2.0/components/Cache/Cache.v9.iface.gcc.a( CacheImpl.v9_iface_gcc_o): defined in discarded section `.gnu.linkonce.t._ZN6nCache15MissAddressFile7getTypeEN6Flexus11SharedTypes13MemoryMessage17MemoryMessageTypeE' of /home/jimmyml/flexus_2.0/components/Cache/Cache.v9.iface.gcc.a( CacheImpl.v9_iface_gcc_o)`.gnu.linkonce.t._ZN6nCache15CacheController17runRequestProcessEN5boost13intrusive_ptrINS_12ProcessEntryEEE' referenced in section `.rodata' of /home/jimmyml/flexus_2.0/components/Cache/Cache.v9.iface.gcc.a( CacheImpl.v9_iface_gcc_o): defined in discarded section `.gnu.linkonce.t._ZN6nCache15CacheController17runRequestProcessEN5boost13intrusive_ptrINS_12ProcessEntryEEE' of /home/jimmyml/flexus_2.0/components/Cache/Cache.v9.iface.gcc.a( CacheImpl.v9_iface_gcc_o)`.gnu.linkonce.t._ZN6nCache15CacheController17runRequestProcessEN5boost13intrusive_ptrINS_12ProcessEntryEEE' referenced in section `.rodata' of /home/jimmyml/flexus_2.0/components/Cache/Cache.v9.iface.gcc.a( CacheImpl.v9_iface_gcc_o): defined in discarded section `.gnu.linkonce.t._ZN6nCache15CacheController17runRequestProcessEN5boost13intrusive_ptrINS_12ProcessEntryEEE' of /home/jimmyml/flexus_2.0/components/Cache/Cache.v9.iface.gcc.a( CacheImpl.v9_iface_gcc_o)`.gnu.linkonce.t._ZN6nCache15CacheController17runRequestProcessEN5boost13intrusive_ptrINS_12ProcessEntryEEE' referenced in section `.rodata' of /home/jimmyml/flexus_2.0/components/Cache/Cache.v9.iface.gcc.a( CacheImpl.v9_iface_gcc_o): defined in discarded section `.gnu.linkonce.t._ZN6nCache15CacheController17runRequestProcessEN5boost13intrusive_ptrINS_12ProcessEntryEEE' of /home/jimmyml/flexus_2.0/components/Cache/Cache.v9.iface.gcc.a( CacheImpl.v9_iface_gcc_o)`.gnu.linkonce.t._ZN6nCache15CacheController17runRequestProcessEN5boost13intrusive_ptrINS_12ProcessEntryEEE' referenced in section `.rodata' of /home/jimmyml/flexus_2.0/components/Cache/Cache.v9.iface.gcc.a( CacheImpl.v9_iface_gcc_o): defined in discarded section `.gnu.linkonce.t._ZN6nCache15CacheController17runRequestProcessEN5boost13intrusive_ptrINS_12ProcessEntryEEE' of /home/jimmyml/flexus_2.0/components/Cache/Cache.v9.iface.gcc.a( CacheImpl.v9_iface_gcc_o)`.gnu.linkonce.t._ZN6nCache15CacheController17runRequestProcessEN5boost13intrusive_ptrINS_12ProcessEntryEEE' referenced in section `.rodata' of /home/jimmyml/flexus_2.0/components/Cache/Cache.v9.iface.gcc.a( CacheImpl.v9_iface_gcc_o): defined in discarded section `.gnu.linkonce.t._ZN6nCache15CacheController17runRequestProcessEN5boost13intrusive_ptrINS_12ProcessEntryEEE' of /home/jimmyml/flexus_2.0/components/Cache/Cache.v9.iface.gcc.a( CacheImpl.v9_iface_gcc_o)`.gnu.linkonce.t._ZN6nCache15CacheController17runRequestProcessEN5boost13intrusive_ptrINS_12ProcessEntryEEE' referenced in section `.rodata' of /home/jimmyml/flexus_2.0/components/Cache/Cache.v9.iface.gcc.a( CacheImpl.v9_iface_gcc_o): defined in discarded section `.gnu.linkonce.t._ZN6nCache15CacheController17runRequestProcessEN5boost13intrusive_ptrINS_12ProcessEntryEEE' of /home/jimmyml/flexus_2.0/components/Cache/Cache.v9.iface.gcc.a( CacheImpl.v9_iface_gcc_o)`.gnu.linkonce.t._ZN6nCache15CacheController17runRequestProcessEN5boost13intrusive_ptrINS_12ProcessEntryEEE' referenced in section `.rodata' of /home/jimmyml/flexus_2.0/components/Cache/Cache.v9.iface.gcc.a( CacheImpl.v9_iface_gcc_o): defined in discarded section `.gnu.linkonce.t._ZN6nCache15CacheController17runRequestProcessEN5boost13intrusive_ptrINS_12ProcessEntryEEE' of /home/jimmyml/flexus_2.0/components/Cache/Cache.v9.iface.gcc.a( CacheImpl.v9_iface_gcc_o)`.gnu.linkonce.t._ZNK5boost7archive17archive_exception4whatEv' referenced in section `.rodata' of /home/jimmyml/flexus_2.0/components/Cache/Cache.v9.iface.gcc.a( PiranhaCacheControllerImpl.v9_iface_gcc_o): defined in discarded section `.gnu.linkonce.t._ZNK5boost7archive17archive_exception4whatEv' of /home/jimmyml/flexus_2.0/components/Cache/Cache.v9.iface.gcc.a( PiranhaCacheControllerImpl.v9_iface_gcc_o)`.gnu.linkonce.t._ZN6nCache11MissTracker12processTableEv' referenced in section `.rodata' of /home/jimmyml/flexus_2.0/components/Cache/Cache.v9.iface.gcc.a( PiranhaCacheControllerImpl.v9_iface_gcc_o): defined in discarded section `.gnu.linkonce.t._ZN6nCache11MissTracker12processTableEv' of /home/jimmyml/flexus_2.0/components/Cache/Cache.v9.iface.gcc.a( PiranhaCacheControllerImpl.v9_iface_gcc_o)`.gnu.linkonce.t._ZNK5boost7archive17archive_exception4whatEv' referenced in section `.rodata' of /home/jimmyml/flexus_2.0/core/libcore_v9_iface_gcc.a(stats.v9_iface_gcc_o): defined in discarded section `.gnu.linkonce.t._ZNK5boost7archive17archive_exception4whatEv' of /home/jimmyml/flexus_2.0/core/libcore_v9_iface_gcc.a(stats.v9_iface_gcc_o)`.gnu.linkonce.t._ZNK5boost7archive17archive_exception4whatEv' referenced in section `.rodata' of /home/jimmyml/flexus_2.0/core/libboost_serialization.a(basic_iarchive.gcc_o): defined in discarded section `.gnu.linkonce.t._ZNK5boost7archive17archive_exception4whatEv' of /home/jimmyml/flexus_2.0/core/libboost_serialization.a(basic_iarchive.gcc_o)`.gnu.linkonce.t._ZNK5boost7archive17archive_exception4whatEv' referenced in section `.rodata' of /home/jimmyml/flexus_2.0/core/libboost_serialization.a(basic_oarchive.gcc_o): defined in discarded section `.gnu.linkonce.t._ZNK5boost7archive17archive_exception4whatEv' of /home/jimmyml/flexus_2.0/core/libboost_serialization.a(basic_oarchive.gcc_o)`.gnu.linkonce.t._ZNK5boost7archive17archive_exception4whatEv' referenced in section `.rodata' of /home/jimmyml/flexus_2.0/core/libboost_serialization.a(binary_iarchive.gcc_o): defined in discarded section `.gnu.linkonce.t._ZNK5boost7archive17archive_exception4whatEv' of /home/jimmyml/flexus_2.0/core/libboost_serialization.a(binary_iarchive.gcc_o)`.gnu.linkonce.t._ZNK5boost7archive17archive_exception4whatEv' referenced in section `.rodata' of /home/jimmyml/flexus_2.0/core/libboost_serialization.a(binary_oarchive.gcc_o): defined in discarded section `.gnu.linkonce.t._ZNK5boost7archive17archive_exception4whatEv' of /home/jimmyml/flexus_2.0/core/libboost_serialization.a(binary_oarchive.gcc_o)collect2: ld returned 1 exit status make[6]: *** [libflexus_CMPFlex_v9_iface_gcc.so] Error 1 make[5]: *** [simics-v9] Error 2 make[4]: *** [CMPFlex] Error 2 make[3]: *** [CMPFlex] Error 2 make[2]: *** [CMPFlex] Error 2 make[1]: *** [CMPFlex] Error 2 make: *** [CMPFlex] Error 2 My make version is 3.80, so that shouldn't be a problem, and it's compiling with GCC 3.4.4. I've had to install several different versions of GCC to try to get it working, but the one that is pointed to is the 3.4.4 version. I am using SUSE, so I'm not sure if the distro would have any effect on this problem (I'm fairly new to Linux, thus explaining a lot of my problems) Again, thank you very much for your help. We're becoming desperate trying to figure out why this hasn't been working. We've heard good things about Flexus and how easy it is to use so I really hope I can get to that point. Thanks, James Larson -------------- next part -------------- An HTML attachment was scrubbed... URL: http://sos.ece.cmu.edu/pipermail/simflex/attachments/20060324/408ae8f8/attachment-0001.html From twenisch at ece.cmu.edu Fri Mar 24 13:07:45 2006 From: twenisch at ece.cmu.edu (Thomas Wenisch) List-Post: [email protected] Date: Fri Mar 24 13:07:58 2006 Subject: [Simflex] Flexus simulator compiling In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> Message-ID: <[email protected]> Hi James, On Fri, 24 Mar 2006, James Larson wrote: > Ok, thank you very much for your help. Here is my full output > > Building CMPFlex for v9_iface_gcc simics > Checking dependant component v9_iface_gcc Common > Checking dependant component v9_iface_gcc BPWarm <snip> > `.gnu.linkonce.t._ZNK5boost7archive17archive_exception4whatEv' referenced in > section `.rodata' of > /home/jimmyml/flexus_2.0/components/CmpCache/CmpCache.v9.iface.gcc.a( > CmpCacheImpl.v9_iface_gcc_o): defined in discarded section <snip> > ld returned 1 exit status > make[6]: *** [libflexus_CMPFlex_v9_iface_gcc.so] Error 1 > make[5]: *** [simics-v9] Error 2 > make[4]: *** [CMPFlex] Error 2 > make[3]: *** [CMPFlex] Error 2 > make[2]: *** [CMPFlex] Error 2 > make[1]: *** [CMPFlex] Error 2 > make: *** [CMPFlex] Error 2 > > > My make version is 3.80, so that shouldn't be a problem, and it's compiling > with GCC 3.4.4. I've had to install several different versions of GCC to > try to get it working, but the one that is pointed to is the 3.4.4 version. > I am using SUSE, so I'm not sure if the distro would have any effect on this > problem (I'm fairly new to Linux, thus explaining a lot of my problems) > The root cause of this issue is apparently a bug in GCC 3.4.x that is exposed by the linker in recent versions of binutils. Apparently gcc emits some instructions to the linker that are incorrect, but were harmless for versions of binutils prior to 2.15.90.0.3. Here are the relevant bug reports for gcc: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16625 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16276 There are also bug reports for binutils that may be related: http://www.sourceware.org/bugzilla/show_bug.cgi?id=2342 Based on looking over various mailing list traffic about these bugs, I believe there are 3 possible ways you can work around these problems: 1) Downgrade to the 2.15.90.0.3 version of binutils, or any earlier release (we use 2.12.90.0.15, which was the default in SuSE 8.1). This fix is a pain, but is guaranteed to work. You will have to hunt around the documentation on SuSE's site to figure out how to install a different version of binutils. You can figure out which version is currently installed with "rpm -q binutils" 2) Try to build Flexus with gcc 4.0.x. The GCC bugs above were fixed in 4.0.0. However, we have not tested Flexus with GCC 4. GCC 4 is still a bit flaky and slower than GCC 3.x, so we have steered clear of it here. It is likely that this will work without error, but you may run into compilation problems. If you do run into errors, post them to the list; we may be able to help you fix them. 3) Try upgrading to the very latest binutils, 2.16.91.0.7, released on 3/17/2006. That release fixes PR 2342. I can't tell for sure that this will solve your problems, but it might. Upgrading binutils may be easier than downgrading it. Hope that helps. Best Regards, -Tom Wenisch Computer Architecture Lab Carnegie Mellon University
