▲ 5 r/kernel+1 crossposts

Debian in Termux... Android in Debian through chroot or QEMU...

Hello I have a few questions about Android images... I would like to create QEMU VM with Android or chroot with Android sysroot... Do you have some low level kernel knowledge to tell mi if this thing is actually possible... I don't want to use SDK Emulator with Ranchu, but actually there is a problem beacuse sdk images don't support VIRTIO I think... I downloaded aosp image from Google but to be honest I don't know if they will work...

Actually I need to get some low level knowledge from some expert in this field... I think Google hides knowledge about Android... in theory its just Linux... but in practice I dont know how to make it work... I think its low lovel kernel knowledge...

Why I asked this question on Termux? Beacuse I think this community is pretty low level, Termux architecture requries low level knowledge on Android...

reddit.com
u/mietkiewski_dev — 2 days ago
▲ 2 r/LLVM

LLVM-21.1.8-MinGW-UCRT

Hello I have problem with my cross compilation Builder... There is compilation pass and linker pass... and for x86_64-w64-mingw32 and aarch64-w64-mingw32 binary file EXE & DLL is Linked with msvcrt instead of ucrt... I don't know why this happened... I want it to be linked with UCRT... Do you know what flags to use or maybe change target names for LLVM to compile for UCRT?

reddit.com
u/mietkiewski_dev — 12 days ago

Switching std c++ lib in LLVM stack

Hello.

I have problem with clang compiler with linker pass... I don't know what Clang flags use to switch between static and dynamic linking for Libs like libc++ linuwind compiler-rt... Linker links them dynamically and I do not want that... Maybe you have some tips for that... I wanted to use libc++ stack instead of GCC libstdc++ ... But for LLVM Libs you should linke them statically...

reddit.com
u/mietkiewski_dev — 12 days ago
▲ 11 r/Zig

ZIG & Symbols for Windows... can you inject them into Exe instead of Pdb?

I think ZIG is pretty good compiler but its wrapper makes things hard... I want debug symbols injected into Exe and its doesn't work... Do you have any idea how to so or is it actually possible? I build my own Build/Deploy tool and It complicates things for me... I don't like to complicate things... Actually I had issues before with Lto - It din't work so I built my own Lto...

reddit.com
u/mietkiewski_dev — 14 days ago

My history with 5th matersal bone recurring injury. Advice needed.

July 2024... First discomfort two years ago

March 2024 I started running with pretty fast progress. But I also liked long walks so in July I had long walk with friend. About 20 Kilometers... It would be more than 3 hours walking. Teoretically nothing happened just one day later I felt discomfort in 5th matersal bone... Because of that I did break for about 4 days. Other than that I trained like nothing happened.

November 2024... First stress reaction that needed a break

In november 2024 there was a race for 5Km... Before I reached the race start I had to do walk about 2-3Km... after the race 2-3Km to come back home... unfortunetally while I was heading back home I felt discomfort in 5th matersal again and was depressed because I knew I will have to do some break from running because I was pretty sure it was some kind of stress reaction/fracture. this time break was longer than 4 days. After that I returned to running but It was harder to come back this time. I think two days before race my training was to fast and It could lead to the injury back then. There was one other problem... My shoes werent 4mm cushoning like most runners now so I guess that dint help either... I had 2.5cm EVA shoes... no fancy cushoning...

May 2025... Second stress reaction that needed a break

In may 2025 there was 10.5Km race... this time again I had to walk about 3.5Km to reach start and 3.5Km to come back home... again while I was coming back home I felt discomfort that led to injury that needed almost 2 weeks of break...

Conclusions and plan to never be injured again...

After second injury I started deeply analyzing running technique. feet shape, feet muscles. why there could be a problem... My conclusions back then were that healty feet should be really wide and that toes should be wide and grap the ground... so I bought toe spacers and I was training musculus abductor digiti minimi and flexor digiti brevis... I thouht that If I will do this my lateral arch will be stronger so there will be less compression to the matersal bone. It wasnt my only conclusion... therotically If sth happened during the race I had to be prepared with logistics to get to the start and come back from race so I used bike for my logisitcs... No more stupid walking before race... after 6 and 8 weeks there was a race and Returned with no problems...

February 2026... Accident with 5th broken toe...

Unfortunetally I ran in home and hit doors really strong... I had fracture in pinky toe... the toe that is near 5th matersal... After some time I started rehab/easy running but I had to change technique and I could use toe spacers & couldn't use toes to grap the ground... my technique was actually just heel striking... Before I was midfoot & forefoot striker...

Nowaday...

I bough new running shoes that pretty cusgioning - Adidas Adizero Evo SL. I had two races recently and I had some mild discomfort when I came back after 2 of them but nothing serious compared two previous injuries... I also come back to toe spacers but still I cant use 100% my fifth toe for ground grapping and still I hellstrike. though I can train now I had this discomfort again and I want to resolve my issue with 5th matersal once and for all. but to be honest I dont know what else I can do. I think issue with 5th matersal biomechanics can be much more complicated than It seems and I need really good advice of Sb with some experiencee and knowledge about this... Feet are so complicated structures... I sometimes wonder if physiotherapists are capable of comprehending feet biomechanics. anyway if you have some advice and similar exprience please share.

reddit.com
u/mietkiewski_dev — 2 months ago
▲ 1 r/termux

ZIG for Termux

What do you think about cross-platform capabilities of ZIG... it can be used to compile cpp/c/zig code but there is problem with this... it lacks Bionic Lib for Android... But maybe if we could modify source code of ZIG with added sysroot for Android from NDK it would allow us to compile code for Android Termux with just one tool that is capable of producing code for many platforms... of course License is problem but anyone could attach sysroot on its own for ZIG directory... what do you think? maybe you have your opinions and ideas... I really need tool that can cross compile for Windows Linux and Android...

reddit.com
u/mietkiewski_dev — 2 months ago