Matheus C. França
Matheus C. França
@Zepan, Missing some fixes on `quantize.cpp`. ```bash error: error(compilation): clang failed with stderr: /home/kassane/llama-sipeed/quantize.cpp:139:33: warning: cast from 'const char *' to 'char *' drops const qualifier [-Wcast-qual] /home/kassane/llama-sipeed/quantize.cpp:140:33: warning: cast...
Sadly, `perf_event_open` turns out unable test run on isolated VMs as it happens from GH actions, even using `setcap`. - https://github.com/actions/runner-images/issues/4974
> `sysctl kernel.perf_event_paranoid=3` is working for me too. Xubuntu 23.04 x86_64 On CI/CD test poop (release-safe build) not working: ```bash /home/runner/work/zig-http-benchmarks/zig-http-benchmarks/poop/src/main.zig:0:0: 0x2248f1 in main (poop) /opt/hostedtoolcache/zig/master/x64/lib/std/start.zig:370:37: 0x218777 in posixCallMainAndExit (poop)...
Wow! I read it (translating it into english) and found the additions of his experience to be nice, complementing the official documentation. cc: @kristoff-it
> I'm curious what the reason was to merge `init-exe` and `init-lib`? > Couldn't find anything so far 😇 - https://github.com/ziglang/zig/pull/18055
Same error: ```bash [100%] Building stage3 Compile C Objects [14/21] analyze.cpp... error(compilation): clang failed with stderr: /home/kassane/Code/zig-bootstrap/zig/src/stage1/codegen.cpp:4838:17: error: use of undeclared identifier 'LLVMPointerTypeInContext' /home/kassane/Code/zig-bootstrap/zig/src/stage1/codegen.cpp:5183:17: error: use of undeclared identifier 'LLVMPointerTypeInContext'...
I was able to build without this error when uninstalling llvm from Archlinux.
Solution: - https://github.com/llvm/llvm-project/issues/57573#issuecomment-1238033268
Rust has as its tool the ability to make functions into hash code. This explains the process in detail: [Here](https://github.com/rust-lang/rust/blob/ad8a3eb039ca3dc1ff5a3d5757afc5e5330c1bce/src/librustc_codegen_utils/symbol_names.rs#L40)  But, it would be possible to extract some information...
- https://github.com/ziglang/zig/issues/4931 - https://github.com/ziglang/zig/issues/8712 - https://github.com/ziglang/zig/issues/8726 - https://github.com/ziglang/zig/issues/15894 - https://github.com/ziglang/zig/issues/16099