Community
cancel
Showing results for 
Search instead for 
Did you mean: 
SXian3
Beginner
131 Views

AOC Compilation Failure

I was trying to compile a simple OpenCL program with Intel AOC compiler. However, I got the following error with AOC 17.4.

aoc: Running OpenCL parser.... aoc: Optimizing and doing static analysis of code... 0 libLLVM-3.0.so 0x00002b8910be85df 1 libLLVM-3.0.so 0x00002b8910bea552 2 libpthread.so.0 0x00002b89125065f0 3 libc.so.6 0x00002b891338a337 gsignal + 55 4 libc.so.6 0x00002b891338ba28 abort + 328 5 libLLVM-3.0.so 0x00002b8910e2c3d6 6 libLLVM-3.0.so 0x00002b8910e0a57f llvm::FPPassManager::runOnFunction(llvm::Function&) + 527 7 libLLVM-3.0.so 0x00002b8910e0a6e0 llvm::FPPassManager::runOnModule(llvm::Module&) + 80 8 libLLVM-3.0.so 0x00002b8910e0a0a1 llvm::MPPassManager::runOnModule(llvm::Module&) + 577 9 libLLVM-3.0.so 0x00002b8910e0a24b llvm::PassManagerImpl::run(llvm::Module&) + 187 10 aocl-opt 0x00000000004194dd main + 4765 11 libc.so.6 0x00002b8913376505 __libc_start_main + 245 12 aocl-opt 0x000000000040ccc9 Stack dump: 0. Program arguments: /export/quartus_pro/17.1.1/hld/linux64/bin/aocl-opt --acle ljg7wk8o12ectgfpthjmnj8xmgf1qb17frkzwewi22etqs0o0cvorlvczrk7mipp8xd3egwiyx713svzw3km lt8clxdbqoypaxbbyw0oygu1nsyzekh3nt0x0jpsmvypfxguwwdo880qqk8pachqllyc18a7q3wp12j7eqwipxw13swz1bp7tk71wyb3rb17frk3egwiy2e7qjwoe3bkny8xrrdbq1w7ljg70g0o1xlbmupoecdfluu3xxf7l3 dogxfs0lvm7jlzmh8pv3kzlkjxz2acnczpy2g1wkvi7jlzmrpouhh3qrjxlga33czpygdbwgpin2t13svzq3kzmtfxmxffmowonxdb0uui32q3mju7atjmnjvbzxdsmczpyrkf0evzexy1qgfpt3gznj0318a7mcporxgbyw0o........h0318a7q28z12ho0svm7jlzmh0oq3jbmtpbz2dulbz0f -board /export/fpga/release/ a10_gx_pac_ias_1_1_pv/opencl/opencl_bsp/hardware/pac_a10/board_spec.xml -dbg-info-enabled --grif --soft-elementary-math=false --fas=false --wiicm-disable=true dummpy.1.bc -o dummpy.kwgid.bc 1. Running pass 'Function Pass Manager' on module 'dummpy.1.bc'. 2. Running pass 'Module Verifier' on function '@app' Error: Optimizer FAILED. Refer to dummpy/dummpy.log for details.

 

0 Kudos
2 Replies
107 Views

Hi 

There can be multiple things working here 

1. It might have to do with the code which you are running , 

please try with the standard hello_world example and let us know the results. 

2. Please let us know which operating system you are using 

3. Please refer to the below forum post for some random crash information 

https://community.intel.com/t5/Intel-Quartus-Prime-Software/OpenCL-on-FPGA-Not-able-to-generate-hard...

4. Please let us know the flags  given along with the aoc compilation . 

Thanks and Regards

Anil

78 Views

Hi ,

Please let us know whether the  standard hello_world example is working as mentioned in the previous communication.

Thanks and Regards

Anil


Reply