public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug nscd/10314] New: nscd fails to link when configuring with --disable-hidden-plt
@ 2009-06-23 9:22 ura+bz at soum dot co dot jp
2009-06-23 15:13 ` [Bug nscd/10314] " drepper at redhat dot com
2009-08-25 7:21 ` ura+bz at soum dot co dot jp
0 siblings, 2 replies; 4+ messages in thread
From: ura+bz at soum dot co dot jp @ 2009-06-23 9:22 UTC (permalink / raw)
To: glibc-bugs
I tried building glibc-2.10.1 with disable-hidden-plt configure option, nscd
failed to link due to the following error:
make[2]: Entering directory `/home/ura/glibc/glibc-2.10.1/nscd'
connections.c: In function nscd_run_worker:
connections.c:1724: warning: no return statement in function returning non-void
/home/ura/glibc/glibc-2.10.1/build-i686-linuxnptl/nscd/connections.o: In
function `nscd_init':
/home/ura/glibc/glibc-2.10.1/nscd/connections.c:528: warning: warning:
inotify_init1 is not implemented and will always fail
/home/ura/glibc/glibc-2.10.1/build-i686-linuxnptl/nscd/getpwnam_r.o: In
function `__getpwnam_r':
/home/ura/glibc/glibc-2.10.1/nscd/../nss/getXXbyYY_r.c:268: undefined reference
to `__nss_next2'
/home/ura/glibc/glibc-2.10.1/build-i686-linuxnptl/nscd/getpwuid_r.o: In
function `__getpwuid_r':
/home/ura/glibc/glibc-2.10.1/nscd/../nss/getXXbyYY_r.c:268: undefined reference
to `__nss_next2'
/home/ura/glibc/glibc-2.10.1/build-i686-linuxnptl/nscd/getgrnam_r.o: In
function `__getgrnam_r':
/home/ura/glibc/glibc-2.10.1/nscd/../nss/getXXbyYY_r.c:268: undefined reference
to `__nss_next2'
/home/ura/glibc/glibc-2.10.1/build-i686-linuxnptl/nscd/getgrgid_r.o: In
function `__getgrgid_r':
/home/ura/glibc/glibc-2.10.1/nscd/../nss/getXXbyYY_r.c:268: undefined reference
to `__nss_next2'
/home/ura/glibc/glibc-2.10.1/build-i686-linuxnptl/nscd/gethstbyad_r.o: In
function `__gethostbyaddr2_r':
/home/ura/glibc/glibc-2.10.1/nscd/../nss/getXXbyYY_r.c:268: undefined reference
to `__nss_next2'
/home/ura/glibc/glibc-2.10.1/build-i686-linuxnptl/nscd/gethstbynm3_r.o:/home/ura/glibc/glibc-2.10.1/nscd/../nss/getXXbyYY_r.c:268: more undefined references to `__nss_next2' follow
collect2: ld returned 1 exit status
make[2]: *** [/home/ura/glibc/glibc-2.10.1/build-i686-linuxnptl/nscd/nscd] Error 1
make[2]: Leaving directory `/home/ura/glibc/glibc-2.10.1/nscd'
make[1]: *** [nscd/others] Error 2
make[1]: Leaving directory `/home/ura/glibc/glibc-2.10.1'
make: *** [all] Error 2
--
Summary: nscd fails to link when configuring with --disable-
hidden-plt
Product: glibc
Version: 2.10
Status: NEW
Severity: normal
Priority: P2
Component: nscd
AssignedTo: drepper at redhat dot com
ReportedBy: ura+bz at soum dot co dot jp
CC: glibc-bugs at sources dot redhat dot com
GCC build triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug nscd/10314] nscd fails to link when configuring with --disable-hidden-plt
2009-06-23 9:22 [Bug nscd/10314] New: nscd fails to link when configuring with --disable-hidden-plt ura+bz at soum dot co dot jp
@ 2009-06-23 15:13 ` drepper at redhat dot com
2009-08-25 7:21 ` ura+bz at soum dot co dot jp
1 sibling, 0 replies; 4+ messages in thread
From: drepper at redhat dot com @ 2009-06-23 15:13 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From drepper at redhat dot com 2009-06-23 15:12 -------
Then don't use the option. This is why the Makefile rules are what they are.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WONTFIX
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug nscd/10314] nscd fails to link when configuring with --disable-hidden-plt
2009-06-23 9:22 [Bug nscd/10314] New: nscd fails to link when configuring with --disable-hidden-plt ura+bz at soum dot co dot jp
2009-06-23 15:13 ` [Bug nscd/10314] " drepper at redhat dot com
@ 2009-08-25 7:21 ` ura+bz at soum dot co dot jp
1 sibling, 0 replies; 4+ messages in thread
From: ura+bz at soum dot co dot jp @ 2009-08-25 7:21 UTC (permalink / raw)
To: glibc-bugs
------- 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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug nscd/10314] nscd fails to link when configuring with --disable-hidden-plt
[not found] <bug-10314-131@http.sourceware.org/bugzilla/>
@ 2014-07-01 7:57 ` fweimer at redhat dot com
0 siblings, 0 replies; 4+ messages in thread
From: fweimer at redhat dot com @ 2014-07-01 7:57 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=10314
Florian Weimer <fweimer at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Flags| |security-
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-07-01 7:57 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-23 9:22 [Bug nscd/10314] New: nscd fails to link when configuring with --disable-hidden-plt ura+bz at soum dot co dot jp
2009-06-23 15:13 ` [Bug nscd/10314] " drepper at redhat dot com
2009-08-25 7:21 ` ura+bz at soum dot co dot jp
[not found] <bug-10314-131@http.sourceware.org/bugzilla/>
2014-07-01 7:57 ` fweimer at redhat dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).