Steve, you had commented that panic() and fatal() are marked as "no return". Then, why should these warnings appear? And why would the compiler be fine with ERROR_MSG?

--
Nilay

On Thu, 23 Dec 2010, Nilay Vaish wrote:

I am using GCC 4.4, I never see any of these warnings. Let me try with 4.2.4.

Nilay

On Thu, 23 Dec 2010, Steve Reinhardt wrote:

Did you try with debug, opt, and fast?

I see these errors a lot in the regressions:

/z/m5/regression/zizzer/m5/build/ALPHA_SE_MOESI_CMP_directory/mem/ruby/system/PerfectCacheMemory.hh:127:
warning: no return statement in function returning non-void
/z/m5/regression/zizzer/m5/build/ALPHA_SE_MOESI_CMP_directory/mem/ruby/system/PerfectCacheMemory.hh:170:
warning: no return statement in function returning non-void
cc1plus: warnings being treated as errors

If you're not seeing that with any of the builds, maybe you're using a
different gcc version... zizzer has 4.2.4.

Or maybe something's just messed up on zizzer... let me know if you think
those errors are bogus.

Steve

On Thu, Dec 23, 2010 at 7:36 AM, Nilay Vaish <ni...@cs.wisc.edu> wrote:

I ran the regression tests on a fresh m5 clone for the two MOESI protocols
and they pass. Can some one explain to me what the error messages mean? Can
I have look at the file - /z/m5/regression/regress-2010-12-23-03:00:01?

--
Nilay



On Thu, 23 Dec 2010, nathan binkert wrote:

 Don't forget to compile m5.fast.  Things are compiled differently in
m5.debug/m5.opt and m5.fast

 Nate

On Thu, Dec 23, 2010 at 6:52 AM, Nilay Vaish <ni...@cs.wisc.edu> wrote:

I am looking in to why the tests failed.

--
Nilay

m5-dev mailing list
m5-dev@m5sim.org
http://m5sim.org/mailman/listinfo/m5-dev


 _______________________________________________
m5-dev mailing list
m5-dev@m5sim.org
http://m5sim.org/mailman/listinfo/m5-dev

 _______________________________________________
m5-dev mailing list
m5-dev@m5sim.org
http://m5sim.org/mailman/listinfo/m5-dev


_______________________________________________
m5-dev mailing list
m5-dev@m5sim.org
http://m5sim.org/mailman/listinfo/m5-dev

_______________________________________________
m5-dev mailing list
m5-dev@m5sim.org
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to