Opened 19 years ago
Closed 18 years ago
#3231 closed defect (fixed)
-mcpu is deprecated as per GCC docs, use -mtune or -march instead
| Reported by: | anonymous | Owned by: | Janne Grunau |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.21 |
| Component: | mythtv | Version: | head |
| Severity: | medium | Keywords: | |
| Cc: | Ticket locked: | no |
Description
-mcpu has been deprecated by the GCC folk. You're suppose to use -march and -mtune instead. Based on the use of -mcpu and -mtune together in the configure script, it appears the use of -mcpu should really be -march. Here's a patch to make that happen.
Attachments (2)
Change History (8)
by , 19 years ago
| Attachment: | mythtv-trunk-mcpu-march.patch added |
|---|
comment:1 by , 19 years ago
| Owner: | changed from to |
|---|
by , 19 years ago
| Attachment: | mythtv-trunk-mcpu-march.2.patch added |
|---|
comment:2 by , 19 years ago
This one's an easy ticket to wipe off. Like Cardoe said, -mcpu is deprecated. Please apply this.
comment:3 by , 19 years ago
Tom, did you test this against a representative sampling of gcc releases from 2.95.3 through 4.2? On what architectures?
comment:4 by , 19 years ago
Cute, forget it. FWIW, Cardoe's patch has been in the Portage SVN builds since march.
comment:5 by , 19 years ago
Had yet another discussion about this in #mythtv today with Chutt, janneg, and Anduin.

updated to apply cleanly against trunk