Bug #9263 | GCC4: -mcpu is depricated, use -mtune or -march instead | ||
---|---|---|---|
Submitted: | 18 Mar 2005 5:05 | Modified: | 28 Apr 2005 2:07 |
Reporter: | Stewart Smith | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Compiling | Severity: | S3 (Non-critical) |
Version: | 5.0 bk (probably 4 as well) | OS: | Linux (Linux) |
Assigned to: | Magnus Blåudd | CPU Architecture: | Any |
[18 Mar 2005 5:05]
Stewart Smith
[1 Apr 2005 10:24]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/internals/23557
[15 Apr 2005 11:13]
Magnus Blåudd
Added a sed command to configure.in that will convert -mcpu to -mtune if it's a high enough version of gcc/g++
[22 Apr 2005 12:58]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/internals/24226
[27 Apr 2005 10:51]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/internals/24361
[27 Apr 2005 19:58]
Magnus Blåudd
Added the script BUILD/check-cpu which will set the compiler optimization flagg based on cpu and compiler version. Currently only GCC supported. Pushed to 4.1.12 and 5.0.6
[28 Apr 2005 2:07]
Paul DuBois
No changelog note needed.
[4 May 2005 10:10]
Stewart Smith
Going to need to fix the script on ppc. With gcc 3.3 at least, there isn't a -march flag for ppc. It seems that consistency for gcc flags is not one of their goals :(