<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/68844>68844</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Broken module found
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
overfpga
</td>
</tr>
</table>
<pre>
Applying patch: 0001-libxdp-add-fPIC-with-static-lib-build.patch
patching file lib/libxdp/Makefile
Applying patch: 0002-libxdp-fix-asm-types.h-file-not-found-issue.patch
patching file lib/defines.mk
Applying patch: 0003-libxdp-fix-maybe-uninitialized-compiler-warning.patch
patching file lib/common.mk
--- configuring xdp-tools 1.2.9 - log: /root/code/vpp/build/external/deb/_build/xdp-tools.config.log
--- building xdp-tools 1.2.9 - log: /root/code/vpp/build/external/deb/_build/xdp-tools.build.log
Intrinsic requires elementtype attribute on first argument.
%5 = tail call i8** @llvm.preserve.struct.access.index.p0p0i8.p0s_struct.xdp_buffs(%struct.xdp_buff* %4, i32 1, i32 1) #4, !dbg !123, !llvm.preserve.access.index !73
Intrinsic requires elementtype attribute on first argument.
%8 = tail call i8** @llvm.preserve.struct.access.index.p0p0i8.p0s_struct.xdp_buffs(%struct.xdp_buff* %4, i32 0, i32 0) #4, !dbg !129, !llvm.preserve.access.index !73
Intrinsic requires elementtype attribute on first argument.
%15 = tail call %struct.xdp_rxq_info** @llvm.preserve.struct.access.index.p0p0s_struct.xdp_rxq_infos.p0s_struct.xdp_buffs(%struct.xdp_buff* %4, i32 5, i32 5) #4, !dbg !140, !llvm.preserve.access.index !73
Intrinsic requires elementtype attribute on first argument.
%17 = tail call %struct.net_device** @llvm.preserve.struct.access.index.p0p0s_struct.net_devices.p0s_struct.xdp_rxq_infos(%struct.xdp_rxq_info* %16, i32 0, i32 0) #4, !dbg !142, !llvm.preserve.access.index !82
Intrinsic requires elementtype attribute on first argument.
%19 = tail call i32* @llvm.preserve.struct.access.index.p0i32.p0s_struct.net_devices(%struct.net_device* %18, i32 0, i32 0) #4, !dbg !145, !llvm.preserve.access.index !86
Intrinsic requires elementtype attribute on first argument.
%27 = tail call i32* @llvm.preserve.struct.access.index.p0i32.p0s_struct.xdp_rxq_infos(%struct.xdp_rxq_info* %16, i32 1, i32 1) #4, !dbg !161, !llvm.preserve.access.index !82
Intrinsic requires elementtype attribute on first argument.
%8 = tail call i8** @llvm.preserve.struct.access.index.p0p0i8.p0s_struct.xdp_buffs(%struct.xdp_buff* %4, i32 1, i32 1) #4, !dbg !204, !llvm.preserve.access.index !73
Intrinsic requires elementtype attribute on first argument.
%11 = tail call i8** @llvm.preserve.struct.access.index.p0p0i8.p0s_struct.xdp_buffs(%struct.xdp_buff* %4, i32 0, i32 0) #4, !dbg !206, !llvm.preserve.access.index !73
Intrinsic requires elementtype attribute on first argument.
%18 = tail call %struct.xdp_rxq_info** @llvm.preserve.struct.access.index.p0p0s_struct.xdp_rxq_infos.p0s_struct.xdp_buffs(%struct.xdp_buff* %4, i32 5, i32 5) #4, !dbg !212, !llvm.preserve.access.index !73
Intrinsic requires elementtype attribute on first argument.
%20 = tail call %struct.net_device** @llvm.preserve.struct.access.index.p0p0s_struct.net_devices.p0s_struct.xdp_rxq_infos(%struct.xdp_rxq_info* %19, i32 0, i32 0) #4, !dbg !213, !llvm.preserve.access.index !82
Intrinsic requires elementtype attribute on first argument.
%22 = tail call i32* @llvm.preserve.struct.access.index.p0i32.p0s_struct.net_devices(%struct.net_device* %21, i32 0, i32 0) #4, !dbg !214, !llvm.preserve.access.index !86
Intrinsic requires elementtype attribute on first argument.
%30 = tail call i32* @llvm.preserve.struct.access.index.p0i32.p0s_struct.xdp_rxq_infos(%struct.xdp_rxq_info* %19, i32 1, i32 1) #4, !dbg !223, !llvm.preserve.access.index !82
LLVM ERROR: Broken module found, compilation aborted!
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0. Program arguments: llc-14 -march=bpf -filetype=obj -o xdpdump_bpf.o xdpdump_bpf.ll
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzUmN9u2zYUxp-GvjmQQFL-pwtfuE2MFUjRIBkGbDcGKR1JbChSJSkn6dMPlBM3cbPFzby5uzLDQ53v8MdPZCjhvaoN4oJM3pHJ2Uj0obFuYTfoqq4WI2nL-8Wy6_S9MjV0IhQNyZZAKWWJVvKu7BJRlkl1-eF9cqtCk_gggipiLJG90mW6fYaeEbocmjFPpTSCVpLw1TYJ4auP4gZj_3boi5L8UbJSd4nwbRLuO_Rpk8TnEmNDUtnelInyvsfXhEuslEGftjd_o5g9VWzFvcSkN8qooIRWX7FMCtt2SqNLboUzytSvqRa2ba3ZiSZJAoU1lap7F0dGqWCt9sBSnuaQgLZ1rIXwlbM2DBlKJHy16SK0ATHhK7wL6IzQw7yizvoxssuYbnXSmHCnPYz6t4W3PtjpfjDBKeNVAQ6_9MqhB9TYoglxOUGE4JTsA4I1UCnnAwhX9zGebhMAED6ZAMnOIAiloRBag5oTviR8CWRMtd60aefQo9tg6oPri5CKokDvU2VKvEs72lE1Tzvq1w_hu7Jby76qPOFzwid7vUNiPhkT_h5UxoE9aeRAeDZECGelrOMP49lDx_NanhYRo7PsmEzmJ2VCnzReZpKfgAnbN8rzibi7L2tlKvujoJ4xekzi3w5v8qTxIrwxPQW82V_CMxjWJW5UgW9G9y3Fd-B2RL-D92TBhgqnB9tvzA8iOOdHJZjvv5MZ_wFaKuPpy8SegXm2GIPs_HAsk8OwTI-Jhe8b6x9heaNjXt3Ep-wEjjntJv4aE07Hp9iH2E99snE6PQWUfaf8P082zg7bl48Lj9Of_mTLD7YfO-yfzePuU5yf5GTj7HAsh21Vxz3Zsn1j_YcnW37wLn7g9eTRMRcXv32E86urT1fxSvjO2Rs00Nqy1wjDlTtm216FRVDWgJDWBSwJZ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