Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-123604

wasi-libc FTBFS with clang-20

Linking RHIVOS CVEs to...Migration: Automation ...RHELPRIO AssignedTeam ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • None
    • None
    • rhel-jotnar
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • All
    • None

      The wasi-libc is sensitive to the version of clang that is used to build it. That's because one of the build assertions checks for a list of pre-defined macros, and that list tends to change depending on the version of the compiler being used. Since any deviation from the expectations will fail the build, this check needs to be adjusted with each new version of clang that is used to build it.

      The steps to fix this should be:
      1. Update to the latest Fedora version OR pull the relevant adjustment commits from wasi-libc upstream.
      2. Set explicit upper bound on `BuildRequires: clang` (e.g. `BuildRequires: clang <= 20`) to notify us that the package will need changes on clang updates.

              jotnar-project Jötnar Project
              jstanek@redhat.com Jan Stanek
              nodejs-maint nodejs-maint
              Jötnar Project Jötnar Project
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: