Skip to content

freebsd libc missing md5.h #24736

@Rexicon226

Description

@Rexicon226

When trying to compile TSan, we run into a missing file error:

const std = @import("std");

pub fn main() !void {
    std.debug.print("hello world\n", .{});
}
$ zig build-exe test.zig -target x86_64-freebsd -fsanitize-thread
error: sub-compilation of libtsan failed
    stage3/lib/zig/libtsan/sanitizer_common/sanitizer_platform_limits_freebsd.cpp:73:10: note: 'md5.h' file not found
#include <md5.h>
         ^~~~~~~~

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementSolving this issue will likely involve adding new logic or components to the codebase.libcIssues related to libzigc and Zig's vendored libc code.os-freebsdzig ccZig as a drop-in C compiler feature

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions