uclibc is a version of the C standard library for embedded systems
Questions tagged [uclibc]
110 questions
5
votes
4 answers
Sample example program to get the malloc consolidate error
I want to test the mcheck functionality on my PC first to detect the malloc consolidate error.
This way, i will be sure that this will help to figure out a similar crash on embedded-linux box. Unfortunately, the crash takes atleast 3-4 days. Thus, I…

dexterous
- 6,422
- 12
- 51
- 99
5
votes
1 answer
ARM gentoo crossdev with uclibc: need OABI rather than EABI
Can anyone help with my ARM + GCC + UCLIBC linking issue with crossdev?
Also posted to Gentoo Forums here: http://forums.gentoo.org/viewtopic-t-925012.html
Recently, I was assigned to a project that has executables developed using an old GCC with…

Brian Bruggeman
- 5,008
- 2
- 36
- 55
4
votes
1 answer
Does Uclibc fastbin behaving like Glibc fastbin?
In Glibc there are 7 bins in fastbin from 0x20 to 0xb0 each bin hold only their size. and it's a one-way linked list.
Does the fastbin in Uclibc(0.9.33.2) is the same ? is there any difference ?

python3.789
- 164
- 9
4
votes
0 answers
uClibc Static Compilation Quеstion
I am trying to cross compile for an ARM-based single board computer. I am using a uClibc toolchain designed for the board. I am extremely space constrained as far as ROM size goes, so I am trying to compile with binary size in mind. (Memory…

adibble
- 123
- 6
4
votes
3 answers
Glibc and uClibc side by side on one system
Is it possible to have glibc and uClibc based applications running side-by-side on one system?
Background: We have binary gcc based cross-compiler configured to link with uClibc. We have cross-compiled glibc with it. Now we want to build some…

smbear
- 1,007
- 9
- 17
4
votes
1 answer
Cross Compilation error can't load library 'libc.so.6'
I am trying to implement a dynamic library(liblog.so) which is going to run on i386 controller.
when i compile that in Host Machine (Ubuntu Machine) it compiles and generates the .so file successfully.
liblog.so is the the file which is put under…

Arun Gupta
- 810
- 2
- 9
- 26
4
votes
3 answers
uclinux - link with libc.so.0 library
I'm trying to compile "hello world" C application for embedded system with ARM processor running uClinux.
I'm using this toolchain
When I compiled C application with -static compilation flag the application is working fine.
When I removed -static…

Dima
- 1,253
- 3
- 21
- 31
4
votes
1 answer
cross-compiled Valgrind does not detect obvious leaks
I cross compiled Valgrind to openwrt x86 platform. It doesn't detect any leaks when running on target. On Ubuntu, it works fine.
My test program is simple
main()
{
char *p = malloc(10000);
*(p-1) = 1;
}
Relevant compilation…

user2247407
- 111
- 5
4
votes
1 answer
Which library shall I add to get fcntl64, stat64, ... resolved?
I'm trying to build a project for ARM uClibc environment, but I've some functions missing. Can not find which library shall I include to resolve dependancies. nm do not help me to search, since it says on most of libs coming with toolchain:
nm:…

PoltoS
- 1,232
- 1
- 12
- 32
3
votes
1 answer
Compiling with non primary libc,(i.e eglibc,uClibc)
I am working in an embedded environment. I have a cross compiler for ARM architecture with eglibc as it's primary library (ie. the default libc coming along with the tool chain). Now I want some of the applications to link with uClibc. So I compiled…

user1273627
- 31
- 2
3
votes
2 answers
toolchain and libraries
When we compile a toolchain, we need to specify which library we are using to compile the toolchain. For example, i recently compiled toolchain for openRISC architecture. They gave me an option to choose from uClibc and newlib.
Is it necessary to…

Anay
- 209
- 2
- 6
3
votes
1 answer
How to compile NodeJS on a D-Link DNS 325 with fun_plug 0.5 installed?
I am trying to compile Node on my NAS device, but I get this error, and I don't really know how to make this work:
/node-v0.6.6/deps/v8/src/arm/constants-arm.h:33:2: error: #error ARM EABI support is
required.
scons: *** [obj/release/accessors.o]…

Void
- 1,502
- 3
- 16
- 23
3
votes
0 answers
Which (if any) NDK libraries/headers are compatible with other toolchains
I'm working on a project that is compiled using the arm-linux-musleabi toolchain which builds against musl libc. What are my options to use NDK features such as Android jni.h? Am I wrong when assuming that jni.h on Android NDK is not the same as…

JSON
- 1,819
- 20
- 27
3
votes
1 answer
3
votes
0 answers
Aliasing of symbol using GCC/binutils works intermittently
I'm working on some software which for a limited time runs bare-metal until the Linux port is ready for prime time. The software is being linked against uClibc which provides implementations of malloc, clock_gettime etc, but the problem is that they…

David Holm
- 17,522
- 8
- 47
- 47