On Sat, 3 Mar 2012, Xuhao Chen wrote:
Hi everyone,
When I compile applications (e.g. HelloWorld or PARSEC apps) on the host
machine (with Ubuntu-10.04), and copy the binary into the disk image (by mount
and umount), then launch the x86 FS and run these apps, there is a segmentation
fault shown in the m5term console.
(none) / # ./hello
hello[976]: segfault at c8 ip 00000000f7f43ac7 sp 00000000fff5551c error 6 in
ld-2.6.1.so[f7f3c000+1a000]
Segmentation fault
(none) / #
I then compile apps on Redhat E5 with gcc-4.1.2 and copy into the image,
but there is still this error. Is it because the incompatible kernel
version of the host (compile) and target (execute) platform? Thanks.
It seems to me that you are linking with glibc that is not available on
the disk image.
--
Nilay
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users