Opened 17 years ago

Closed 17 years ago

#3169 closed patch (fixed)

PowerPC build without Altivec (--disable-altivec build failed)

Reported by: anonymous Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: mythtv Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Build Error in trunk/mythtv/libs/libmythmpeg2/cpu_state.c after passing --disable-altivec to configure on FreeScale? PowerPC w/o Altivec. Related to Changeset 11203 regarding build on G3 without Altivec.

I have not seen any errors for the last two months with this patch. I have also applied Changeset 11203 and this patch to branches/release-0-20-fixes and can confirm that they apply cleanly and work without issue.

I have not tested this on a PowerPC with Altivec.

Attachments (1)

PowerPC_NoAltivec.patch (738 bytes) - added by Eric.Pheatt@… 17 years ago.

Download all attachments as: .zip

Change History (7)

Changed 17 years ago by Eric.Pheatt@…

Attachment: PowerPC_NoAltivec.patch added

comment:1 Changed 17 years ago by Nigel

After a few weeks of stuffing around (trying to get a Mac G3 build environment working), I succeeded in building SVN head on a G3. It causes a bus error when run (and gdb wasn't able to catch it), but there were no Altivec-related errors. [BR] This was a build using osx-packager. It didn't supply --disable-distcc to configure. Dunno what to do next to verify the need of this patch

comment:2 Changed 17 years ago by Janne Grunau

Version: 0.20head

comment:3 Changed 17 years ago by Janne Grunau

Nigel, I think the patch is ok.

At least the first part isn't used on darwin. Both parts assume that altivec is enabled if ARCH_PPC is defined.

comment:4 Changed 17 years ago by Nigel

Resolution: fixed
Status: newclosed

(In [13263]) Don't double-include LIRC files on OS X when using_lirc. Closes #3169 by using a slightly modified version of its patch

comment:5 Changed 17 years ago by Nigel

Resolution: fixed
Status: closedreopened

Ignore that last checkin (I used the wrong Trac ticket number)

comment:6 Changed 17 years ago by Nigel

Resolution: fixed
Status: reopenedclosed

(In [13266]) Non-Altivec compile fix. Closes #3169

Note: See TracTickets for help on using tickets.