bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: glibc CVS (2.3) results


From: Jeff Bailey
Subject: Re: glibc CVS (2.3) results
Date: Mon, 2 Sep 2002 15:57:10 -0700
User-agent: Mutt/1.3.28i

On Mon, Sep 02, 2002 at 03:51:06PM -0400, Roland McGrath wrote:

> Ah, it's overeager PLT reduction in ld.so.  Remove the hidden_proto
> and hidden_def macros for it from include/sys/stat.h and the defns.

I have made changes to two files:

--- include/sys/stat.h  13 Aug 2002 00:23:12 -0000      1.13
+++ include/sys/stat.h  2 Sep 2002 22:47:36 -0000
@@ -13,11 +13,9 @@ extern int __mknod (__const char *__path
                    __mode_t __mode, __dev_t __dev);
 #if !defined NOT_IN_libc || defined IS_IN_rtld
 hidden_proto (__fxstat)
-hidden_proto (__fxstat64)
 hidden_proto (__lxstat)
 hidden_proto (__lxstat64)
 hidden_proto (__xstat)
-hidden_proto (__xstat64)
 #endif
 extern __inline__ int __stat (__const char *__path, struct stat *__statbuf)
 {

--- sysdeps/mach/hurd/dl-sysdep.c       30 Aug 2002 01:31:00 -0000      1.72
+++ sysdeps/mach/hurd/dl-sysdep.c       2 Sep 2002 22:48:26 -0000
@@ -513,7 +513,6 @@ __fxstat64 (int vers, int fd, struct sta
 
   return 0;
 }
-libc_hidden_def (__fxstat64)
 
 int weak_function
 __xstat64 (int vers, const char *file, struct stat64 *buf)
@@ -531,7 +530,6 @@ __xstat64 (int vers, const char *file, s
 
   return 0;
 }
-libc_hidden_def (__xstat64)
 
 /* This function is called by the dynamic linker (rtld.c) to check
    whether debugging malloc is allowed even for SUID binaries.  This

And now when I compile, I get the following link error:

i386-gnu-gcc -nostdlib -nostartfiles -o 
/home/jbailey/cvstree/build.glibc/iconv/iconvconfig  
-Wl,-dynamic-linker=/lib/ld.so.1   -Wl,-z,combreloc 
/home/jbailey/cvstree/build.glibc/csu/crt1.o 
/home/jbailey/cvstree/build.glibc/csu/crti.o `i386-gnu-gcc 
--print-file-name=crtbegin.o` 
/home/jbailey/cvstree/build.glibc/iconv/iconvconfig.o 
/home/jbailey/cvstree/build.glibc/iconv/strtab.o 
/home/jbailey/cvstree/build.glibc/iconv/xmalloc.o  
-Wl,-rpath-link=/home/jbailey/cvstree/build.glibc:/home/jbailey/cvstree/build.glibc/math:/home/jbailey/cvstree/build.glibc/elf:/home/jbailey/cvstree/build.glibc/dlfcn:/home/jbailey/cvstree/build.glibc/nss:/home/jbailey/cvstree/build.glibc/nis:/home/jbailey/cvstree/build.glibc/rt:/home/jbailey/cvstree/build.glibc/resolv:/home/jbailey/cvstree/build.glibc/crypt:/home/jbailey/cvstree/build.glibc/mach:/home/jbailey/cvstree/build.glibc/hurd
 /home/jbailey/cvstree/build.glibc/libc.so.0.3 
/home/jbailey/cvstree/build.glibc/libc_nonshared.a -lgcc `i386-gnu-gcc 
--print-file-name=crtend.o` /home/jbailey/cvstree/build.glibc/csu/crtn.o
/home/jbailey/cvstree/build.glibc/libc.so.0.3: undefined reference to 
`__GI___xstat64'
/home/jbailey/cvstree/build.glibc/libc.so.0.3: undefined reference to 
`__GI___fxstat64'

I'm not sure what I missed.  Grepping for __GI___xstat64 doesn't give
me anything, so I'm not sure where to go next.

Tks,
Jeff Bailey

-- 
At last you cry out in anguish: "Why me?"
God answers: "Why not?"
 - Sheldon Kopp




reply via email to

[Prev in Thread] Current Thread [Next in Thread]