I will post a patch to fix the compilation problem in the next few days. -Brandon
From: Andreas Hansson [mailto:andreas.hans...@arm.com] Sent: Friday, March 10, 2017 2:29 AM To: gem5 Developer List <gem5-dev@gem5.org> Cc: Potter, Brandon <brandon.pot...@amd.com> Subject: Re: More problems in SE land Merely a reminder that this is still broken. Andreas From: Andreas Hansson <andreas.hans...@arm.com<mailto:andreas.hans...@arm.com>> Date: Tuesday, 7 March 2017 at 08:54 To: gem5 Developer List <gem5-dev@gem5.org<mailto:gem5-dev@gem5.org>> Subject: More problems in SE land Hi all (and Brandon in particular), More problems in SE land I’m afraid. The following changeset prevents gem5 from building on macOS: commit 2367198921765848a4f5b3d020a7cc5776209f80 Author: Brandon Potter <brandon.pot...@amd.com<mailto:brandon.pot...@amd.com>> Date: Mon Feb 27 14:10:15 2017 -0500 syscall_emul: [PATCH 15/22] add clone/execve for threading and multiprocess simulations Modifies the clone system call and adds execve system call. Requires allowing processes to steal thread contexts from other processes in the same system object and the ability to detach pieces of process state (such as MemState) to allow dynamic sharing. The result is the following: build/ARM/sim/process.cc:157:9: error: use of undeclared identifier 'CLONE_VM' if (CLONE_VM & flags) { ^ build/ARM/sim/process.cc:187:9: error: use of undeclared identifier 'CLONE_FILES' if (CLONE_FILES & flags) { ^ build/ARM/sim/process.cc:227:9: error: use of undeclared identifier 'CLONE_THREAD' if (CLONE_THREAD & flags) { ^ 3 errors generated. I am inclined to suggest we create a linux_process.cc or similar for all the sys calls that are only available on Linux (to avoid ifdef’s all over the place). Andreas IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you. _______________________________________________ gem5-dev mailing list gem5-dev@gem5.org http://m5sim.org/mailman/listinfo/gem5-dev