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 — configure shouldn't set a default OPT · Issue #54872 · python/cpython

configure shouldn't set a default OPT #54872

New issue
Copy link
New issue
Copy link
Open
Open
configure shouldn't set a default OPT#54872
Copy link
Labels
3.13only security fixesonly security fixes3.14bugs and security fixesbugs and security fixes3.15bugs and security fixesbugs and security fixesbuildThe build process and cross-buildThe build process and cross-buildeasytype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Description

@pitrou
pitrou
opened on Dec 9, 2010
Issue body actions
BPO 10663
Nosy @warsaw, @pitrou, @merwok, @davidmalcolm, @iritkatriel

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 = None
created_at = <Date 2010-12-09.19:25:28.138>
labels = ['type-bug', '3.10', 'build']
title = "configure shouldn't set a default OPT"
updated_at = <Date 2021-04-17.04:43:11.735>
user = 'https://github.com/pitrou'

bugs.python.org fields:

activity = <Date 2021-04-17.04:43:11.735>
actor = 'Arfrever'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Build']
creation = <Date 2010-12-09.19:25:28.138>
creator = 'pitrou'
dependencies = []
files = []
hgrepos = []
issue_num = 10663
keywords = []
message_count = 4.0
messages = ['123695', '135468', '379807', '391271']
nosy_count = 7.0
nosy_names = ['barry', 'pitrou', 'eric.araujo', 'Arfrever', 'laca', 'dmalcolm', 'iritkatriel']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue10663'
versions = ['Python 3.10']

Linked PRs

  • gh-54872: Remove default OPT=-O for non-GCC compilers #142159

Activity

  1. pitrou commented on Dec 9, 2010

    @pitrou
    pitrou
    on Dec 9, 2010
    MemberAuthor
    More actions

    The configure.in sets a default OPT of "-O" if none was set by the user, but I think that's wrong. The user could simply pass optimization flags as part of CFLAGS instead, and then the contents of OPT could conflict with that of CFLAGS (which is annoying to debug when you don't know what is happening exactly).

    Besides, "-O" is hardly an useful default value for any compiler. I would advocate trimming down the magic and letting OPT empty/undefined if that's what the user asks for (and expects). What do you think?

  2. pitrou
    added
    buildThe build process and cross-buildThe build process and cross-build
    type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
    on Dec 9, 2010
  3. merwok commented on May 7, 2011

    @merwok
    merwok
    on May 7, 2011
    Member
    More actions

    Sounds reasonable.

  4. iritkatriel commented on Oct 27, 2020

    @iritkatriel
    iritkatriel
    on Oct 27, 2020
    Member
    More actions

    I couldn't find a configure.in. Is this issue out of date?

  5. iritkatriel
    closed this as completedon Apr 16, 2021
  6. Arfrever commented on Apr 17, 2021

    @Arfrever
    Arfrevermannequin
    on Apr 17, 2021
    Mannequin
    More actions

    configure.in is old name of Autoconf input file.
    configure.ac is new name of Autoconf input file (and the only name to be supported in some future version of Autoconf).
    configure.in in CPython project was renamed to configure.ac in 2012 (commit 0f4c16e).
    Problem described in this issue is still present in configure.ac.

  7. Arfrever
    added
    3.10 (EOL)end of lifeend of life
    on Apr 17, 2021
  8. Arfrever
    reopened this on Apr 17, 2021
  9. ezio-melotti
    transferred this issue fromon Apr 10, 2022
  10. devdanzin
    added
    easy
    3.13only security fixesonly security fixes
    3.14bugs and security fixesbugs and security fixes
    3.15bugs and security fixesbugs and security fixes
    and removed
    3.10 (EOL)end of lifeend of life
    on Sep 21, 2025
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.13only security fixesonly security fixes3.14bugs and security fixesbugs and security fixes3.15bugs and security fixesbugs and security fixesbuildThe build process and cross-buildThe build process and cross-buildeasytype-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.