Bug 463549
Summary: | [LTC 6.0 FEAT] 201047:Change GCC default to -mcpu=power4 | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | IBM Bug Proxy <bugproxy> | ||||
Component: | gcc | Assignee: | Jakub Jelinek <jakub> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Michal Nowak <mnowak> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 6.0 | CC: | dgregor, ejratl, jakub, mnowak, notting, ohudlick, syeghiay | ||||
Target Milestone: | beta | Keywords: | FutureFeature | ||||
Target Release: | 6.0 | ||||||
Hardware: | ppc64 | ||||||
OS: | All | ||||||
Whiteboard: | |||||||
Fixed In Version: | gcc-4.4.1-22.el6 | Doc Type: | Enhancement | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2010-07-02 19:06:22 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 356741, 513487, 554559 | ||||||
Attachments: |
|
Description
IBM Bug Proxy
2008-09-23 21:01:35 UTC
Probably simplest to just change the default flags we use. Assigning to redhat-rpm-config. We'd want to get this done before the alpha. Switching Severity from Urgent to High. Urgent should be reserved for problems that need to be fixed asynch. Created attachment 333899 [details]
Update TARGET_DEFAULT to default to power4
------- Comment (attachment) From bergner.com 2009-03-03 12:08 EDT-------
This patch changes the default -mcpu option (not the default -mtune option!) to power4 by changing the
TARGET_DEFAULT value to the power4 flags.
* config/rs6000/default64.h: Add _DEFAULT64_H ifndef/define/endif block.
(TARGET_DEFAULT): Move inside #ifndef _DEFAULT64_H. Add MASK_PPC_GPOPT
and MASK_MFCRF flags.
* config/rs6000/linux64.h: Add _DEFAULT64_H ifndef/endif block.
(TARGET_DEFAULT): Define.
(ASM_DEFAULT_SPEC) <#ifdef DEFAULT_ARCH64_P>: Redefine to -mpower4.
(ASM_DEFAULT_SPEC) <#else DEFAULT_ARCH64_P>: Redefine to -mpower4.
Moving to gcc, if that's where they'd preferred it patched. gcc.spec has: %if 0%{?rhel} >= 6 %ifarch ppc ppc64 --with-cpu-32=power4 --with-tune-32=power6 --with-cpu-64=power4 --with-tune-64=power6 \ %endif %endif since 4.4.1-22.el6. For QA, if you run gcc with -v, you can see the -mtune= and -mcpu= options passed to cc1. ------- Comment From bergner.com 2010-05-03 13:33 EDT------- Verified in RHEL6 Beta 1. Red Hat Enterprise Linux Beta 2 is now available and should resolve the problem described in this bug report. This report is therefore being closed with a resolution of CURRENTRELEASE. You may reopen this bug report if the solution does not work for you. |