Skip to content

LinuxCNC and musl C library (possible?) #3185

@NTULINUX

Description

@NTULINUX

Here are the steps I follow to reproduce the issue:

  1. Use a Clang 19 system with musl
  2. Download and attempt to build LinuxCNC
  3. Wait for errors

This is what I expected to happen:

A proper compilation.

This is what happened instead:

A few errors, maybe an easy fix?

It worked properly before this:

Clang 16 and glibc built fine when I last tested this.

Information about my hardware and software:

  • I am using Gentoo

  • I am using this kernel version (shown by uname -a): Linux ntu-gentoo 6.12.0-rc7-BUILD SMP Mon Nov 11 10:20:31 CST 2024 x86_64 AMD Ryzen 7 2700X Eight-Core Processor AuthenticAMD GNU/Linux

  • I am running ...

    • A binary version from linuxcnc.org (including buildbot.linuxcnc.org)
    • A binary I built myself
    • A binary version from some other source besides linuxcnc.org
  • I am using this LinuxCNC version (shown in package manager or, for git versions, scripts/get-version-from-git): latest 2.9 git checkout

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions