[Top][All Lists]

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

Re: Weak symbols in libresolv?

From: Jeff Bailey
Subject: Re: Weak symbols in libresolv?
Date: Fri, 10 May 2002 08:30:39 -0700
User-agent: Mutt/1.3.28i

(Moving to Hurd-devel)

On Thu, May 09, 2002 at 03:24:37PM -0400, Roland McGrath wrote:

> If you are aware of any problems that are holding up the whole libio
> transition stuff, then feel free to remind me frequently.

We still have a problem with the spurious declarations of:

/* These variables normally should not be used directly.  The `strerror'
   function provides all the needed functionality.  */
#ifdef  __USE_BSD
extern int sys_nerr;
extern __const char *__const sys_errlist[];
#ifdef  __USE_GNU
extern int _sys_nerr;
extern __const char *__const _sys_errlist[];

This trips up libiberty.

libiberty is peculilar in that it's not using AC_REPLACE to insert in
its objects.  It always compiles everything and decides what to do
within those source files based on `configure'-type defines.  It
should certainly be fixed, but we should also remove the declarations.

Drepper's response[0] suggests that he might not mind deprecating it
(if it hasn't been already) all over.


Jeff Bailey

 One of the great things about books is sometimes
 there are some fantastic pictures.
 -- George W. Bush 

reply via email to

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