Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
43 views

I am building a wheel of PyTorch from source, based on their https://github.com/pytorch/pytorch/blob/v2.6.0/.ci/manywheel/build_common.sh CI build script. I tested on a "local" instance of a ...
Corneau's user avatar
  • 91
0 votes
0 answers
44 views

I have a project that fails to build. PS C:\Users\me\Data\personal\rust\sdl-learn> cargo build Compiling sdl-learn v0.1.0 (C:\Users\me\Data\personal\rust\sdl-learn) error: linking with `link.exe`...
damix911's user avatar
  • 4,475
5 votes
1 answer
76 views

I'm writing a hello-world program in i386 assembly for OpenBSD 7.8. The program works if the string (buf argument of write(2)) is in .data or on the stack, but write(2) returns EFAULT (== 14) if the ...
pts's user avatar
  • 88.7k
0 votes
0 answers
54 views

I have a CMake based Windows library project that only links successfully with the MSVC link.exe due to some obscure third party library dependencies. However, I want to compile the project using the ...
PluginPenguin's user avatar
-1 votes
1 answer
94 views

Minimum reproducible example: // dynamic.hpp class Test { private: static void update(); }; // dynamic.cpp #include "dynamic.hpp" #include <iostream> void Test::update() { ...
Placeblock's user avatar
2 votes
1 answer
106 views

GNU documentation is really poor and is worded in a way that seem to imply that you can only assign version only to symbols that are listed explicitly either under global: or local:, but those are ...
Dan M.'s user avatar
  • 4,074
0 votes
0 answers
34 views

I'm cross-compiling avr-gcc statically (in order not to depend on Android linker) to work on aarch64 android devices. gcc is compiled with the flags: generic_arm64:/data/data/myapp/files/sdk/hardware/...
4ntoine's user avatar
  • 20.6k
3 votes
0 answers
107 views

TLDR: On an embedded system, I have to place certain buffers to their own section to be used with DMA. However, the resulting section seems to contain unexplainable gaps. What could be going wrong? ...
Timo's user avatar
  • 971
4 votes
1 answer
104 views

On Windows 11, the BCrypt library contains the Microsoft cryptographic functions. I have noticed a unique behaviour of the linker when linking against bcrypt.dll and I would appreciate the opinion of ...
Thierry Lelegard's user avatar
0 votes
0 answers
25 views

The scenario is this: My compilation environment is unified, using the lower-level glibc_2.18. I want to depend on a CUDA .so file compiled using the higher-level glibc_2.27. My runtime environment ...
zcfh's user avatar
  • 131
0 votes
1 answer
51 views

I have one dynamic library with the function: extern "C" void start() { } And a second dynamic library with the function: extern "C" void start() { } Exactly the same. I open up ...
Zebrafish's user avatar
  • 16.3k
6 votes
1 answer
119 views

Even though this might look like duplication, I'd claim that it isn't. Why does a compiler make the Foo function, which is defined in foo.c as inline double Foo() { return 1.2; }, a global function if ...
Stephen's user avatar
  • 735
5 votes
1 answer
202 views

I'm trying to link a zig static library with golang. here is my build.zig const std = @import("std"); pub fn build(b: *std.Build) void { const windows = b.option(bool, "windows&...
vuzzie's user avatar
  • 133
0 votes
0 answers
70 views

I have a cocoapods library. This library has some C functions that I have exposed globally: #define EXPORT __attribute__((visibility("default"), used, retain)) extern "C" EXPORT ...
Oscar Franco's user avatar
  • 6,320
0 votes
1 answer
41 views

I'm using CLion to build a C++ or a C project. Looking at the project's CMake Profiles, I notice I can choose a toolchain; and looking at the toolchains dialog, I see an entry for choosing a C ...
einpoklum's user avatar
  • 137k
1 vote
0 answers
58 views

TL;DR: Is there a way to specify custom link order when CMake managed dependencies seems not enough? I'm developing a toy OS for fun and having trouble linking in the GCC crt* files responsible for ...
curbalman's user avatar
0 votes
1 answer
105 views

I'm writing a bare-metal firmware for a virtual RISC-V SoC. Below is code that communicates with a physical device on the SoC and it is using constant data from the my_data array that sits in ROM. The ...
TobiPlusPlus's user avatar
2 votes
1 answer
161 views

I am making a small application with glfw. I'm not using CMake and instead opted to make a custom build system for more control, but I'm getting an error when trying to run my program: error while ...
Joe's user avatar
  • 53
0 votes
1 answer
102 views

I have the task of containerizing an ancient embedded build plan which uses the MontaVista GCC toolchain released in 2006. Unfortunately, the senior insists on using a setup similar to the old build ...
Lukas's user avatar
  • 794
0 votes
0 answers
70 views

I'd like to preface this with the understanding that I'm not the most knowledgeable on scatter files, but I've been learning a lot in the ARM forums about them. I'm working with the STM32F429 ...
slicknick's user avatar
1 vote
1 answer
73 views

I am adding a linker section in the TI arm clang linker and I have added by following MEMORY { TEST_SECTION ( RWIX ) : ORIGIN = 0x41C00000 , LENGTH = 0x00007800 } --retain="*(....
user2986042's user avatar
  • 1,300
0 votes
1 answer
95 views

Wondering if the specific linker used affects how asm file is interpreted. I am using NASM on windows 11, 64-bit, x64 processor. The linker I have is GoLink, but I'm not sure if that's the most ...
Dave's user avatar
  • 76
1 vote
2 answers
107 views

I have the following task: Given source code A, modify it into source code B such that it can optionally enable fault injection. When the fault injection is disabled, it shall output the exact same ...
magnusmaehlum's user avatar
1 vote
1 answer
57 views

I assembled the following file with GAS, the GNU assembler: .extern foo .global bar .section .text bar: call foo ret In the object file it produced there is a relocation entry of type ...
mdjukan's user avatar
  • 173
1 vote
1 answer
284 views

I'm building a project linking both with QtNetwork (Qt6) and Python library (3.8). At runtime, I get the error: my_prg_bin: symbol lookup error: /lib64/libk5crypto.so.3: undefined symbol: EVP_KDF_ctrl,...
jpo38's user avatar
  • 21.9k

1
2 3 4 5
286