Questions tagged [eglibc]

Embedded GLIBC (EGLIBC) was a variant of the GNU C Library (GLIBC) that was designed to work well on embedded systems. EGLIBC strived to be source and binary compatible with GLIBC. EGLIBC's goals included reduced footprint, configurable components, better support for cross-compilation and cross-testing. EGLIBC is no longer developed and such goals are now being addressed directly in GLIBC.

Embedded GLIBC (EGLIBC) was a variant of the GNU C Library (GLIBC) that was designed to work well on embedded systems. EGLIBC strived to be source and binary compatible with GLIBC. EGLIBC's goals included reduced footprint, configurable components, better support for cross-compilation and cross-testing.

EGLIBC is no longer developed and such goals are now being addressed directly in GLIBC.

14 questions
8
votes
2 answers

Dangers of compiling with GNU Libc and running on eglibc in Linux?

I have an executable which pretty much only depends on libc. the output of ldd is: libpthread.so.0 => /lib64/libpthread.so.0 (0x00002b53156b9000) libutil.so.1 => /lib64/libutil.so.1 (0x00002b53158d5000) librt.so.1 => /lib64/librt.so.1…
shoosh
  • 76,898
  • 55
  • 205
  • 325
7
votes
1 answer

What do the fields in the output from `malloc_info` mean?

I'm calling malloc_info(3) and getting XML output. Everything I've found online says something along the lines of "this is subject to change and we're not gonna bother documenting it". But that's not terribly useful for someone investigating a…
Roger Lipscombe
  • 89,048
  • 55
  • 235
  • 380
7
votes
1 answer

Diagnosing mysterious valgrind "invalid write"

[This is lengthy and full of details. My specific questions are introduced by the boldface word Question below.] Summary We are running some of our test suites under valgrind and encountering an error that doesn't make much sense to me. I'm looking…
Gareth McCaughan
  • 19,888
  • 1
  • 41
  • 62
4
votes
1 answer

How to add ldd utility to bitbake image

I need ldd utility in my final image of yocto. When I needed usbutils before, I went ahead and added the line in ../build/conf/local.conf file CORE_IMAGE_EXTRA_INSTALL += "usbutils" After searching around I came to see that ldd is part of the…
o4385630
  • 43
  • 1
  • 5
3
votes
1 answer

The implementation of strncmp

To hone my C skills, I download the eglibc source code and I came across strncpy. I don't see why he distinguished the case where n<=4 and made 4 tests. int STRNCMP (const char *s1, const char *s2, size_t n) { unsigned char c1 = '\0'; unsigned…
Baroudi Safwen
  • 803
  • 6
  • 17
2
votes
2 answers

How to fix GLIBC version mismatch between target and build machine?

I am cross compiling an application for an embedded device (Moxa UC-8100), and I am running into a version issue with GLIBC. I installed Debian 9 (as instructed by the supplier of the embedded device) and using the arm-linux-gnueabihf toolchain.…
Bart Friederichs
  • 33,050
  • 15
  • 95
  • 195
2
votes
1 answer

Compiling with glibc and running kernel that compiled with eglibc

I am using an ARM embedded system (ARM9) that running an embedded linux kernel. The kernel was compile with GCC 4.5.x with the eglibc. Is there any harm running binary which are compiled code with GCC 4.8.x or newer which uses glibc. I've read that…
DontKnow
  • 363
  • 1
  • 3
  • 8
2
votes
1 answer

glibc not found when enabling compiler optimizations

I'm cross compiling a shared library (miniweb) for the beaglebone black device. When I compile without optimizations I have no problems. However, if I compile with any optimizations (ie -O3) I get the following when trying to run my…
dtmland
  • 2,136
  • 4
  • 22
  • 45
2
votes
2 answers

"error: conflicting types for ‘sem_t’" when compiling eglibc-2.19 on Ubuntu

I was trying to build eglibc-2.19 on Ubuntu 14.04 LTS which I downloaded through apt-get source libc6 I followed the INSTALL instructions but got this error when it ran into nptl gcc sem_init.c -c -std=gnu99 -fgnu89-inline -fno-stack-protector -O2…
gpanda
  • 3,282
  • 1
  • 14
  • 13
1
vote
1 answer

How to build SVMstruct Python module on Ubuntu

I downloaded the source code from here. When I run make, I get the following error message: make: Entering directory `/home/christopher/SourceCode/svm-python-v204' cd svm_light; make svm_learn_hideo_noexe make[1]: Entering directory…
user3391229
  • 798
  • 9
  • 17
1
vote
1 answer

Installing nw.js in debian returns error "version `GLIBC_2.14' not found"

I'm trying to install node-webkit in debian 64 bit . I tried the steps in github and its returning error, version GLIBC_2.14 not found I'm not able to install glibc. How can I get rid of this ?
I'm nidhin
  • 2,592
  • 6
  • 36
  • 62
0
votes
1 answer

Where is __lxstat64 in eglibc?

While I was trying to build Plasma5 on Ubuntu Trusty, I got an issue related to eglibc 2.19. /usr/lib/x86_64-linux-gnu/libc_nonshared.a(lstat64.oS): In function ``lstat64': (.text+0xc): undefined reference to ``__lxstat64' I have no idea how to fix…
Magicloud
  • 818
  • 1
  • 7
  • 17
0
votes
1 answer

eglibc: Getting Uptime in Milliseconds

I want to write a log-output with the same format as the kernel-log: [ 11.947248] fsl-gianfar ffe24000.ethernet eth0: Link is Up The timestamp should have the same time-reference as the kernel time. This means, when a log-message is emitted at…
Charly
  • 1,270
  • 19
  • 42
0
votes
1 answer

Unable to build eglibc under cygwin for raspberry pi cross-toolchain

I am using Mikhail Kupchik's tutorial to build a raspberry pi cross-toolchain for Windows. For avoiding problems related to usage of too recent packages I used Cygwin Time Machine. The packages I got are listed here. According to the manual I…
Danny Lo
  • 1,553
  • 4
  • 26
  • 48