Re: [Gems-users] GEMS 2.0: errors when compiling opal


Date: Wed, 17 Oct 2007 11:19:32 -0500 (CDT)
From: Luke Yen <lyen@xxxxxxxxxxx>
Subject: Re: [Gems-users] GEMS 2.0: errors when compiling opal

This is a gcc-specific problem. I tested and these errors go away when compiling with gcc 4.2.2, the one I used to test gcc 4.X compilation with Opal.

   Luke

On Wed, 17 Oct 2007, Ricardo Quislant del Barrio wrote:

Hello,
I'm trying to install GEMS 2.0 in my x86/Linux Ubuntu6 machine.
Ruby compiles fine but when compiling Opal I experience some problems:

system/memop.h:298: warning: ?class load_interface_t? has virtual
functions but non-virtual destructor
system/mshr.h:145: warning: ?class miss_t? has virtual functions but
non-virtual destructor
system/wait.h:102: warning: ?virtual void waiter_t::Wakeup(uint32)? was
hidden
system/mshr.h:164: warning: by ?virtual void miss_t::Wakeup()?
system/cache.h:52: warning: ?class cache_t? has virtual functions but
non-virtual destructor
system/cache.h: In member function ?bool
generic_cache_template<BlockType>::Read(pa_t, waiter_t*, bool, bool*)?:
system/cache.h:226: error: ISO C++ forbids comparison between pointer
and integer
system/cache.h: In member function ?bool
generic_cache_template<BlockType>::Write(pa_t, waiter_t*)?:
system/cache.h:248: error: ISO C++ forbids comparison between pointer
and integer
system/pseq.h: In member function ?int pseq_t::getTotalSlotsTaken()?:
system/pseq.h:673: warning: comparison between signed and unsigned
integer expressions
system/pseq.h: In member function ?void pseq_t::addICountStat(int, int)?:
system/pseq.h:1631: warning: comparison between signed and unsigned
integer expressions
system/pseq.h: At global scope:
system/pseq.h:1928: warning: ?class proc_waiter_t? has virtual functions
but non-virtual destructor
system/wait.h:102: warning: ?virtual void waiter_t::Wakeup(uint32)? was
hidden
system/pseq.h:1931: warning: by ?virtual void proc_waiter_t::Wakeup()?
make[1]: *** [x86-linux/obj/symtrace.o] Error 1
make[1]: Leaving directory `/home/quislant/gems-2.0/opal'
make: *** [module] Error 2

Anyone has any idea?
g++ version: 4.0.3
_______________________________________________
Gems-users mailing list
Gems-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/gems-users
Use Google to search the GEMS Users mailing list by adding "site:https://lists.cs.wisc.edu/archive/gems-users/"; to your search.


[← Prev in Thread] Current Thread [Next in Thread→]