-
-
Couldn't load subscription status.
- Fork 20
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Zig Version
0.16.0-dev.747+493ad58ff
Steps to Reproduce and Observed Behavior
$ git clone https://codeberg.org/galaxyshard/zig-nds-bindings
$ cd zig-nds-bindings
$ git checkout 76f3852bdc12e63cf6a8c4d4ebdb472e4fc1c36cbec23b32e08ba3fac5961547
$ zig buildOutput:
install
└─ compile obj test-nds7 Debug thumb-freestanding-eabi
└─ translate-c failure
error: error: the following build command crashed:
/home/galaxyshard/.cache/zig/o/c2d0f94a0d1c02029fa2ecf6bf1c18ef/translate-c --zig-integration -x c -isystem /home/galaxyshard/.local/share/zigdown/zig-0.16.0-dev.747+493ad58ff/files/lib/compiler/aro/include -fno-PIE -fno-PIC -gdwarf-4 -gdwarf32 -fno-lto -MD -MV -MF .zig-cache/tmp/14e87db494021f77/libnds7.h.d -ffreestanding -nostdinc -isystem /home/galaxyshard/.local/share/zigdown/zig-0.16.0-dev.747+493ad58ff/files/lib/include -O0 -target thumb-freestanding-eabi -mcpu=baseline-32bit-8msecext-aapcs_frame_chain+aclass-acquire_release-aes-atomics_32-avoid_movs_shop-avoid_muls-avoid_partial_cpsr-bf16-big_endian_instructions-branch_align_64-cde-cdecp0-cdecp1-cdecp2-cdecp3-cdecp4-cdecp5-cdecp6-cdecp7-cheap_predicable_cpsr-clrbhb-cortex_a510-crc-crypto+d32+db-dfb-disable_postra_scheduler-dont_widen_vmovs-dotprod+dsp-execute_only-expand_fp_mlx-fix_cmse_cve_2021_35465-fix_cortex_a57_aes_1742098-fp16-fp16fml+fp64-fp_armv8-fp_armv8d16-fp_armv8d16sp-fp_armv8sp-fpao+fpregs-fpregs16+fpregs64-fullfp16-fuse_aes-fuse_literals-harden_sls_blr-harden_sls_nocomdat-harden_sls_retbr+has_v4t+has_v5t+has_v5te+has_v6+has_v6k+has_v6m+has_v6t2+has_v7+has_v7clrex-has_v8-has_v8_1a-has_v8_1m_main-has_v8_2a-has_v8_3a-has_v8_4a-has_v8_5a-has_v8_6a-has_v8_7a-has_v8_8a-has_v8_9a+has_v8m-has_v8m_main-has_v9_1a-has_v9_2a-has_v9_3a-has_v9_4a-has_v9_5a-has_v9_6a-has_v9a-hwdiv-hwdiv_arm-i8mm-iwmmxt-iwmmxt2-lob-long_calls-loop_align-m55-m85-mclass-mp-muxed_units-mve-mve1beat-mve2beat-mve4beat-mve_fp-nacl_trap+neon-neon_fpmovs-neonfp-no_branch_predictor-no_bti_at_return_twice-no_movt-no_neg_immediates-noarm-nonpipelined_vfp-pacbti+perfmon-prefer_ishst-prefer_vmovsr-prof_unpr-ras-rclass-read_tp_tpidrprw-read_tp_tpidruro-read_tp_tpidrurw-reserve_r9-ret_addr_stack-sb-sha2-slow_fp_brcc-slow_load_D_subreg-slow_odd_reg-slow_vdup32-slow_vgetlni32-slowfpvfmx-slowfpvmlx-soft_float-splat_vfp_neon-strict_align+thumb2+thumb_mode-trustzone-use_mipipeliner-use_misched-v2-v2a-v3-v3m-v4-v4t-v5t-v5te-v5tej-v6-v6j-v6k-v6kz-v6m-v6sm-v6t2+v7a-v7em-v7m-v7r-v7ve-v8_1a-v8_1m_main-v8_2a-v8_3a-v8_4a-v8_5a-v8_6a-v8_7a-v8_8a-v8_9a-v8a-v8m-v8m_main-v8r-v9_1a-v9_2a-v9_3a-v9_4a-v9_5a-v9_6a-v9a-vfp2+vfp2sp+vfp3+vfp3d16+vfp3d16sp+vfp3sp-vfp4-vfp4d16-vfp4d16sp-vfp4sp-virtualization-vldn_align-vmlx_forwarding-vmlx_hazards-wide_stride_vfp-xscale-zcz -I /home/galaxyshard/test/zig-nds-bindings/stub -I /home/galaxyshard/test/zig-nds-bindings/stub/include -I /home/galaxyshard/.cache/zig/p/N-V-__8AAHdbGgB5aYull6G4E-Nhn1uOYLKwVqfHfJ0SZYYg/include -isystem .zig-cache/o/90bd073a89a1dc7babff4c205d13d587 -D ARM7= -D wint_t=char /home/galaxyshard/test/zig-nds-bindings/src/libnds7.h -o .zig-cache/tmp/14e87db494021f77/libnds7.zig
error: the following command exited with error code 1:
/home/galaxyshard/.local/share/zigdown/zig-0.16.0-dev.747+493ad58ff/files/zig translate-c -lc --cache-dir .zig-cache --global-cache-dir /home/galaxyshard/.cache/zig --listen=- -target thumb-freestanding-eabi -I /home/galaxyshard/test/zig-nds-bindings/stub -I /home/galaxyshard/test/zig-nds-bindings/stub/include -I /home/galaxyshard/.cache/zig/p/N-V-__8AAHdbGgB5aYull6G4E-Nhn1uOYLKwVqfHfJ0SZYYg/include -isystem .zig-cache/o/90bd073a89a1dc7babff4c205d13d587 -D ARM7= -D wint_t=char /home/galaxyshard/test/zig-nds-bindings/src/libnds7.h
install
└─ compile obj test-nds9 Debug thumb-freestanding-eabi
└─ translate-c failure
error: error: the following build command crashed:
/home/galaxyshard/.cache/zig/o/c2d0f94a0d1c02029fa2ecf6bf1c18ef/translate-c --zig-integration -x c -isystem /home/galaxyshard/.local/share/zigdown/zig-0.16.0-dev.747+493ad58ff/files/lib/compiler/aro/include -fno-PIE -fno-PIC -gdwarf-4 -gdwarf32 -fno-lto -MD -MV -MF .zig-cache/tmp/300f44c8a66fc435/libnds9.h.d -ffreestanding -nostdinc -isystem /home/galaxyshard/.local/share/zigdown/zig-0.16.0-dev.747+493ad58ff/files/lib/include -O0 -target thumb-freestanding-eabi -mcpu=baseline-32bit-8msecext-aapcs_frame_chain+aclass-acquire_release-aes-atomics_32-avoid_movs_shop-avoid_muls-avoid_partial_cpsr-bf16-big_endian_instructions-branch_align_64-cde-cdecp0-cdecp1-cdecp2-cdecp3-cdecp4-cdecp5-cdecp6-cdecp7-cheap_predicable_cpsr-clrbhb-cortex_a510-crc-crypto+d32+db-dfb-disable_postra_scheduler-dont_widen_vmovs-dotprod+dsp-execute_only-expand_fp_mlx-fix_cmse_cve_2021_35465-fix_cortex_a57_aes_1742098-fp16-fp16fml+fp64-fp_armv8-fp_armv8d16-fp_armv8d16sp-fp_armv8sp-fpao+fpregs-fpregs16+fpregs64-fullfp16-fuse_aes-fuse_literals-harden_sls_blr-harden_sls_nocomdat-harden_sls_retbr+has_v4t+has_v5t+has_v5te+has_v6+has_v6k+has_v6m+has_v6t2+has_v7+has_v7clrex-has_v8-has_v8_1a-has_v8_1m_main-has_v8_2a-has_v8_3a-has_v8_4a-has_v8_5a-has_v8_6a-has_v8_7a-has_v8_8a-has_v8_9a+has_v8m-has_v8m_main-has_v9_1a-has_v9_2a-has_v9_3a-has_v9_4a-has_v9_5a-has_v9_6a-has_v9a-hwdiv-hwdiv_arm-i8mm-iwmmxt-iwmmxt2-lob-long_calls-loop_align-m55-m85-mclass-mp-muxed_units-mve-mve1beat-mve2beat-mve4beat-mve_fp-nacl_trap+neon-neon_fpmovs-neonfp-no_branch_predictor-no_bti_at_return_twice-no_movt-no_neg_immediates-noarm-nonpipelined_vfp-pacbti+perfmon-prefer_ishst-prefer_vmovsr-prof_unpr-ras-rclass-read_tp_tpidrprw-read_tp_tpidruro-read_tp_tpidrurw-reserve_r9-ret_addr_stack-sb-sha2-slow_fp_brcc-slow_load_D_subreg-slow_odd_reg-slow_vdup32-slow_vgetlni32-slowfpvfmx-slowfpvmlx-soft_float-splat_vfp_neon-strict_align+thumb2+thumb_mode-trustzone-use_mipipeliner-use_misched-v2-v2a-v3-v3m-v4-v4t-v5t-v5te-v5tej-v6-v6j-v6k-v6kz-v6m-v6sm-v6t2+v7a-v7em-v7m-v7r-v7ve-v8_1a-v8_1m_main-v8_2a-v8_3a-v8_4a-v8_5a-v8_6a-v8_7a-v8_8a-v8_9a-v8a-v8m-v8m_main-v8r-v9_1a-v9_2a-v9_3a-v9_4a-v9_5a-v9_6a-v9a-vfp2+vfp2sp+vfp3+vfp3d16+vfp3d16sp+vfp3sp-vfp4-vfp4d16-vfp4d16sp-vfp4sp-virtualization-vldn_align-vmlx_forwarding-vmlx_hazards-wide_stride_vfp-xscale-zcz -I /home/galaxyshard/test/zig-nds-bindings/stub -I /home/galaxyshard/test/zig-nds-bindings/stub/include -I /home/galaxyshard/.cache/zig/p/N-V-__8AAHdbGgB5aYull6G4E-Nhn1uOYLKwVqfHfJ0SZYYg/include -isystem .zig-cache/o/90bd073a89a1dc7babff4c205d13d587 -D ARM9= -D wint_t=char /home/galaxyshard/test/zig-nds-bindings/src/libnds9.h -o .zig-cache/tmp/300f44c8a66fc435/libnds9.zig
error: the following command exited with error code 1:
/home/galaxyshard/.local/share/zigdown/zig-0.16.0-dev.747+493ad58ff/files/zig translate-c -lc --cache-dir .zig-cache --global-cache-dir /home/galaxyshard/.cache/zig --listen=- -target thumb-freestanding-eabi -I /home/galaxyshard/test/zig-nds-bindings/stub -I /home/galaxyshard/test/zig-nds-bindings/stub/include -I /home/galaxyshard/.cache/zig/p/N-V-__8AAHdbGgB5aYull6G4E-Nhn1uOYLKwVqfHfJ0SZYYg/include -isystem .zig-cache/o/90bd073a89a1dc7babff4c205d13d587 -D ARM9= -D wint_t=char /home/galaxyshard/test/zig-nds-bindings/src/libnds9.h
Build Summary: 10/17 steps succeeded; 2 failed
install transitive failure
├─ install generated to libnds9.zig transitive failure
│ └─ translate-c failure
├─ install generated to libnds7.zig transitive failure
│ └─ translate-c failure
├─ compile obj test-nds9 Debug thumb-freestanding-eabi transitive failure
│ └─ translate-c (+1 more reused dependencies)
└─ compile obj test-nds7 Debug thumb-freestanding-eabi transitive failure
└─ translate-c (+1 more reused dependencies)
error: the following build command failed with exit code 1:
.zig-cache/o/49ba818a056cc3509e07c0c60dbdaada/build /home/galaxyshard/.local/share/zigdown/zig-0.16.0-dev.747+493ad58ff/files/zig /home/galaxyshard/.local/share/zigdown/zig-0.16.0-dev.747+493ad58ff/files/lib /home/galaxyshard/test/zig-nds-bindings .zig-cache /home/galaxyshard/.cache/zig --seed 0xd0a3bb05 -Z0f81cf534b091471
I haven't reduced the issue yet, I'm trying to find the particular file that may be triggering the crash.
Expected Behavior
No crash nor SIGSEGV
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working