Skip to content

build llvm libc #39

@nickdesaulniers

Description

@nickdesaulniers

Follow up to #36 (comment).
Specifically, it would be nice to test out memcpy, memset, memcmp, and strlen from llvm-libc.

There's a few issues though. We'd maybe want to build it as part of epoch2, but:

  1. llvmlibc has some build failures in 14.0.1. I need to cherry-pick a hacked up version of commit 122da690b39a ("[libc] Fix build when __FE_DENORM is defined").
  2. llvmlibc build seems to depend on musl-dev to build in the env (wtf)
  3. llvmlibc build seems to depend on kernel headers, which we don't build for epoch2 but do for epoch3. I think we might need to thus build llvmlibc BEFORE building clang in epoch3...

Alternatively, clang can assemble some glibc implementations of the above. 😈

cc @compnerd

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions