GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Building with LTO and Clang 20 on Debian fails to link · Issue #161821 · python/cpython

Building with LTO and Clang 20 on Debian fails to link #161821

New issue
Copy link
New issue
Copy link
Open
Open
Building with LTO and Clang 20 on Debian fails to link#161821
Copy link
Labels
buildThe build process and cross-buildThe build process and cross-buildtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Description

@nascheme
nascheme
opened on Nov 11, 2026
Issue body actions

Bug report

Debian Trixie does not ship LLVMgold.so and if you configure CPython with "clang-20" and --with-lto, it will fail to link. You can explicitly tell Clang to use lld as the linker, which will work, if you install that package. I think configure should detect this situation and use lld.

CPython versions tested on:

CPython main branch

Operating systems tested on:

Linux

Linked PRs

  • gh-161821: Fall back to lld for Clang LTO builds #161822

Activity

  1. nascheme
    added
    type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
    on Nov 11, 2026
  2. StanFromIreland
    added
    buildThe build process and cross-buildThe build process and cross-build
    on Nov 11, 2026
  3. nascheme
    added a commit that references this issue on Nov 11, 2026

    pythongh-161821: Fall back to lld for Clang LTO builds

    f74b453
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

    buildThe build process and cross-buildThe build process and cross-buildtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.