Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
0 answers
93 views

I've got a working Rust cross-compile setup on Arch Linux, targeting x86_64-unknown-linux-musl and aarch64-unknown-linux-musl from a x86_64 host. By default, binaries for both targets are fully ...
0 votes
2 answers
87 views

In a interview, someone asked me this situation. How can you improve this. search with many filter condition design pattern Eg: let say search a gym by it distance, by its pincode, by its name, by its ...
0 votes
0 answers
22 views

I'm building mariadb on ARM64 Windows using LLVM toolset, I had a duplicate symbol error, such as: lld-link : error : duplicate symbol: my_strtoll10 [xx\server\llvm_arm64_release\sql\server.vcxproj] ...
coneco's user avatar
  • 11
2 votes
0 answers
274 views

$ cat hello.c int main () { return 0; } $ clang -fuse-ld=lld -target ppc64le hello.c -o hello.o ld.lld: error: /tmp/hello-37cf01.o is incompatible with elf64-x86-64 collect2: error: ld ...
0 votes
1 answer
87 views

My environment is wsl2 Ubuntu22.04 LTS, compiler is clang-18.1.8, ld is LLD 18.1.8 However, when I compile my program, the ld output: : && /usr/local/bin/clang++ -fPIC -stdlib=libc++ -g -Wall -...
Ustinian's user avatar
  • 121
-1 votes
1 answer
140 views

this is the error i get: ./account_logger.so () dyld[61282]: Library not loaded: @rpath/libLLVM.dylib Referenced from: <A9E4BE2A-BF8D-3956-BCA9-E3BC5A6C9F9C> /Users/myusername/.local/share/...
1 vote
1 answer
445 views

I am trying to develop a library for Mac OS for scientific computation. It works and compiles file on Linux, but for some reason I am getting weird errors on Mac. ld: __DATA_CONST segment missing ...
ipcamit's user avatar
  • 392
0 votes
1 answer
397 views

My problem is, that I want to use lld as dropin linker in my mingw installation. So I've copied the lld.exe as lld.exe, ld.lld.exe and lld-link.exe to my mingw bin directory (only one of them is ...
syberflex's user avatar
  • 1,674
0 votes
0 answers
188 views

Hi there! I am porting a project from an old c++ version to a new one, using the newly went out llvm 18 suite. For this, I would like to enable LTO optimizations, however, due to practical reasons, I ...
Az Kalaak's user avatar
0 votes
0 answers
130 views

I tried to build a project using LLVM that is originally built using GCC, but I met some errors related to LLD when linking. It uses --dll and --add-stdcall-alias to the linker, but LLD can't ...
1 vote
1 answer
222 views

I'm writing a standalone program for a risc-v core that has many writes and reads to two different memory ranges. (One range is for ram, and the other is for peripherals. Maybe there will be more ...
John's user avatar
  • 11
0 votes
1 answer
294 views

On the MSYS2 shell, ld fails to link a simple binary: $ clang++ -iquote /mingw64/include -L /mingw64/lib -lLLVM-16 -x c++ - <<<$'#include "llvm/Support/raw_ostream.h"\nint main() { ...
user541686's user avatar
  • 213k
0 votes
1 answer
72 views

Hi can someone tell me why the below code shows the error, I think this should run fine - from abc import ABC, abstractmethod class DriveStrategy(ABC): @abstractmethod def drive_strategy(self):...
-2 votes
1 answer
69 views

Currently there are 200 customers and each of them have their own code base which has almost exact same code. The level of differences are as follows There are values in app.config and based on that ...
1 vote
2 answers
1k views

I was trying to compile a program in Windows using clang so that I can use cmdline options similar to gcc while statically linking to the UCRT library (ucrt.lib). Besides, I also want to specify the ...

15 30 50 per page
1
2 3 4 5
...
8

AltStyle によって変換されたページ (->オリジナル) /