-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Closed
Labels
arch-riscv3232-bit RISC-V32-bit RISC-VbugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behavioros-linuxLinuxLinuxzig ccZig as a drop-in C compiler featureZig as a drop-in C compiler feature
Milestone
Description
Zig Version
0.9.1
Steps to Reproduce
git clone https://github.com/rodrigodornelles/3bc-lang
zig cc main.c -target riscv32-linux -o 3bc.soExpected Behavior
build as a success.
Actual Behavior
zsh: segmentation fault zig cc main.c -target riscv32-linux -dynamiclib -o 3bc.so
PC INFO
Darwin mac.local 19.6.0 Darwin Kernel Version 19.6.0: Mon Apr 18 21:50:40 PDT 2022; root:xnu-6153.141.62~1/RELEASE_X86_64 x86_64
Hardware Overview:
Model Name: MacBook Pro
Model Identifier: MacBookPro9,2
Processor Name: Dual-Core Intel Core i5
Processor Speed: 2,5 GHz
Number of Processors: 1
Total Number of Cores: 2
L2 Cache (per Core): 256 KB
L3 Cache: 3 MB
Hyper-Threading Technology: Enabled
Memory: 16 GB
Boot ROM Version: 429.0.0.0.0
SMC Version (system): 2.2f44
Serial Number (system): DX1NG00TF5WV
Hardware UUID: 972F115E-0B4E-5B5C-9D04-D5A10D2CC5DD
Sudden Motion Sensor:
State: Enabled
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
arch-riscv3232-bit RISC-V32-bit RISC-VbugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behavioros-linuxLinuxLinuxzig ccZig as a drop-in C compiler featureZig as a drop-in C compiler feature