50 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
2
votes
0
answers
71
views
How to get dso infomations in linux perf call graph?
I want to find in perf's call graph which function of a certain library function is called by the corresponding source code function of the binary file, and get this data for parsing, but the call ...
2
votes
0
answers
33
views
How to produce backtraces from an I/O hooking preload library?
I am creating a shared library that overrides the open(2) standard routine. Its purpose is to log all uses of this API in the program under test,
LD_PRELOAD=libiohook.so ./test
And produce useful ...
-1
votes
1
answer
105
views
how to alterate state in array object at v-for loop?
im making a inventory system at Vue Js using Nuxt. im trying to make a function that find in the invendory and if the item exist in the inventory the quantity increase in one. The problem? the ...
1
vote
1
answer
1k
views
How do I build a newlib RISC-V toolchain with a modified linker script?
I'm trying to build a GCC/newlib cross compilation toolchain targeting an embedded OS on RISC-V. For this purpose, I need to modify the virtual addresses that binaries are linked at.
One way to ...
1
vote
0
answers
774
views
execvp: /bin/sh: Argument list too long while building glibc 2.5 with crosstool-ng
I am trying to upgrade our build server from opensuse 9 to ubuntu 14.04. Our target operative system is uClinux with kernel 2.6.24 and glibc 2.5 and gcc 4.2.1. We are using crosstool-ng for building ...
0
votes
0
answers
961
views
seg fault when calling libc init
I am trying to run an application on an embedded target by using custom (newer version) dynamic linker/loader and libraries instead of default installed ones.
But when i try to run a simple hello ...
1
vote
1
answer
185
views
KERNELCONFIG while building toolchain using crosstool-ng
I am trying to update our cross compiler toolchain from crosstool to crosstool-ng. We are using an old kernel and build machine. I could install and configure crosstool-ng-1.0.0 on the server and ...
3
votes
0
answers
1k
views
Building 64-bit MIPS Big endian cross-compiler toolchain
I am trying to build a 64-bit MIPS big endian cross-compiler toolchain. I have been using the following guide (substituting aarch64 for mips64):
https://preshing.com/20141119/how-to-build-a-gcc-cross-...
0
votes
2
answers
2k
views
Buildroot - menuconfig creates config, but won't make
I'm trying to use buildroot to create a cross-compiler toolchain for MIPS64 (little endian).
I have run make menuconfig and have set the target to MIPS64 (little endian). Also I am being told that ...
0
votes
1
answer
388
views
If the same code is built at different folders using arm-poky-linux-gnueabi-gcc, the resulting binary will have different contents
I have a source code and I am trying to cross compile for armv7 architecture it is getting compiled and generating binary file. When I compile the same code in a different directory then generated ...
11
votes
1
answer
5k
views
What exactly is a toolchain?
I searched it on google and got the below result.
a toolchain is a set of programming tools that are used to perform a complex>software development task or to create a software product, which is ...
24
votes
1
answer
17k
views
What is the difference between ar/nm and gcc-ar/gcc-nm?
ar, nm, and ranlib are provided by the binutils package. gcc-ar, gcc-nm, and gcc-ranlib are provided by the GCC package. I read somewhere that the gcc-ar, gcc-nm, and gcc-ranlib are "effectively ...
2
votes
1
answer
1k
views
Newlib: embedded vs desktop
I'm compiling a Linux toolchain based on Newlib for a toy project.
Newlib's official page reports:
Newlib is a C library intended for use on embedded systems.
but without providing any particular ...
7
votes
1
answer
2k
views
Building GCC without mpc, mpfr and gmp
I need to use lesser version of packages for building my toolchain. Is there anyway to build gcc by disabling the mpc, mpfr and gmp packages?
0
votes
1
answer
3k
views
Buildroot toolchain with openssl
I am using Buildroot (2017年02月5日) to build a custom cross compilation toolchain. I have two buildroot configurations; one to build the RFS and one purely to build a toolchain. I have things configured ...