[Buildroot] standard libc libm support

Peter Korsgaard jacmet at uclibc.org
Mon Jul 20 17:58:41 UTC 2009

>>>>> "nfrench" == nfrench  <nfrench at xtale.biz> writes:

 nfrench> Will there be any chance of libm and libc support /
 nfrench> options. NVIDIA OpenGL drivers a bit of a problem at the
 nfrench> moment. ( I know its due to them being closed source but
 nfrench> they are fast and with the ION chip very good).
 >> What exactly are you missing regarding math support?

 nfrench>  ldd /usr/lib64/libGL.so.185.18.14
 nfrench>         linux-vdso.so.1 =>  (0x00007fff789a1000)
 nfrench>         libGLcore.so.1 => /usr/lib64/libGLcore.so.1 (0x00007f3e9d1e0000)
 nfrench>         libnvidia-tls.so.1 => /usr/lib64/tls/libnvidia-tls.so.1
 nfrench> (0x00007f3e9d0de000)
 nfrench>         libm.so.6 => /lib/libm.so.6 (0x00007f3e9cf5e000)
 nfrench>         libXext.so.6 => /usr/XORG/lib/libXext.so.6 (0x00007f3e9ce4c000)
 nfrench>         libX11.so.6 => /usr/XORG/lib/libX11.so.6 (0x00007f3e9cc3c000)
 nfrench>         libdl.so.2 => /lib/libdl.so.2 (0x00007f3e9cb38000)
 nfrench>         libc.so.6 => /lib/libc.so.6 (0x00007f3e9c90e000)
 nfrench>         libXau.so.6 => /usr/XORG/lib/libXau.so.6 (0x00007f3e9c80b000)
 nfrench>         libXdmcp.so.6 => /usr/XORG/lib/libXdmcp.so.6 (0x00007f3e9c706000)
 nfrench>         /lib/ld-linux-x86-64.so.2 (0x00007f3e9e6eb000)

 nfrench> says it all really, Unfortunately I have no control over NVIDIA :-)

I still don't understand what the problem is. I take it that the above
is from a glibc compilation? From a recent x86-64 build:

ls ./lib
ld64-uClibc-  libgcc_s.so.1           libresolv.so.0
ld64-uClibc.so.0         libm-        librt-
libcrypt-     libm.so.0               librt.so.0
libcrypt.so.0            libnsl-      libuClibc-
libc.so.0                libnsl.so.0             libutil-
libdl-        libpthread-  libutil.so.0
libdl.so.0               libpthread.so.0
libgcc_s.so              libresolv-

E.G. it gives you a libm-*.so

Or is the the problem that the nvidia libGL*.so is closed source and
linked against glibc? Then I guess you're forced into using an
external glibc toolchain.

Bye, Peter Korsgaard

More information about the buildroot mailing list