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

SEGFAULT with Rocm1.7 when I link object files using HCC 1.2 #593

Closed
smithakihide opened this issue Dec 23, 2017 · 2 comments
Closed

SEGFAULT with Rocm1.7 when I link object files using HCC 1.2 #593

smithakihide opened this issue Dec 23, 2017 · 2 comments

Comments

@smithakihide
Copy link

thank you for reading.

I installed rocm 1.7. (It have become that I cannot chose but this version now)
And I used HCC 1.2. this HCC worked well on the previouse version of rocm 1.6

Stack dump:
0.      Program arguments: /home/nico/hcc/build/compiler/bin/llc -O2 -mtriple amdgcn--amdhsa-amdgiz -mcpu=gfx803 -filetype=obj -enable-si-insert-waitcnts=0 -o /tmp/tmp.nWb56x8uVI/kernel-gfx803.hsaco.isabin /tmp/tmp.nWb56x8uVI/kernel-gfx803.hsaco.opt.bc 
1.      Running pass 'CallGraph Pass Manager' on module '/tmp/tmp.nWb56x8uVI/kernel-gfx803.hsaco.opt.bc'.
2.      Running pass 'AMDGPU DAG->DAG Pattern Instruction Selection' on function '@"_ZZN6CLSVOF7ReconstEvEN4$_1419__cxxamp_trampolineEiiidPdiiiiiiiddS1_iiiiiii"'
/home/nico/hcc/build/compiler/bin/clamp-device: line 223: 12501 Segmentation fault      (core dumped) $LLC $KMOPTLLC -mtriple amdgcn--amdhsa-amdgiz -mcpu=$AMDGPU_TARGET -filetype=obj -enable-si-insert-waitcnts=0 -o $2.isabin $2.opt.bc
Generating AMD GCN kernel failed in llc for target: gfx803
clang-6.0: error: linker command failed with exit code 139 (use -v to see invocation)
makefile:24: recipe for target '.main' failed
make: *** [.main] Error 139

real    236m42.542s
user    236m30.804s
sys     0m10.968s

I would be glad if you help me. and I can give the source code if you want although I can not expose it on this site directly.

@scchan
Copy link
Collaborator

scchan commented Jan 10, 2018

@smithakihide could you contact me at siuchiDOTchanATamdDOTcom ?

@smithakihide
Copy link
Author

smithakihide commented Jan 10, 2018

Yes, I can. I sent the initial message to you with my email account. You can delete the message including your email address.

@scchan scchan closed this as completed Jan 10, 2018
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