Skip to content

test-link fails randomly(?) on FreeBSD #25323

Closed

Description

@alexrp
test
└─ test-link
   └─ link_test_cases
      └─ test-macho
         └─ test-section-boundary-symbols-native-macos-Debug-llvm-no-lld
            └─ CheckObject failure
error: InvalidMagicNumber
test
└─ test-link
   └─ link_test_cases
      └─ test-macho
         └─ test-weak-bind-x86_64-macos-Debug-llvm-no-lld
            └─ CheckObject failure
error: InvalidMagicNumber
test
└─ test-link
   └─ link_test_cases
      └─ test-macho
         └─ test-segment-boundary-symbols-native-macos-Debug-llvm-no-lld
            └─ CheckObject failure
error: InvalidMagicNumber

I suspect bugs in std.Build.Step.CheckObject.

Activity

  1. added this to the upcoming milestone on Sep 21, 2025
  2. added
    bug
    os-freebsd
    zig build system
    on Sep 21, 2025
  3. added a commit that references this issue on Sep 23, 2025
  4. alexrp commented on Oct 10, 2025

    @alexrp
    MemberAuthor
    test
    +- test-link
       +- link_test_cases
          +- test-macho
             +- test-undefined-flag-native-macos-Debug-llvm-no-lld
                +- CheckObject failure
    error: InvalidMagicNumber
    
  5. alexrp commented on Apr 24, 2026

    @alexrp
    MemberAuthor
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

    buglinkingos-freebsdzig build system

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions