Skip to content
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

line in response file wrongly interpreted as option by MSVC linker #8

Open
prahlada opened this issue Jun 6, 2015 · 1 comment
Open

Comments

@prahlada
Copy link

prahlada commented Jun 6, 2015

In win64 environment, a file to be linked may be of the form \server\path\to\obj

If the command line is too long, this is dumped into a response file, but the function build_diversion in reloc.ml, specifically converts file-paths to use "/" instead of "". As a result the above file is interpreted as an option to the "link" command then fails to link files.

There does not seem to be an easy workaround to this problem, as the option to use response file is not user-controllable

@dra27
Copy link
Member

dra27 commented Dec 17, 2016

Being slightly lazy before contriving an example myself, do you have a publically available example which shows this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants