This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Problem with i386/i686/sysdep.h (includes patch)



Compiling without linuxthreads on i686 I got:
/builds/glibc/test-disable-linuxthreads/libc.so.6: undefined reference to `__syscall_error'

I've removed the syscall_error declaration from sysdep.h.  Why was it
needed at all?  Did I miss anything or is this the right fix?  At
least I can run make;make check now.

Andreas

2000-05-19  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/sysv/linux/i386/i686/sysdep.h
	(SYSCALL_ERROR_HANDLER): Remove unneeded syscall_error which
	breaks compilation without linuxthreads.

============================================================
Index: sysdeps/unix/sysv/linux/i386/i686/sysdep.h
--- sysdeps/unix/sysv/linux/i386/i686/sysdep.h	1998/08/23 18:22:44	1.3
+++ sysdeps/unix/sysv/linux/i386/i686/sysdep.h	2000/05/19 16:32:28
@@ -49,7 +49,6 @@
    not modify the stack!  */
 # else
 #  define SYSCALL_ERROR_HANDLER						      \
-  .type syscall_error,@function;					      \
 1:movl (%esp),%ecx;							      \
   ret;									      \
 0:call 1b;								      \

-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]