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

assertion failure in the llvm7 branch when building std lib tests for macos #1417

Closed
andrewrk opened this issue Aug 26, 2018 · 0 comments
Closed
Labels
bug Observed behavior contradicts documented or intended behavior stage1 The process of building from source via WebAssembly and the C backend.
Milestone

Comments

@andrewrk
Copy link
Member

zig: /home/andy/downloads/llvm_release_70/include/llvm/Support/Casting.h:255: typename llvm::cast_retty<X, Y*>::ret_type llvm::cast(Y*) [with X = llvm::GlobalVariable; Y = llvm::Value; typename llvm::cast_retty<X, Y*>::ret_type = llvm::GlobalVariable*]: Assertion `isa<X>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
The following command terminated unexpectedly:
./zig test /home/andy/dev/zig-llvm7/std/index.zig --target-arch x86_64 --target-os macosx --target-environ unknown --test-name-prefix std-macosx-x86_64-Debug-bare  -isystem /nix/store/ggdq1si53c6qb0b67lgx145xkndfy4zy-zlib-1.2.11-dev/include -isystem /nix/store/z0v09fk096lbsnq0pmmgwqvl0dmlafdm-libxml2-2.9.8-dev/include -isystem /nix/store/ggdq1si53c6qb0b67lgx145xkndfy4zy-zlib-1.2.11-dev/include -isystem /nix/store/z0v09fk096lbsnq0pmmgwqvl0dmlafdm-libxml2-2.9.8-dev/include -rpath /nix/store/r44986f5n9a290l30n1y2sy6gwbghkjg-tmpAoeu/lib64 -rpath /nix/store/r44986f5n9a290l30n1y2sy6gwbghkjg-tmpAoeu/lib --library-path /nix/store/vm7czzwvpwlsd9hkva2y3pr343vbc4zr-zlib-1.2.11/lib --library-path /nix/store/q0pfi80ji6pdccihqiy1ig18m2hzww7r-libxml2-2.9.8/lib --library-path /nix/store/vm7czzwvpwlsd9hkva2y3pr343vbc4zr-zlib-1.2.11/lib --library-path /nix/store/q0pfi80ji6pdccihqiy1ig18m2hzww7r-libxml2-2.9.8/lib 
@andrewrk andrewrk added bug Observed behavior contradicts documented or intended behavior stage1 The process of building from source via WebAssembly and the C backend. labels Aug 26, 2018
@andrewrk andrewrk added this to the 0.3.0 milestone Aug 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Observed behavior contradicts documented or intended behavior stage1 The process of building from source via WebAssembly and the C backend.
Projects
None yet
Development

No branches or pull requests

1 participant