0
votes
1answer
31 views

install kernel headers without overwriting old headers

I've built a newer (3.16-rc2) kernel which is running fine. My userspace program needs to link against the newer headers as it uses some new definitions in fcntrl.h etc. My question is how do I ...
0
votes
1answer
120 views

LFS-7.5 chapter 6.9 `make check` fails

I am building and installing glibc-2.19 in chapter 6.9 and I encountered this error while executing TIMEOUTFACTOR=16 make -k check | tee glibc-check-log: mv -f ...
2
votes
1answer
256 views

LFS 7.5 - Glibc-2.19 compile errors at section 6.9, are they fatal to my LFS build?

I am using a host Ubuntu 14.04 system, and I am currently going through the Linux From Scratch guide here. At section 6.9, http://www.linuxfromscratch.org/lfs/view/stable/chapter06/glibc.html, after ...
2
votes
2answers
205 views

Libraries crash after installing experimental version of libc6

My Debian system is not booting anymore after installing the experimental version of libc6. I've got this message on boot: /sbin/init: error while loading shared libraries: libsepol.so.1: ...
5
votes
1answer
96 views

Upgrade kernel for linux system without upgrading user apps/libs?

I built a custom Linux "recovery-cd" image that consists of a compressed initrd and boots via bcdedit (like Ubuntu Wubi) instead of a physical CD. It has various recovery tools for partition editing, ...
1
vote
1answer
60 views

Can the wilderness chunk be busy?

I'm curious about one aspect of heap management in linux, and particularly in ubuntu's build of glibc 2.17. I understand that the last chunk in each heap, the top or wilderness chunk, tends to be ...
1
vote
2answers
811 views

How to install multiple glibc on fedora

I have Fedora 4 installed on my computer and it has glibc version 2.5.3, but I want to install a software that needs a glibc 2.7+. On the other hand, I have some programs that need this 2.5.3 version. ...
1
vote
1answer
124 views

Is there any way to attach latrace to an already-running process?

I want to trace a running multi-threaded process's library calls. As of 5 November 2012, there's only one way to get ltrace to fully support tracing multi-threaded processes: you must check out and ...
1
vote
0answers
440 views

Eglibc cannot compile suffix of object files while trying to cross compile

I'm currently making my way through Trac's CLFS book. When trying to configure the 32-bit version of EGLIBC-2.15, using the options: BUILD_CC="gcc" CC="${CLFS_TARGET}-gcc ${BUILD32}" \ ...
7
votes
1answer
281 views

How to make linux 'perf record' work for libc and libstdc++ symbols?

I'm using perf record -g on x86-64 Linux to profile a program. Several symbols in libc or libstdc++ have 0 as a parent: __GI___strcmp_ssse3 (libc) and strcmp@plt (libstdc++) for example. (I can ...
2
votes
2answers
710 views

Can I build a linux distro with libc instead of glibc

I recently had a conversation with a friend who is a highly skill software engineer, and he showed me some articles outlining the fact libc was much better than glibc. I wonder if its possible to ...
5
votes
3answers
1k views

Is the Solaris libc based on the GNU libc?

On Solaris: basename.c #include <stdio.h> #include <libgen.h> int main(int argc, char* argv[]) { int len = strlen(argv[0]); char *bsname = basename(argv[0]); printf("%s\n", ...
5
votes
1answer
328 views

Where to find the source file of function pause(void) and sigsuspend(set)

I want to find the source file of pause and sigsuspend in the glibc-2.14.1 package. I grep the package and find the file sysdeps/posix/pause.c has a definition of function pause, the code is int ...
3
votes
1answer
1k views

How can I downgrade a glibc version?

I upgraded glibc for a reason that isn't arround anymore so i want to downgrade it again. The stupid thing is a lot of programms rely on glibc at the moment. I still have the 2.4 version on the system ...
6
votes
1answer
2k views

Can new glibc versions be used with an old kernel?

Apparently glibc can be compiled with --enable-kernel to support older kernel versions. However, I haven't been able to find information on what kernel versions are supported on a particular glibc ...
5
votes
1answer
784 views

EGLIBC vs GLIBC on laptops

From what I understand the primary cause of fork/branch of EGLIBC as compared to GLIBC was the problem with patches for ARM that Debian devs wanted to push upstream. I have slightly different ...