[Bug 1022111] Re: dynamic linker issue causes run time errors

Justin Cormack 1022111 at bugs.launchpad.net
Sun Jul 15 09:13:11 UTC 2012


Please close, this is a false alert due to incorrect symlink on my
system being picked up by linker, sorry.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to eglibc in Ubuntu.
https://bugs.launchpad.net/bugs/1022111

Title:
  dynamic linker issue causes run time errors

Status in “eglibc” package in Ubuntu:
  New

Bug description:
  This came from a Makefile on something I was trying to build, which
  fortunately provides an easy test case.

  Linking with -dl is completely failing.

  Compile this program: test.c

  #include <stdio.h>
  int main() { printf("Ok\n"); return(0); }

  with

  /usr/bin/gcc -o test -O2 -fno-strict-aliasing -pipe -fstack-protector
  -I/usr/local/include -fstack-protector -L/lib -L/lib64 -L/usr/lib
  test.c -lnsl -ldl -lm -lcrypt -lutil -lc

  and run ./test I get:

  ./test
  Ok
  Inconsistency detected by ld.so: dl-fini.c: 207: _dl_fini: Assertion `ns != 0 || i == nloaded' failed!

  Ubuntu 12.04, up to date.

  gcc -v
  Using built-in specs.
  COLLECT_GCC=gcc
  COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.6/lto-wrapper
  Target: x86_64-linux-gnu
  Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.6.3-1ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
  Thread model: posix
  gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/1022111/+subscriptions




More information about the foundations-bugs mailing list