IRC channel logs

2026-04-16.log

back to list of logs

<jab>morning pals!
<etno>Morning
<yelninei>Hi, are there extra settings in the debian package to set the correct llvm_host-triple for llvm? i just got x86_64-unknown-unknown-gnu instead of x86_64-unknown-hurd-gnu
<sam_>llvm has some very complex logic for determining how to figure out the native tuple based on reading distro-specific paths, that they're trying to phase out
<sam_>i wouldn't be surprised if that's why it works
<yelninei>hmm llvm-config --host-target on my debian amd64 image also returns unknown-unknown
<yelninei>clang from debian has unknown-hurd-gnu0.9, does clang do something more with the target-string that it gets from llvm?
<yelninei>there is something in computeTargetTriple in clang/lib/Driver/Driver.cpp. I guess that means anything that just uses llvm gets the wrong default?