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

target x86_64-linux-gnu (native-linux-gnu) not compiling #146

Open
mohan43u opened this issue Mar 15, 2023 · 0 comments
Open

target x86_64-linux-gnu (native-linux-gnu) not compiling #146

mohan43u opened this issue Mar 15, 2023 · 0 comments

Comments

@mohan43u
Copy link

mohan43u commented Mar 15, 2023

I run the following command, but compilation failed with zig2 segfault

Host: up-to-date Arch (Linux container0 6.2.6-arch1-1 #1 SMP PREEMPT_DYNAMIC Mon, 13 Mar 2023 17:02:08 +0000 x86_64 GNU/Linux)
gcc: 12.2.1 20230201

CMAKE_BUILD_PARALLEL_LEVEL=$(nproc) ./build native-linux-gnu native

I tried to get the stacktrace from coredumpctl

multi_array_list_MultiArrayList_28Air_Inst_29_slice + 182 in section .text
multi_array_list_MultiArrayList_28Air_Inst_29_set + 147 in section .text
multi_array_list_MultiArrayList_28Air_Inst_29_appendAssumeCapacity + 277 in section .text
Sema_Block_addInstAsIndex + 458 in section .text
Sema_Block_addInst + 80 in section .text
Sema_Block_addBitCast + 352 in section .text
Sema_bitCast + 2386 in section .text
Sema_analyzeRef + 3103 in section .text
Sema_zirRef + 496 in section .text
Sema_analyzeBodyInner + 27969 in section .text
Sema_resolveBlockBody + 277 in section .text
Sema_zirBlock + 2988 in section .text
Sema_analyzeBodyInner + 99087 in section .text
Sema_analyzeBodyRuntimeBreak + 111 in section .text
Sema_zirCondbr + 3177 in section .text
Sema_analyzeBodyInner + 108689 in section .text
Sema_resolveBlockBody + 277 in section .text
Sema_zirBlock + 2988 in section .text
Sema_analyzeBodyInner + 99087 in section .text
Sema_resolveBlockBody + 277 in section .text
Sema_zirBlock + 2988 in section .text
Sema_analyzeBodyInner + 99087 in section .text
Sema_resolveBlockBody + 277 in section .text
Sema_zirBlock + 2988 in section .text
Sema_analyzeBodyInner + 99087 in section .text
Sema_analyzeBodyRuntimeBreak + 111 in section .text
Sema_zirCondbr + 3177 in section .text
Sema_analyzeBodyInner + 108689 in section .text
Sema_resolveBlockBody + 277 in section .text
Sema_zirBlock + 2988 in section .text
Sema_analyzeBodyInner + 99087 in section .text
Sema_analyzeBody + 87 in section .text
Sema_zirLoop + 3157 in section .text
Sema_analyzeBodyInner + 97012 in section .text
Sema_resolveBlockBody + 277 in section .text
Sema_zirBlock + 2988 in section .text
Sema_analyzeBodyInner + 99087 in section .text
Sema_analyzeBody + 87 in section .text
Module_analyzeFnBody + 11957 in section .text
Module_ensureFuncBodyAnalyzed + 502 in section .text
Compilation_processOneJob + 804 in section .text
Compilation_performAllTheWork + 5634 in section .text
Compilation_update + 14526 in section .text
main_updateModule + 98 in section .text
main_buildOutputType + 497693 in section .text
main_mainArgs + 1934 in section .text
main_main + 442 in section .text
main + 601 in section .text
No symbol matches 0x23790.
No symbol matches 0x2384a.
_start + 37 in section .text

Hope it will help to fix the issue

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

1 participant