Skip to content

Can't build runtime/libc when parent path has a whitespace #987

@kmemarian

Description

@kmemarian

To reproduce:

mkdir "WHITE SPACE"
cd "WHITE SPACE"
git clone git@github.com:rems-project/cerberus.git
cd cerberus
make

This will fail when building in runtime/libc/dune.

The likely solution is to apply Filename.quote to filenames that cerberus passes as arguments to a command (i.e. clang in cpp). There is probably a similar issue when passing a bad filename to -I.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions