[FFmpeg-devel] FATE on BSD

Måns Rullgård mans
Sun Jan 23 15:35:51 CET 2011

Michael Kostylev <michael.kostylev at gmail.com> writes:

>>>>> 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.

> Normally, configure enables symbol versioning:
> #define HAVE_SYMVER 1

Which systems are affected?  We can simply have configure disable it
for those.  Since the syntax is accepted without errors, it's
difficult to test for it.

M?ns Rullg?rd
mans at mansr.com

More information about the ffmpeg-devel mailing list