You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CrystalPath#add_target_path can't load lib_c as x86_64-linux doesn't match any.
Codegen::Target#gnu? & Codegen::Target#musl? are both false.
Reproduction
Host is one of the above mentioned examples.
$ make all
$ make compiler_spec
In src/exception/call_stack/libunwind.cr:1:1
1 | require "c/dlfcn"
^
Error: can't find file 'c/dlfcn'
If you're trying to require a shard:
- Did you remember to run `shards install`?
- Did you make sure you're running the compiler in the same directory as your shard.yml?
make: *** [Makefile:180: .build/compiler_spec] Error 1
Crystal
Using compiled compiler at .build/crystal
Crystal 1.6.1-dev [809c49e] (2022-10-11)
LLVM: 14.0.6
Default target: x86_64-suse-linux
The text was updated successfully, but these errors were encountered:
Bug Report
Some triples miss the libc part of the
environment
.Examples:
x86_64-suse-linux
x86_64-redhat-linux
This creates two issues:
CrystalPath#add_target_path
can't load lib_c asx86_64-linux
doesn't match any.Codegen::Target#gnu?
&Codegen::Target#musl?
are both false.Reproduction
$ make all
$ make compiler_spec
Crystal
The text was updated successfully, but these errors were encountered: