Open yanecc opened 3 months ago
The same warnings with OpenBSD https://github.com/yanecc/MockGPT/actions/runs/8981357271/job/24666719117#step:3:1333 crystal 1.4.1
This is clang complaining that -rdynamic
is unused because of the --static
compilation flag. I can't reproduce on Linux (gnu or musl) with CC=clang-17
and passing --link-flags="-Wunused-command-line-argument"
.
It seems exclusive to the BSD-like os.
I suppose we can skip -rdynamic
on BSDs when linking statically?
Would still be interesting to figure out the exact conditions for this (like why doesn't it reproduce on linux?).
Bug Report
When I built for FreeBSD with GitHub Actions, I noticed a warning from the compiler.
https://github.com/yanecc/MockGPT/actions/runs/8981357271/job/24666718448#step:3:1628 crystal 1.10.1