Top "Glibc" questions

The GNU C library is used as the C library in the GNU system and most systems with the Linux kernel.

What is __i686.get_pc_thunk.bx? Why do we need this call?

When I disassemble my small function, I happened to see this call call 0xf60d2f47 <__i686.get_pc_…

c assembly shared-libraries glibc
Static linking of Glibc

How can i compile my app linking statically glibc library, but only the code needed for my app? (Not all …

c++ g++ glibc static-linking
How compatible are different versions of glibc?

Specifically: Is it assured somehow that all versions of glibc 2.x are binary compatible? If not, how can I run …

installation shared-libraries glibc binary-compatibility
libc source location - for download or online viewing?

Sorry I know this is stupid but where is linux libc source code available? What I downloaded from GNU didn't …

c linux pthreads posix glibc
What's the meaning of the %m formatting specifier?

The output for this code printed out ‘Success’. printf("%m\n");

c printf glibc errno format-specifiers
ImportError: /lib/libc.so.6: version `GLIBC_2.14' not found (required by /usr/lib/libpq.so.5)

I have to run a tornado webapp on a server using psycopg2 with postgresql as backend. I am working on …

postgresql psycopg2 glibc rhel libpq
Will malloc implementations return free-ed memory back to the system?

I have a long-living application with frequent memory allocation-deallocation. Will any malloc implementation return freed memory back to the system? …

free malloc glibc mmap tcmalloc
How to compile my own glibc C standard library from source and use it?

I am trying to compile my own glibc. I have a directory glibc, which contain the glibc source code I …

c linux gcc x86-64 glibc
Could not load shared library symbols for linux-vdso.so.1. while debugging

Not loading VDSO.so is one of the famous bugs you encounter while using gdb and glibc >2.2. I found …

linux gdb glibc
_GNU_SOURCE and __USE_GNU

I want to use CPU_SET, which is a glibc linux-specific macro that should be defined in sched.h The …

c++ c linux gnu glibc