tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Broken ffmpeg on aarch64 and i386



nia <nia%NetBSD.org@localhost> wrote:
>On Fri, Jun 26, 2020 at 11:35:56AM +0100, Robert Swindells wrote:
>> 
>> nia%NetBSD.org@localhost wrote:
>> >On Fri, Jun 26, 2020 at 03:11:40AM +0000, John Klos wrote:
>> >> Log Message:
>> >> Fix "Cannot write-enable text segment: Permission denied" issues for
>> >> i386 and aarch64.
>> >
>> >Unfortunately this isn't a perfect fix, everything using ffmpeg
>> >(e.g. ffplay4) needs this too if it's going to work. Avoiding
>> >the text relocations entirely is desirable.
>> >
>> >I'm worried about us exiting freeze with broken ffmpeg.
>> 
>> I have a patch to fix the text relocations for aarch64.
>> 
>> Don't know whether I have triggered this code path in the testing that
>> I did or not.
>>
>
>Well.. you trigger the code path as soon as ffmpeg or ffplay runs,
>so you probably did.

It was able to play a video on my pinebook.

>Can you share the patch? I'm building the dependencies for ffmpeg4
>on my pinebook currently. 

Attached.

Attachment: patch-libavcodec_aarch64_fft__neon.S
Description: Binary data



Home | Main Index | Thread Index | Old Index