Never mind. I solved it. I was just choosing a very old version of glibc. I
ended choosing the latest glibc version and setting the minimum kernel version
to 3.0.0. I will try it now with gem5 and see if it will work.
One thing that happened though was that I build the toolchain with out
Thanks for the tip. I was trying to rebuild the toolchain with crosstool-ng
after changing the minimum kernel version, however this time I’m getting this
error:
[CFG ]*** These critical programs are missing or too old: as ld gcc make
[CFG ]*** Check the INSTALL file for required
Shortly after the beginning of _start(), the C library issues the uname() syscall to verify for the minimum kernel version.If you look at gem5/src/arch/arm/linux/process.cc, you will see that in 32-bit mode the emulated syscall returns "3.0.0" and in 64, "3.7.0+".When you configured the toolchain
Quoting Marko Zivkovic mzivk...@hawk.iit.edu:
Hello,
how to solve this problem:
root@debian:/home/marko/
Downloads/gem5# ./build/X86/gem5.opt
configs/example/se.py -c ffmpeg -o --file AVIDemo.avi
gem5 Simulator System. http://gem5.org
gem5 is copyrighted software; use the --copyright option
I had the kernel to old problem and I solved it editing the file
src/arch/x86/linux/syscalls.cc
and changing the line
strcpy(name-release, 2.6.16.19);
with
strcpy(name-release, 3.2.0);
that is my ubuntu kernel version. You can get the kernel version with the
command
uname -r
After
Ali Saidi writes:
Either compile your code on an older system or compile a newer kernel for use
with gem5.
What's the newest kernel version for x86 that anyone got to run in FS mode?
Lluis
--
And it's much the same thing with knowledge, for whenever you learn
something new, the whole