I have this simple C code: compiled as: and executed as: prints: Why yyy is not printed? By reducing the issue I've found that: for s ...
I have this simple C code: compiled as: and executed as: prints: Why yyy is not printed? By reducing the issue I've found that: for s ...
Given a bit mask (with M bits set, i.e. popcount(bit_mask) == M), I would like to generate M distinct bit masks that have 1 set bit (of the given bit ...
Suppose I have a short array v of say 8 int64_t. I have an algorithm that needs to access different elements of that array, which are not compile-time ...
Suppose I have two uint16_t[4] arrays, a and b. Each integer in these arrays is in the range [0, 16383], so bits 14 and 15 aren't set. Then I have som ...
Node does recognize the correct arch being used. This results in some trouble getting the correct binaries from some dependencies. uname -m or arch r ...
I'm doing a hobby OS project and I an trying to get Virtual Memory set up. I had another project in an x86 architecture working with Page Tables but I ...
I am on the Apple M1 arm64 chip arm64. I am trying to install the PHP 8.2 module for Apache, e.g. LoadModule php8_module /opt/homebrew/Cellar/php/ ...
SOLVED Going along the lines of the zessx' comment below I ended up solving the problem by adding export DOCKER_DEFAULT_PLATFORM="linux/amd64" to m ...
I'm new to assembly programming, but I've been figuring a lot out by googling and trial and error. I'm trying to write a simple program that prompts t ...
I am trying to load an array of u16s from memory and find the first element that is less than some number, as fast as possible on an M1 mac. I have be ...
I would like to create a multi architecture Docker image containing the native-image binary of my Micronaut application. When running ./gradlew docke ...
I'm trying to use the fftw-3 library in a C++ project on an M1 Mac (OS version Monterey). Both the fftw-3 lib and clang were installed via Macports. ...
I am programming a hobby OS in ARM (targeting Raspberry Pi 3b+) under the AArch64 model. Early during the boot process, we are setting up the stack p ...
I'm trying to run a Python app packaged in a Docker container on an OCI Ampere node. Environment: base image: python:3.10.9-slim built using buil ...
The PHP-compiler on my Raspberry Pi 4 is only using 32 bits instead of 64 bits. I double-checked my kernel-architecture. Everything is configured to 6 ...
I'm trying to compile the following MWE that uses jsoncpp installed from Conan and set up with cmake, using g++-12 (from home-brew) but I'm clashing a ...
I would like to call something like nanosleep from assembly, using only SVC calls. But it is not obvious how to do it using only the limited informati ...
I am trying to compile https://github.com/varigit/linux-imx.git for ARCH=arm64 with CROSS_COMPILE=arm-none-eabi-, but I get the error followed by p ...
Valgrind reports memory definitely lost along with file and function names in x86 machine as expected. x86 machine uname -a: Linux raja-VirtualBox ...
I have the following piece of code called main.cpp that converts an IEE 754 32-bit hex value to float and then converts it into unsigned short. I b ...