Hi Jason,
On Wed, 22 Feb 2006, Jason Zebchuk wrote:
> Thomas,
>
> I seem to have solved my own problem. I re-installed the glibc
> libraries and now everything is working fine. My most recent problem
> was a result of 'make install' copy over my glibc libraries with
> different versions. I'm not sure what the original problem was, but it
> seems to have gone away.
"Simics getting shaky" means the Simics intercepted a seg-fault in Flexus.
If you haven't actually changed the code, these are nearly always caused
by:
- libstdc++ incompatibility between Flexus and whatever libstdc++
happens to be at the magic path in Simics
- broken Flexus build (dependencies got screwed up, and not all files
were recompiled. This can happen sometimes when new header files are
added, and then structs within them are changed, because we do not
recalculate dependencies on every build.)
Thus, any time I see an unexplainable seg-fault, I always do a complete
rebuild using the commands " make all-clobber ; make <target>". This is,
of course, rather painful, since a full rebuild takes some time. However,
better to wait 10-15 minutes for a build instead of hours searching for a
non-bug.
>
> I wasn't aware of this, but 'cp' has interesting behaviour if the
> destination file name is a symbolic link. In that case it actually
> copies over the original file. When I was playing around with the glibc
> libraries, I had replced the copied versions with links. Running 'make
> install' after I had done this resulted in overwriting the glibc
> libraries. Then, when I tried to switch back to those libraries, they
> weren't the right ones.
>
> I think makefile.install should be changed to remove the glibc libraries
> from $(SIMICS)/x86-linux/sys/lib before copying new ones there. This
> would have prevented at least one of the problems I had.
>
Seems like a good improvement. Thanks!
> Thanks for your help Thomas.
>
>
> Jason
>
Regards,
-Tom Wenisch
Computer Architecture Lab
Carnegie Mellon University
From sharb at ufl.edu Fri Feb 24 12:25:18 2006
From: sharb at ufl.edu (Shadi Harb)
List-Post: [email protected]
Date: Fri Feb 24 14:09:28 2006
Subject: [Simflex] SimFlex help
Message-ID: <[email protected]>
Hi all,
I am wondering if somebody can help me out of this, I need to
modify Simflex in someway to implement a third level of cache(L3)
in CMP architecture. I would be grateful if I can get any hints or
suggestions.
Thanks in advance
Shadi