From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IZtyh-0001yH-0B for qemu-devel@nongnu.org; Mon, 24 Sep 2007 15:52:23 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IZtye-0001rR-AP for qemu-devel@nongnu.org; Mon, 24 Sep 2007 15:52:22 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IZtye-0001rB-5A for qemu-devel@nongnu.org; Mon, 24 Sep 2007 15:52:20 -0400 Received: from owa.c2.net ([207.235.78.2] helo=email.c2.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IZtyd-0001oS-MR for qemu-devel@nongnu.org; Mon, 24 Sep 2007 15:52:19 -0400 Subject: Re: [Qemu-devel] Re: [PATCH] linux-user utimensat() syscall From: Thayne Harbaugh In-Reply-To: References: <1190205992.9564.88.camel@phantasm.home.enterpriseandprosperity.com> <1190206302.9564.91.camel@phantasm.home.enterpriseandprosperity.com> <20070923154205.GB20994@networkno.de> Content-Type: text/plain Date: Mon, 24 Sep 2007 13:45:12 -0600 Message-Id: <1190663112.8288.14.camel@phantasm.home.enterpriseandprosperity.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Reply-To: thayne@c2.net, qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On Sun, 2007-09-23 at 12:58 -0400, Stuart Anderson wrote: > On Sun, 23 Sep 2007, Thiemo Seufer wrote: > > > Thayne Harbaugh wrote: > >> This patch adds the utimensat syscall to linux-user Oops! > > Doesn't build: > > > > gcc-3.4 -g -Wl,-T,/home/ths/qemu/qemu-work/ppc.ld -o qemu-arm main.o syscall.o mmap.o signal.o path.o osdep.o thunk.o elfload.o linuxload.o flatload.o nwfpe/fpa11.o nwfpe/fpa11_cpdo.o nwfpe/fpa11_cpdt.o nwfpe/fpa11_cprt.o nwfpe/fpopcode.o nwfpe/single_cpdo.o nwfpe/double_cpdo.o nwfpe/extended_cpdo.o arm-semi.o libqemu.a gdbstub.o -lm -lrt > > syscall.o: In function `do_syscall': > > /home/ths/qemu/qemu-work/linux-user/syscall.c:4665: undefined reference to `copy_from_user_timespec' > > /home/ths/qemu/qemu-work/linux-user/syscall.c:4665: undefined reference to `copy_from_user_timespec' > > It's looking for something that is in the EFAULT patch. Yeah, I guess I had the EFAULT patch applied. I'll work up a patch for utimensat() without the EFAULT patch.