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

Compilation issue #41

Closed
baerbock opened this issue Jan 22, 2019 · 2 comments
Closed

Compilation issue #41

baerbock opened this issue Jan 22, 2019 · 2 comments

Comments

@baerbock
Copy link

baerbock commented Jan 22, 2019

There is an compilation issue for me (with ROCm-2.0):

[ 54%] Linking CXX executable test_log_normal_distribution
Call parameter type does not match function signature!
  %StackGuardSlot = alloca i8*, addrspace(5)
 i8**  call void @llvm.stackprotector(i8* %0, i8* addrspace(5)* %StackGuardSlot)
in function _Z19hiprand_init_kernelI20hiprandStateMRG32k3aEvPT_myy
LLVM ERROR: Broken function found, compilation aborted!
Generating AMD GCN kernel failed in llc for target: gfx900
Call parameter type does not match function signature!
  %StackGuardSlot = alloca i8*, addrspace(5)
 i8**  call void @llvm.stackprotector(i8* %0, i8* addrspace(5)* %StackGuardSlot)
in function _Z19hiprand_init_kernelI20hiprandStateMRG32k3aEvPT_myy
LLVM ERROR: Broken function found, compilation aborted!
Generating AMD GCN kernel failed in llc for target: gfx803
Call parameter type does not match function signature!
  %StackGuardSlot = alloca i8*, addrspace(5)
 i8**  call void @llvm.stackprotector(i8* %0, i8* addrspace(5)* %StackGuardSlot)
in function _Z19hiprand_init_kernelI20hiprandStateMRG32k3aEvPT_myy
LLVM ERROR: Broken function found, compilation aborted!
Generating AMD GCN kernel failed in llc for target: gfx906
clang-8: error: linker command failed with exit code 7 (use -v to see invocation)
make[2]: *** [test/CMakeFiles/test_hiprand_kernel.dir/build.make:92: test/test_hiprand_kernel] Fehler 7
make[1]: *** [CMakeFiles/Makefile2:776: test/CMakeFiles/test_hiprand_kernel.dir/all] Fehler 2
[ 54%] Built target test_log_normal_distribution
207 warnings generated.
[ 55%] Linking CXX executable test_rocrand_cpp_wrapper
[ 55%] Built target test_rocrand_cpp_wrapper
@augustofg
Copy link

Duplicated of #40

@ex-rzr
Copy link
Contributor

ex-rzr commented Jan 23, 2019

I'm closing this issue, let's continue in #40

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

3 participants