-
Notifications
You must be signed in to change notification settings - Fork 54
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
ffile-prefix-map argument not quoted #599
Comments
I made contradicting statements before during edits about what gets quoted correctly I saw in the |
Hello! I've started looking into this. From my initial testing, the issue appears to be (more generally) that the CMake build for AWS-LC doesn't tolerate spaces in the path of the source files. (I believe you're also correct that the compiler options also need to be quoted.) But I need to do some more digging to better understand what the best fix should be. Thanks for letting us know about this! We hope to have a fix for this build issue soon. |
We have now released aws-lc-rs v1.11.1 that addresses this problem. This issue will now be closed. Feel free to reopen this issue or open a new issue if you have any problems after upgrading. Thanks again for reporting this to us! |
Thank you! It's one step closer I was building with
|
Hello! Sorry about this. One thing our test coverage appears be missing is testing without NASM installed (when spaces are in the path). If you install NASM (then optionally set I'll take a closer look on Monday. Thanks for following up with us on this! |
Ok, I was able to reproduce this on Windows -- the issue seems to be specific to the |
I opened a new issue for this here: |
Problem:
I tried to build
trunk
on windows-gnu toolchain using therustls
feature flag. This added theaws-lc-sys
crate which tries to test the C compiler viacmake
, but fails because the argument-ffile-prefix-map
is not properly quoted when there are backslashes and spaces in the path.See the
running: "cmake.exe"
arguments below where theffile-prefix-map
argument is correctly quoted (except the space) butcmake
seems to have removed the quotation when passed tocc.exe
. I was about to report this to CMake, but their rules sayRelevant details
AWS-LC for Rust versions or commit: aws-lc-sys@0.23.0
System information:
Build log:
The text was updated successfully, but these errors were encountered: