-
Notifications
You must be signed in to change notification settings - Fork 10
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
Build Failure with Nix: fatal error: 'typeinfo' file not found #41
Comments
ldc2 -cpp-args -I/include1 -cpp-args -I/include2 -cpp-args --anotherc++flag (...) |
I have tried adding " Could It seems that its the |
Yes that's the one but it's not modifiable with |
Oops |
@Syniurge @Nekroze also tried /Users/timothee/homebrew/Cellar/llvm@3.9/3.9.1_1/include/c++/v1/ |
From what i wrote while working on this i think you are going too deep into the includes. Here i just gave the include folder itself and no deeper. |
your link shows: ''-DD_CFLAGS="-cpp-args -I${stdenv.cc.cc}/include"'' likewise on ubuntu? |
Try truncating everything after include |
using ccmake ..: gives: NOTE: typeinfo is under: EDIT: If i I have If I have both is that the proper way to pass multiple |
Well, if calypso doesn't have all default C++ includes, you'll need to pass them explicitly. |
@timotheecour try And sorry for the late lazy replying, I've put Calypso aside to focus on dlang/dmd#7018 DMD's brittleness towards referencing errors being a blocker for many C++ libraries, especially since the latest Calypso commits. But a lot of DMD's code needs to be reorganized so it's taking longer than I thought. What seems wrong here is that the standard lib paths should automatically be detected by Clang. But I'm not familiar and haven't tested Calypso on OS X/macOS at all yet (except the Travis-CI build which never went green), a couple of people tried in the past, IIRC it worked for @wilsonk, but that may have been before the C++ exception support. Once the DMD PR is done I'll give something like MacInCloud a go to improve OS X support. If
Yes it's one of them. |
@Syniurge
the key was to use NOTE: doesn't work with llvm/5.0.0: also doesn't work with llvm/4.0.1: |
I am working on reproducible builds for LDC and you project as well using the Nix package manager.
I have
ldc
working fine however I am stuck on an issue with calypso's build when it tries to compileruntime/druntime/src/ldc/eh/cpp/unwind-cxx.h:33:10
which is from what I can tell included in line one ofbuild/runtime/calypso_cache.h
. For some reason it cannot handle the following line as it throwsfatal error: 'typeinfo' file not found
stopping the build:You can test my build environment on any platform that Nix support (linux, osx, cygwin, etc.) by cloning my nix expressions for your project with instructions Nekroze/ldc-calypso.nix and you can find the output of my build (with the middle (boring) part removed) at this gist.
The text was updated successfully, but these errors were encountered: