Opened 3 years ago
Closed 3 years ago
Last modified 2 years ago
Mythtv segfaults on ppc when the internal ffmpeg is compiled with -fPIC (default)
|Reported by:||kim@…||Owned by:||beirdo|
|Component:||MythTV - General||Version:||Unspecified|
mythfrontend will segfault when reading various streams (AAC, AC3 etc...) on linux/powerpc if compiled with a 'recent' version of gcc (>= 3.6).
The reason is that the way global symbols are loaded in
ffmpeg/libavcodec/ppc/fft_altivec_s.S and asm.S is not PIC compatible.
This affects all versions of mythtv on linux/ppc32 (tested with 0.23, 0.24, 0.24.1 and git head).
The following simple patch was applied to ffmpeg upstream and fixes the problem, please cherry pick it:
Change History (5)
comment:1 Changed 3 years ago by beirdo
- Owner set to beirdo
- Status changed from new to assigned
comment:2 Changed 3 years ago by Github
- Milestone changed from unknown to 0.25
- Resolution set to fixed
- Status changed from assigned to closed
comment:3 Changed 3 years ago by kim@…
comment:4 Changed 3 years ago by beirdo
- Milestone changed from 0.25 to 0.24.2
comment:5 Changed 2 years ago by stuartm
- Milestone 0.24.2 deleted