From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C9Et5-00012R-Ra for user-mode-linux-devel@lists.sourceforge.net; Sun, 19 Sep 2004 20:30:47 -0700 Received: from cyphermail.sandelman.ottawa.on.ca ([205.150.200.161] helo=noxmail.sandelman.ottawa.on.ca) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.41) id 1C9Et5-00054P-2y for user-mode-linux-devel@lists.sourceforge.net; Sun, 19 Sep 2004 20:30:47 -0700 Received: from lox.sandelman.ottawa.on.ca (IDENT:root@lox.sandelman.ottawa.on.ca [205.150.200.178]) by noxmail.sandelman.ottawa.on.ca (8.11.6p3/8.11.6) with ESMTP id i8K3UUm02345 (using TLSv1/SSLv3 with cipher EDH-RSA-DES-CBC3-SHA (168 bits) verified FAIL) for ; Sun, 19 Sep 2004 23:30:38 -0400 (EDT) Received: from sandelman.ottawa.on.ca (wlan232.sandelman.ca [205.150.200.232]) by lox.sandelman.ottawa.on.ca (8.11.6p3/8.11.6) with ESMTP id i8K3acU23437 (using TLSv1/SSLv3 with cipher EDH-RSA-DES-CBC3-SHA (168 bits) verified NO) for ; Sun, 19 Sep 2004 23:36:44 -0400 (EDT) Received: from sandelman.ottawa.on.ca (marajade [127.0.0.1]) by sandelman.ottawa.on.ca (8.12.11/8.12.3/Debian-6.6) with ESMTP id i8K3SjJs024040 for ; Sun, 19 Sep 2004 23:28:46 -0400 Received: from marajade.sandelman.ottawa.on.ca (mcr@localhost) by sandelman.ottawa.on.ca (8.12.11/8.12.3/Debian-6.6) with ESMTP id i8K0TcUU020863 for ; Sun, 19 Sep 2004 20:29:38 -0400 Mime-Version: 1.0 (generated by tm-edit 1.8) Content-Type: text/plain; charset=US-ASCII Message-ID: <20862.1095640178@marajade.sandelman.ottawa.on.ca> From: Michael Richardson Subject: [uml-devel] 2.4.26 and strstr Sender: user-mode-linux-devel-admin@lists.sourceforge.net Errors-To: user-mode-linux-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: The user-mode Linux development list List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun, 19 Sep 2004 20:29:38 -0400 To: user-mode-linux-devel -----BEGIN PGP SIGNED MESSAGE----- I recently moved from 2.4.19 for the Openswan regression tests to 2.4.26. (a number of kernels in between were just not as stable) I encountered a problem with strstr(). It was no longer available to modules. It did link okay when I built our code statically.. I don't know that is because it was linking (incorrectly) against libc, or what. strstr() is an hand assembled in arch/i386/lib/strstr.c. As far as I can see, there is nothing to build any of the code there. I think that the answer is that arch/um/sys-i386 should have strstr.c added to the Makefile, but I'm far from sure on this. In particular, this does not seem to make the symbol available to modules. (yes, I threw EXPORT_SYMTAB in). {I don't honestly know why this routine isn't inlined with the rest of the string.h routines.} -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Finger me for keys iQCVAwUBQU4kbYqHRg3pndX9AQGsfwP/Xl1BBOFH+2RzMatxY+t4FAecbyoqYZWu mZhe6qft7+45eDkQUx+Pk4sfO2PSzryJJ8wxHjHPNkQeAby5y2Slzh8bJDseXu3D vv7SadBQdKY2GByEaQOvU+Zz08nWM2K5XxxB4KxKdKnfv3Jr/A+aKDPnRn9A0qad lu9fpEoRGik= =zZGx -----END PGP SIGNATURE----- marajade-[openswan-2/nightly/UMLPOOL/plain] mcr 1019 %diff -u arch/um/sys-i386/Makefile~ arch/um/sys-i386/Makefile --- arch/um/sys-i386/Makefile~ 2004-09-15 15:44:43.000000000 -0400 +++ arch/um/sys-i386/Makefile 2004-09-19 20:23:27.000000000 -0400 @@ -6,15 +6,16 @@ O_TARGET = built-in.o obj-y = bugs.o checksum.o extable.o fault.o ksyms.o ldt.o ptrace.o \ - ptrace_user.o semaphore.o sigcontext.o syscalls.o sysrq.o + ptrace_user.o semaphore.o sigcontext.o syscalls.o sysrq.o strstr.o export-objs = ksyms.o USER_OBJS = bugs.o ptrace_user.o sigcontext.o fault.o -SYMLINKS = semaphore.c extable.c +SYMLINKS = semaphore.c extable.c strstr.c semaphore.c-dir = kernel extable.c-dir = mm +strstr.c-dir = lib include $(TOPDIR)/Rules.make ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel