This is the mail archive of the libc-help@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]

"make check" fails on ubuntu 14.04


Hi,

I am trying to build and test fresh glibc trunk on ubuntu.
Running 'make check' produces this:

../glibc/configure --prefix=`pwd`/../inst
make -j 32
make install
make -j 32 check


... <100 fails>
FAIL: nptl/tst-sem11
FAIL: nptl/tst-sem12
FAIL: nptl/tst-tsd5
FAIL: rt/tst-cpuclock2
FAIL: rt/tst-mqueue8
FAIL: rt/tst-mqueue8x
Summary of test results:
    106 FAIL
   1600 PASS
    122 XFAIL
      3 XPASS

The failures all look like this one:
/home/kcc/build/rt/tst-mqueue8x: error while loading shared libraries:
libgcc_s.so.1: cannot open shared object file: No such file or
directory

Indeed, if I run the test binary manually I get the same thing:
% rt/tst-mqueue8x
rt/tst-mqueue8x: error while loading shared libraries: libgcc_s.so.1:
cannot open shared object file: No such file or directory
% file rt/tst-mqueue8x
rt/tst-mqueue8x: ELF 64-bit LSB  executable, x86-64, version 1 (SYSV),
dynamically linked (uses shared libs), for GNU/Linux 2.6.32,
BuildID[sha1]=b1ae4e4ef4651225a9ae7ace5b1e806bcc2a3396, not stripped
% ldd rt/tst-mqueue8x
linux-vdso.so.1 =>  (0x00007fffadffe000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f7c5c7a8000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f7c5c58a000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f7c5c1c3000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f7c5bfad000)
/home/kcc/build/../inst/lib/ld-linux-x86-64.so.2 =>
/lib64/ld-linux-x86-64.so.2 (0x00007f7c5c9c6000)
% LD_LIBRARY_PATH=/lib/x86_64-linux-gnu ./rt/tst-mqueue8x
going to cancel mq_receive in-time
... <test PASSES>


I made sure that this is not something specific to my environment by reproducing
the issue on a fresh Ubuntu 14.04 installation. The exact commands on
the new system where:

      sudo apt-get install git build-essential gawk
      git clone git://sourceware.org/git/glibc.git
      mkdir build
      cd build/
      ../glibc/configure --prefix=`pwd`/../inst
      make -j
      make check

Any idea what's wrong?

Thanks,

--kcc


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