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

Provide a way to change defaults of gcc, g++, gfortran in /usr/bin

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-9.4
    • gcc
    • None
    • rhel-sst-pt-gcc
    • ssg_platform_tools
    • 3
    • False
    • Hide

      None

      Show
      None
    • Yes
    • Red Hat Enterprise Linux
    • None
    • None
    • None
    • Feature
    • Hide
      Feature, enhancement (describe the feature or enhancement from the user’s point of view):
      Reason (why has the feature or enhancement been implemented):
      Result (what is the current user experience):
      Show
      Feature, enhancement (describe the feature or enhancement from the user’s point of view): Reason (why has the feature or enhancement been implemented): Result (what is the current user experience):
    • Proposed
    • None

      Goal

      • Provide a convenient and (eventually) supportable way to change the built-in defaults of /usr/bin/gcc, /usr/bin/g++, /usr/bin/gfortran.
      • These changes should be effective independently of the build system, and similar to what GCC already supports at configure time using the --with-arch_64= option. (However, it should not be implemented as a separate build of GCC.)

      Acceptance Criteria

      • When building extensions, pip install should switch to the new architecture level automatically.
      • The configuration survives updates of the gcc, gcc-c++, gcc-gfortran packages.
      • By default, the build flags should be upgraded to -march=x86-64-v3 for all language front ends.
      • There should be a way to use -march=native instead.
      • Maybe there should be a way to configure the override to use the latest installed GCC Toolset version (if any).

              mpolacek@redhat.com Marek Polacek
              fweimer@redhat.com Florian Weimer
              Marek Polacek Marek Polacek
              Vaclav Kadlcik Vaclav Kadlcik
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: