[FFmpeg-devel] FATE on BSD

Måns Rullgård mans
Sun Jan 23 21:29:33 CET 2011


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

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

If they don't want to support it full, they should make the linker
reject it outright.

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

Thanks, let's disable it for those then.

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list