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] New: nscd fails to link when configuring with --disable-hidden-plt


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.


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