-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Crash report #140382
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@llvm/issue-subscribers-lld-macho Author: Sashanoraa (gaykitty)
This crashed happen in a build of a Rust project on macOS in github CI.
|
I think I have a similar issue:
where the linker script is: for var in "$@"
do
if [[ "$var" == "-Wl,-exported_symbols_list"* ]]; then
list_found=1
fi
if [[ "$var" == "-dynamiclib" ]]; then
isdylib=1
fi
done
if [[ -z "$list_found" && -z "$isdylib" ]]; then
EXTRA_ARGS="-Wl,-unexported_symbol,*"
fi
$c_compiler_x86_64_apple_darwin -fuse-ld=$LD64_LLD "$EXTRA_ARGS" "$@" and:
set from a Nix flake environment, and: $ $c_compiler_x86_64_apple_darwin --version
clang version 20.1.4
Target: x86_64-apple-darwin22.1
Thread model: posix
InstalledDir: /nix/store/41zihx2w1sbllavl70j7hp33r44dhrdv-clang-20.1.4/bin and Rust 1.87.0. The error still seems to occur with LLVM 19.1.7, so it might have been brought by that Rust update, but still. Somewhat-minified reproducer: use bytes::Bytes;
use http_body_util::Empty;
use hyper::Uri;
use hyper_util::client::legacy::Client;
use hyper_util::rt::TokioExecutor;
#[tokio::main]
async fn main() {
let uri = "uri".parse::<Uri>().unwrap();
let https = hyper_rustls::HttpsConnectorBuilder::new()
.with_native_roots()
.unwrap()
.https_or_http()
.enable_http1()
.build();
let client: Client<_, Empty<Bytes>> = Client::builder(TokioExecutor::new()).build(https);
let mut _resp = client.get(uri.clone()).await.unwrap(); and most specifically: removing the last line cancels the error, but that might simply be due to code elimination since the release profile is used here. NB: The error only occurs when The error seems quite similar, but if it is not in the end, I can split this into a separate issue if need be. |
This crashed happen in a build of a Rust project on macOS in github CI.
https://github.com/EFForg/rayhunter/actions/runs/15087128975/job/42411142264?pr=324
The text was updated successfully, but these errors were encountered: