Closed
Description
I'm getting an error while building curl-sys >= 0.4.9 (more specifically it seems to be introduced in #225):
thread 'main' has overflowed its stack
fatal runtime error: stack overflow
error: Could not compile `curl-sys`.
Caused by:
process didn't exit successfully: `rustc --crate-name build_script_build curl-sys/build.rs --color always --crate-type bin --emit=dep-info,link -C debuginfo=2 -C metadata=9653e13476469367 -C extra-filename=-9653e13476469367 --out-dir /path/to/target/debug/build/curl-sys-9653e13476469367 -C incremental=/path/to/target/debug/incremental -L dependency=/path/to/target/debug/deps --extern cc=/path/to/target/debug/deps/libcc-7a54d0e3950ef197.rlib --extern pkg_config=/path/to/target/debug/deps/libpkg_config-efadd2cff0cc6740.rlib` (signal: 6, SIGABRT: process abort signal)
Happens both with rustc 1.31.0-nightly (cae6efc37 2018-10-27) and stable rustc 1.30.0 (da5f414c2 2018-10-24)
I took a shot in the dark and tried (after cargo clean
):
RUST_MIN_STACK=1000000 cargo build
-- that worked.
This is on a very old OS X 10.9.5.
Metadata
Metadata
Assignees
Labels
No labels