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

-C option doesn't work with multiple build files #53

Open
BenjaminSchaaf opened this issue Jun 27, 2019 · 2 comments
Open

-C option doesn't work with multiple build files #53

BenjaminSchaaf opened this issue Jun 27, 2019 · 2 comments

Comments

@BenjaminSchaaf
Copy link
Contributor

Say you take the rerun_itself.feature test but instead of running reggae -b ninja proj/ you run reggae -b ninja -C build/ linking will fail with the following error:

Couldn't execute dmd -ofbuildgen build.o
reggae_test/build/.reggae:
build.o:(.data.rel.ro+0x10): undefined reference to `_D3src8builddef12__ModuleInfoZ'
collect2: error: ld returned 1 exit status
Error: linker exited with status 1

bin.name: buildgen, bin.cmd: dmd -ofbuildgen build.o
@atilaneves
Copy link
Owner

Thanks for reporting the issue. I'm not sure when I'll be able to get to it though.

@BenjaminSchaaf
Copy link
Contributor Author

No worries. Its got a simple workaround (not using -C) so certainly not a blocker for working with reggae.

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