This is the mail archive of the glibc-bugs@sources.redhat.com 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 nptl/328] New: CVS 20040815 make check fails to build rt/librt.so


Running "make check" on CVS 20040815, get:-

gcc   -shared -static-libgcc -Wl,-O1  -Wl,-z,defs
-Wl,-dynamic-linker=/lib/ld-linux.so.2  -B/build/glibc-2.3.3/csu/ 
-Wl,--version-script=/build/glibc-2.3.3/librt.map -Wl,-soname=librt.so.1
-Wl,-z,combreloc  -L/build/glibc-2.3.3 -L/build/glibc-2.3.3/math
-L/build/glibc-2.3.3/elf -L/build/glibc-2.3.3/dlfcn -L/build/glibc-2.3.3/nss
-L/build/glibc-2.3.3/nis -L/build/glibc-2.3.3/rt -L/build/glibc-2.3.3/resolv
-L/build/glibc-2.3.3/crypt -L/build/glibc-2.3.3/nptl
-Wl,-rpath-link=/build/glibc-2.3.3:/build/glibc-2.3.3/math:/build/glibc-2.3.3/elf:/build/glibc-2.3.3/dlfcn:/build/glibc-2.3.3/nss:/build/glibc-2.3.3/nis:/build/glibc-2.3.3/rt:/build/glibc-2.3.3/resolv:/build/glibc-2.3.3/crypt:/build/glibc-2.3.3/nptl
-o /build/glibc-2.3.3/rt/librt.so -T /build/glibc-2.3.3/shlib.lds
/build/glibc-2.3.3/csu/abi-note.o -Wl,--whole-archive
/build/glibc-2.3.3/rt/librt_pic.a -Wl,--no-whole-archive
/build/glibc-2.3.3/elf/interp.os 
/build/glibc-2.3.3/rt/librt_pic.a(aio_misc.os)(.text+0x73b): In function
`__aio_enqueue_request':
../nptl/sysdeps/unix/sysv/linux/aio_misc.h:48: undefined reference to
`pthread_attr_setstacksize'
/build/glibc-2.3.3/rt/librt_pic.a(aio_misc.os)(.text+0x799):../nptl/sysdeps/unix/sysv/linux/aio_misc.h:58:
undefined reference to `pthread_create'
/build/glibc-2.3.3/rt/librt_pic.a(aio_misc.os)(.text+0xd4f): In function
`handle_fildes_io':
../sysdeps/pthread/aio_misc.c:667: undefined reference to `pthread_create'
/build/glibc-2.3.3/rt/librt_pic.a(aio_notify.os)(.text+0x125): In function
`__aio_notify_only':
../sysdeps/pthread/aio_notify.c:90: undefined reference to `pthread_create'
/build/glibc-2.3.3/rt/librt_pic.a(timer_create.os)(.text+0x19a): In function
`timer_create':
../nptl/sysdeps/unix/sysv/linux/timer_create.c:147: undefined reference to
`pthread_once'
/build/glibc-2.3.3/rt/librt_pic.a(timer_create.os)(.text+0x2ab): In function
`timer_create':
../nptl/sysdeps/pthread/timer_create.c:61: undefined reference to `pthread_once'
/build/glibc-2.3.3/rt/librt_pic.a(timer_delete.os)(.text+0x119): In function
`compat_timer_delete':


(Lots more errors like these)

WORKAROUND

Able to build it by hand by appending to the above gcc command:-

-lpthread /build/glibc-2.3.3/nptl/libpthread.a /build/glibc-2.3.3/libc.a

SOFTWARE REVISIONS
gcc (GCC) 3.4.1
linux 2.6.7
/usr/src/glibc-2.3.3/configure \
  --prefix=/usr \
  --enable-add-ons=nptl \
  --build=i486-pc-linux-gnu \
  --host=i486-pc-linux-gnu \
  --target=i486-pc-linux-gnu \
  --with-tls \
  CFLAGS="-g -O2 -march=opteron" \
  --without-cvs

glibc-2.3.3 is actually CVS 20040815

-- 
           Summary: CVS 20040815 make check fails to build rt/librt.so
           Product: glibc
           Version: 2.3.3
            Status: NEW
          Severity: normal
          Priority: P2
         Component: nptl
        AssignedTo: drepper at redhat dot com
        ReportedBy: duncan_roe at acslink dot net dot au
                CC: glibc-bugs at sources dot redhat dot com
 GCC build triplet: i486-pc-linux-gnu
  GCC host triplet: i486-pc-linux-gnu
GCC target triplet: i486-pc-linux-gnu


http://sources.redhat.com/bugzilla/show_bug.cgi?id=328

------- 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]