[FFmpeg-devel] FATE on BSD

Michael Kostylev michael.kostylev
Sun Jan 23 21:20:43 CET 2011


On Sun Jan 23 14:35:51 2011
M?ns Rullg?rd wrote:

>>>>>> Though I still cannot use --enable-shared, for some reason the
>>>>>> resulting binaries fall into an infinite loop. The same applies also
>>>>>> to DragonFly and NetBSD, e.g.:
>>>>>> % gdb ./ffmpeg_g
>>>>>> (gdb) r -h
>>>>>> ^C
>>>>>> Program received signal SIGINT, Interrupt.
>>>>>> 0xbb338e24 in ff_av_opt_set_defaults2 ()
>>>>>>    from /home/mik/src/fate/build/tmp/usr/local/lib/libavcodec.so.52
>>>>>> ...
>>>>>> 0xbb338e24 <ff_av_opt_set_defaults2+0>: jmp    0xbb338e24 <ff_av_opt_set_defaults2>
>>>>>
>>>>>Curious.  Relocation problems?
>>>>
>>>> Looks so. Just in case I'll check pkgsrc.
>>
>> Works ok if configured with --disable-symver.
>
>Sounds like a buggy link editor or dynamic loader.

"Does the symbol-versioning build work with NetBSD's dynamic linker?
At the very least not as expected, e.g. rtld doesn't support it.
At best it just ignores it."

>> Normally, configure enables symbol versioning:
>>
>> #define HAVE_SYMVER 1
>> #define HAVE_SYMVER_GNU_ASM 1
>> #define HAVE_SYMVER_ASM_LABEL 0
>
>Which systems are affected?

DragonFly, NetBSD, OpenBSD.

Michael



More information about the ffmpeg-devel mailing list