[libav-bugs] [Bug 895] libav fails to build in some configurations with suncc with symbol reduction enabled

bugzilla at libav.org bugzilla at libav.org
Tue Nov 10 20:47:50 CET 2015


--- Comment #16 from Michael Kostylev <michael.kostylev at gmail.com> ---
(In reply to Michael Kostylev from comment #14)
> >                             in file
> > ff_rtmpe_encrypt_sig                libavformat/libavformat.a(rtmpproto.o)
> > ld: fatal: symbol referencing errors. No output written to avprobe
> This failure is caused by badly working DCE.
> Every call of the ff_rtmpe_encrypt_sig function from libavformat/rtmpproto.c
> is protected by following conditional expression:
> if (CONFIG_FFRTMPCRYPT_PROTOCOL && rt->encrypted)
> CONFIG_FFRTMPCRYPT_PROTOCOL is zero but it does not stop suncc:
> % nm libavformat/rtmpproto.o | grep ff_rtmpe_encrypt_sig
>                  U ff_rtmpe_encrypt_sig

That's not a surprise, the -O5 option was rejected because of unmet optimizer
__EXTENSIONS__ -D_XOPEN_SOURCE=600 -DPIC -xarch=sparcvis -xc99 -xregs=frameptr
KPIC -xcode=pic32 -O5 -c -o /tmp/ffconf.18boc18b.o /tmp/ffconf.2progefa.c
compiler(iropt) error:  iropt: dlsym() could not find function _mmheap_create

/opt/solarisstudio12.4/lib/compilers/iropt'quit+0x38 [0x2860ec]
/opt/solarisstudio12.4/lib/compilers/iropt'heap_init+0x160 [0x29d5c4]
/opt/solarisstudio12.4/lib/compilers/iropt'main+0x8 [0x354a8c]
/opt/solarisstudio12.4/lib/compilers/iropt'_start+0x108 [0x53880]
cc: Fatal error in /opt/solarisstudio12.4/lib/compilers/iropt
cc: Status 134

I extracted libmmheap.so.1 from the Oracle repository and the issue has gone.
Suncc-12.4 is able to compile libav with debug and shared libraries enabled but
this build fails so many tests that it cannot be taken seriously.

+1 for reverting

You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libav.org/pipermail/libav-bugs/attachments/20151110/b82d3fdd/attachment-0001.html>

More information about the libav-bugs mailing list