This is the mail archive of the libc-hacker@sources.redhat.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]

Re: ldconfig problems


Andreas Jaeger <aj@suse.de> writes:

|> >>>>> Andreas Schwab writes:
|> 
|> AS> Andreas Jaeger <aj@suse.de> writes:
|> AS> |> Index: sysdeps/generic/dl-cache.h
|> AS> |> --- sysdeps/generic/dl-cache.h	2000/05/17 11:04:01	1.3
|> AS> |> +++ sysdeps/generic/dl-cache.h	2000/07/10 07:38:49
|> AS> |> @@ -27,7 +27,7 @@
|> AS> |>  #endif
|> AS> |>  
|> AS> |>  #ifndef LD_SO_CACHE
|> AS> |> -# define LD_SO_CACHE "/etc/ld.so.cache"
|> AS> |> +# define LD_SO_CACHE SYSCONFDIR ## "ld.so.cache"
|> AS>                                     ^^
|> AS> Please remove this.
|> 
|> If I remove it, I get this warning:
|> ../sysdeps/generic/dl-cache.c:153: warning: left-hand operand of comma expression has no effect
|> 
|> The line is:
|>     _dl_debug_message (1, " search cache=", LD_SO_CACHE, "\n", NULL);
|> 
|> 
|> What shall I do?

That looks like a bug in gcc, unless SYSCONFDIR is not what it is supposed
to be.

Andreas.

-- 
Andreas Schwab                                  "And now for something
SuSE Labs                                        completely different."
Andreas.Schwab@suse.de
SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg

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