What is in build/scons_config.log?
Ali On 03.04.2012 10:10, Iordan Alexandru wrote: > I know I should, but no. The ones with verbose option produced something like this: > > machine:~/gem5$ scons --verbose > scons: Reading SConscript files ... > Checking for leading underscore in global variables...no > Checking for C header file Python.h... yes > Checking for C library pthread... yes > Checking for C library dl... yes > Checking for C library util... yes > Checking for C library m... yes > Checking for C library python2.7... yes > Checking for accept(0,0,0) in C++ library None... yes > Checking for zlibVersion() in C++ library z... yes > Checking for clock_nanosleep(0,0,NULL,NULL) in C library None... no > Checking for clock_nanosleep(0,0,NULL,NULL) in C library rt... yes > Checking for C header file fenv.h... yes > Reading /home/alex/gem5/src/arch/arm/SConsopts > Reading /home/alex/gem5/src/arch/sparc/SConsopts > Reading /home/alex/gem5/src/arch/mips/SConsopts > Reading /home/alex/gem5/src/arch/x86/SConsopts > Reading /home/alex/gem5/src/arch/power/SConsopts > Reading /home/alex/gem5/src/arch/noisa/SConsopts > Reading /home/alex/gem5/src/arch/alpha/SConsopts > Reading /home/alex/gem5/src/cpu/ozone/SConsopts > Reading /home/alex/gem5/src/cpu/simple/SConsopts > Reading /home/alex/gem5/src/cpu/nocpu/SConsopts > Reading /home/alex/gem5/src/cpu/inorder/SConsopts > Reading /home/alex/gem5/src/cpu/checker/SConsopts > Reading /home/alex/gem5/src/cpu/o3/SConsopts > Reading /home/alex/gem5/src/mem/ruby/SConsopts > Reading /home/alex/gem5/src/mem/protocol/SConsopts > Building in /home/alex/gem5/build/ALPHA > Using saved variables file /home/alex/gem5/build/variables/ALPHA > machine:~/gem5$ > > Maybe is worth mentioning that this is happening after I updated and merged to my old repository. But even if the merger screw something up, I still should get some kind of error message right? Since I have no errors, I am blindly looking through SConstruct and SConscripts to find something wrong. > Alexandru > > ------------------------- > FROM: Ali Saidi > TO: Iordan Alexandru ; gem5 users mailing list > SENT: Tuesday, April 3, 2012 3:59 PM > SUBJECT: Re: [gem5-users] Building error > > Did any of them produce more output that you have listed below. You should see some sort of error message. > > Thanks, > Ali > On 03.04.2012 05:58, Iordan Alexandru wrote: > >> Issuing just "scons" is equivalent to "scons build/ALPHA/gem5.debug". But I tried: >> scons --verbose build/ALPHA_MOESI_CMP_directory/gem5.opt >> scons --verbose build/ALPHA_MOESI_CMP_directory/gem5.opt FULL_SYSTEM=True TARGET_ISA='alpha' >> scons --verbose build/ALPHA/gem5.opt >> scons --verbose build/ALPHA/gem5.opt FULL_SYSTEM=True PROTOCOL=MOESI_CMP_directory >> All of them failed to produce a binary. Any ideas why? >> >> ------------------------- >> FROM: Kirtika Ruchandani >> TO: Iordan Alexandru ; gem5 users mailing list >> SENT: Tuesday, April 3, 2012 11:30 AM >> SUBJECT: Re: [gem5-users] Building error >> >> Check previous thread. The command is "scons build/ALPHA/gem5.debug" (or maybe m5.debug in the newer version?) >> >> On Tue, Apr 3, 2012 at 2:28 PM, Iordan Alexandru <[email protected] [2]> wrote: >> >>> Hello >>> >>> I recently updated my repository (changeset: 8926:97f06a79b6f5) and now I am unable to build GEM5. The funny thing is that I don't get any error. I tried the default configuration (according to SConstruct this is build/ALPHA/gem5.debug) and the ALPHA_MOESI_CMP_directory but the result is always the same: no compilation and no GEM5 binary. Below you can see the output I get and a listing of the build/ and build/ALPHA/ directories: >>> >>> machine:~/gem5$ scons >>> scons: Reading SConscript files ... >>> >>> You're missing the gem5 style hook, which automatically checks your code >>> against the gem5 style rules on hg commit and qrefresh commands. This >>> script will now install the hook in your .hg/hgrc file. >>> Press enter to continue, or ctrl-c to abort: >>> Adding style hook to /home/alex/gem5/.hg/hgrc >>> >>> Checking for leading underscore in global variables...no >>> Checking for C header file Python.h... yes >>> Checking for C library pthread... yes >>> Checking for C library dl... yes >>> Checking for C library util... yes >>> Checking for C library m... yes >>> Checking for C library python2.7... yes >>> Checking for accept(0,0,0) in C++ library None... yes >>> Checking for zlibVersion() in C++ library z... yes >>> Checking for clock_nanosleep(0,0,NULL,NULL) in C library None... no >>> Checking for clock_nanosleep(0,0,NULL,NULL) in C library rt... yes >>> Checking for C header file fenv.h... yes >>> Reading SConsopts >>> Building in /home/alex/gem5/build/ALPHA >>> Variables file /home/alex/gem5/build/variables/ALPHA not found, >>> using defaults in /home/alex/gem5/build_opts/ALPHA >>> Generating LALR tables >>> WARNING: 1 shift/reduce conflict >>> machine:~/gem5$ ls build/ >>> ALPHA gzstream libelf scons_config.log sconsign.dblite variables variables.global >>> machine:~/gem5$ ls build/ALPHA/ >>> arch base cpu dev kern mem python SConscript sim unittest >>> machine:~/gem5$ >>> >>> Am I doing something wrong? Am I forgetting some scons option? >>> >>> Alexandru Iordan >>> >>> _______________________________________________ >>> gem5-users mailing list >>> [email protected] [1] >>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users Links: ------ [1] mailto:[email protected] [2] mailto:[email protected]
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
