Skip to content

LTOFLAGS are passed to BASECFLAGS when using LTO #79532

Closed

Description

@stratakis
mannequin
BPO 35351
Nosy @vstinner, @ned-deily, @stratakis, @miss-islington
PRs
  • bpo-35351: Pass link time optimization flags to CFLAGS_NODIST. #10797
  • [3.7] bpo-35351: Pass link time optimization flags to CFLAGS_NODIST (GH-10797) #10893
  • [3.6] bpo-35351: Pass link time optimization flags to CFLAGS_NODIST (GH-10797) #11046
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2018-12-09.08:43:45.694>
    created_at = <Date 2018-11-29.15:29:01.903>
    labels = ['extension-modules', '3.8', 'build', '3.7']
    title = 'LTOFLAGS are passed to BASECFLAGS when using LTO'
    updated_at = <Date 2018-12-09.08:43:45.692>
    user = 'https://github.com/stratakis'

    bugs.python.org fields:

    activity = <Date 2018-12-09.08:43:45.692>
    actor = 'ned.deily'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-12-09.08:43:45.694>
    closer = 'ned.deily'
    components = ['Build', 'Extension Modules']
    creation = <Date 2018-11-29.15:29:01.903>
    creator = 'cstratak'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 35351
    keywords = ['patch']
    message_count = 5.0
    messages = ['330697', '331049', '331051', '331416', '331417']
    nosy_count = 4.0
    nosy_names = ['vstinner', 'ned.deily', 'cstratak', 'miss-islington']
    pr_nums = ['10797', '10893', '11046']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue35351'
    versions = ['Python 3.6', 'Python 3.7', 'Python 3.8']

    Activity

    1. stratakis commented on Nov 29, 2018

      stratakismannequin
      MannequinAuthor

      Through configure.ac and this change [0] LTOFLAGS and more specifically -flto is baked into BASECFLAGS when using link time optimizations, which will make this flag propagate to distutils.

      [0] 69a3f15#diff-67e997bcfdac55191033d57a16d1408aL1350

    2. added
      3.7 (EOL)
      3.8 (EOL)
      build
      extension-modules
      on Nov 29, 2018
    3. vstinner commented on Dec 4, 2018

      @vstinner
      Member

      New changeset f92c7aa by Victor Stinner (stratakis) in branch 'master':
      bpo-35351: Pass link time optimization flags to CFLAGS_NODIST (GH-10797)
      f92c7aa

    4. miss-islington commented on Dec 4, 2018

      @miss-islington
      Contributor

      New changeset 1751423 by Miss Islington (bot) in branch '3.7':
      bpo-35351: Pass link time optimization flags to CFLAGS_NODIST (GH-10797)
      1751423

    5. miss-islington commented on Dec 9, 2018

      @miss-islington
      Contributor

      New changeset f2d2cb1 by Miss Islington (bot) in branch '3.6':
      bpo-35351: Pass link time optimization flags to CFLAGS_NODIST (GH-10797)
      f2d2cb1

    6. ned-deily commented on Dec 9, 2018

      @ned-deily
      Member

      See also bpo-28015, bpo-31354, and bpo-35257.

    7. transferred this issue fromon Apr 10, 2022
    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

      3.7 (EOL)3.8 (EOL)buildextension-modules

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions