Skip to content

Unable to -Drelease-fast=true in MacBook Air M1 #13831

Description

@kimmolinna

Zig Version

0.11.0-dev.635+225ed65ed

Steps to Reproduce and Observed Behavior

  1. Fetch duckdb-zig-build repo
  2. Build with command zig build -Drelease-fast

I will get the following error message:

MachO Flush... thread 154182 panic: attempt to use null value
src/link/MachO/dead_strip.zig:61:66: 0x10301797f in collectRoots (zig)
src/link/MachO/dead_strip.zig:32:21: 0x102cd4333 in gcAtoms (zig)
src/link/MachO/zld.zig:4238:35: 0x102995853 in linkWithZld (zig)
src/link/MachO.zig:426:44: 0x102798b33 in flush (zig)
src/link.zig:796:72: 0x102591adf in flush (zig)
src/Compilation.zig:2516:24: 0x10259126b in flush (zig)
src/Compilation.zig:2497:23: 0x102594567 in update (zig)
src/main.zig:3423:20: 0x1025bfef7 in updateModule (zig)
src/main.zig:3085:17: 0x1024a553f in buildOutputType (zig)
src/main.zig:257:31: 0x10247ee07 in mainArgs (zig)
src/main.zig:199:20: 0x10247e48f in main (zig)
lib/std/start.zig:614:37: 0x1024807ef in main (zig)
???:?:?: 0x1ab3dfe4f in ??? (???)
???:?:?: 0x3f09ffffffffffff in ??? (???)
error: duckdb...

zig buildworks

Expected Behavior

I expected successful linking.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugObserved behavior contradicts documented or intended behaviorlinkingos-macosmacOS

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions