Skip to content

Crash targetting aarch64 without floating point and neon #14465

@N00byEdge

Description

@N00byEdge

Zig Version

0.11.0-dev.1465+d64dd75e3

Steps to Reproduce and Observed Behavior

zig build-exe empty.zig -target aarch64-freestanding-none -mcpu=generic-fp_armv8-neon
[1]    2754 segmentation fault (core dumped)
zig build-exe empty.zig -target aarch64-linux -mcpu=generic-fp_armv8-neon
[1]    3374 segmentation fault (core dumped)

Working -mcpu values: generic-fp_armv8, generic-neon or just leaving the argument out entirely. I don't have a debug build of the compiler, sorry

Expected Behavior

That the compiler doesn't crash

Metadata

Metadata

Assignees

No one assigned

    Labels

    abi-sfThe software floating point ABI for various architecturesarch-aarch6464-bit ArmbugObserved behavior contradicts documented or intended behaviorfrontendTokenization, parsing, AstGen, Sema, and Liveness.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions