[K42-discussion] Running AIM7
Andrew Baumann
andrewb at cse.unsw.edu.au
Wed Sep 14 14:56:18 EST 2005
On Wed, 14 Sep 2005 11:36 am, Dilma DaSilva wrote:
> Instead of building aim7 in k42 like Andrew has been trying,
> I built it on a linux ppc boot doing chroot to our file system
> image (partDeb.Img.4), and then I ran the app in k42.
FWIW the build succeeds if you force it past the failing mmap() configure
test.
> The benchmark stops when it invokes gethostbyname and gets
> back a NULL pointer. I'm including below the strace from linux and
> TRACEPROC info from k42 for a simple test.
I fixed this by adding the output of "hostname" to /etc/hosts. Eg:
127.0.0.1 localhost.localdomain localhost jet
> Andrew, looking at the source code for the benchmark I got the
> impression that it's possible to run the benchmark without
> AF_UNIX, DGRAM socket (because the part of the test involving
> the socketpair call is protected by #ifndef NO_SOCKETPAIR).
Yeah, it's protected by that, but looking at the code it relies on the output
of socketpair():
#ifndef NO_SOCKETPAIR
status = socketpair(AF_UNIX, SOCK_STREAM, 0, pipefd); /* create
stream sockets */
#endif
(...)
status = read_write_close(i64, "Stream Pipe", pipefd[0],
pipefd[1]); /* do the test */
Andrew
More information about the K42-discussion
mailing list