Opened 17 years ago

Closed 16 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)

mythtv-trunk-mcpu-march.patch (2.9 KB) - added by cardoe@… 17 years ago.
mythtv-trunk-mcpu-march.2.patch (2.3 KB) - added by tom@… 17 years ago.
updated to apply cleanly against trunk

Download all attachments as: .zip

Change History (8)

Changed 17 years ago by cardoe@…

comment:1 Changed 17 years ago by Janne Grunau

Owner: changed from Isaac Richards to Janne Grunau

Changed 17 years ago by tom@…

updated to apply cleanly against trunk

comment:2 Changed 17 years ago by tom@…

This one's an easy ticket to wipe off. Like Cardoe said, -mcpu is deprecated. Please apply this.

comment:3 Changed 17 years ago by anonymous

Tom, did you test this against a representative sampling of gcc releases from 2.95.3 through 4.2? On what architectures?

comment:4 Changed 17 years ago by tom@…

Cute, forget it. FWIW, Cardoe's patch has been in the Portage SVN builds since march.

comment:5 Changed 17 years ago by cardoe@…

Had yet another discussion about this in #mythtv today with Chutt, janneg, and Anduin.

comment:6 Changed 16 years ago by Janne Grunau

Resolution: fixed
Status: newclosed

(In [16329]) check both -mcpu and -mtune since gcc devs decided to deprecate -mcpu

Closes #3231.

Note: See TracTickets for help on using tickets.