227,073 questions
Score of -1
0 answers
82 views
How to avoid Android Kernel from always rebuilding from scratch? [closed]
Every time that I need to build a specific Android Kernel, it restarts the whole build from scratch, ignoring absolutely all previously built objects. In other words, it doesn't matter if I had ...
Score of -2
0 answers
81 views
Adding the files that are not from the source tree to the Makefile
In my program I have the following:
\~/ -> my program folder -> binary folder source code
-> so library 1 source code
-> so library 2 ...
Score of -5
1 answer
125 views
How does ldd select which lib.so file to load?
On my computer I have 2 libraries with the same name - one is proprietary and one is open source.
In my project I explicitly link to the open source one, however during the runtime the other one loads....
Score of 2
1 answer
84 views
What is the minimal LLVM/Clang directory structure needed to compile C and C++ on Linux?
I downloaded the prebuilt LLVM/Clang binaries from the official GitHub Releases page. After extracting the archive, it occupies more than 11 GB of disk space.
I only need Clang to compile C and C++ ...
Advice
1
vote
4
replies
74
views
Is __vmalloc(size, GFP_NOWAIT) really guaranteed not to sleep?
I'm working on a kernel module where I need to allocate a few gigabytes of memory. I want the allocation to fail rather than sleep if it cannot be satisfied immediately.
However, I haven't been able ...
Score of -4
1 answer
79 views
Change naming scheme for copied files [closed]
This question is for Linux Mint 22.1 (Ubuntu 24.04) specifically but it may apply in general.
When a file is copied and pasted into the original directory, the new files are named with the following ...
Score of 0
0 answers
91 views
Flutter application won't relaunch after Gdk-Message: Unable to load from the cursor theme on WSL
I'm running Windows Subsystem for Linux (WSL). There I run Visual Studio Code (VSC).
C:\Users\user>wsl --version
WSL: 2.6.3.0
core: 6.6.87.2-1
WSLg: 1.0.71
MSRDC: 1.2.6353
Direct3D: 1.611.1-...
Advice
0
votes
9
replies
182
views
How can I create a Linux Container in C?
I was looking for something fun to do in C and I saw this one post where someone made a Linux Container in C. Now, I didn't know much about containers (I've used a little bit of Docker before).
From ...
Score of -1
0 answers
38 views
Perf records corrupt traces when running from a Bun scripts
I'm trying to run perf from my Bun script on Ubuntu to record a trace. The problem is if I'm using the SIGKILL signal, the trace come out corrupt. So I need to use the SIGINT signal. But when I do so, ...
Tooling
1
vote
4
replies
193
views
cant find arc and csky compilers
Iâm looking for working versions of csky-gcc and arc-gcc (synopsys arc700) toolchains for Linux.
Iâve already tried building the csky compiler from GitHub, but the build process takes several hours ...
Score of -3
0 answers
79 views
why are there 2 ELF note formats and one of them is undocumented?
https://man.archlinux.org/man/core/man-pages/elf.5.en#Notes_(Nhdr) and https://netbsd.org/docs/kernel/elf-notes.html describe only 1 note format (I will call it format 4):
uint32 name_size;
uint32 ...
Advice
0
votes
2
replies
86
views
My CPU usage is more than 100% showing in htop
Check screenshot of image
I am using Debian in GCP. I was testing my own application to check how much RAM and Storage is uses. To check that I used htop and my application was using more than 100% ...
Score of -1
1 answer
96 views
SAS - IMS in Linux [closed]
I am trying to send IMS records from Mainframe to Linux and process using SAS.
But when i read the file using SAS it shows the minimum record length was 6 and maximum was 800 whereas in mainframe ...
Best practices
3
votes
2
replies
125
views
how to protect PC against supply chain attacks?
Trying to hear about different patterns/methods users protect their systems against opportunistic supply chain attacks on their PCs, not servers.
One major exposure that I -- and I assume many others -...
Score of 1
1 answer
127 views
"Could not find a version that satisfies the requirement libfreenect (from versions: none)" when trying to download libfreenect with pip
I am following instructions on how to install gravbox v1.0. In the instructions, it says to download several python packages, which all worked except for libfreenect. libfreenect instead gave an error ...