This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug nscd/10314] nscd fails to link when configuring with --disable-hidden-plt


------- Additional Comments From ura+bz at soum dot co dot jp  2009-08-25 07:21 -------
I see, but I need glibc with --disable-hidden-plt.

I found the cause of this link error. The cause is the "atrribute_hidden" in
the declaration of "__nss_next2()" occurres. The link successes by appling
the following patch.


--- nss/nsswitch.h.orig	2009-08-19 16:59:31.000000000 +0900
+++ nss/nsswitch.h	2009-08-19 17:03:43.000000000 +0900
@@ -127,7 +127,7 @@
    natural end.  */
 extern int __nss_next2 (service_user **ni, const char *fct_name,
 			const char *fct2_name, void **fctp, int status,
-			int all_values) attribute_hidden;
+			int all_values);
 libc_hidden_proto (__nss_next2)
 extern int __nss_next (service_user **ni, const char *fct_name, void **fctp,
 		       int status, int all_values);
(In reply to comment #1)
> Then don't use the option.  This is why the Makefile rules are what they are.

(In reply to comment #1)
> Then don't use the option.  This is why the Makefile rules are what they are.



-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=10314

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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