ports/161069: multimaedia/ffmpeg: CLANG: /usr/bin/ld: libavcodec/x86/ac3dsp.o: relocation R_X86_64_PC32 against `ff_ac3_bap_bits' can not be used when making a shared object; recompile with -fPIC

Hartmann at FreeBSD.org Hartmann at FreeBSD.org
Tue Sep 27 15:30:13 UTC 2011


>Number:         161069
>Category:       ports
>Synopsis:       multimaedia/ffmpeg: CLANG: /usr/bin/ld: libavcodec/x86/ac3dsp.o: relocation R_X86_64_PC32 against `ff_ac3_bap_bits' can not be used when making a shared object; recompile with -fPIC
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 27 15:30:12 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Hartmann, O.
>Release:        FreeBSD 9.0-BETA3/amd3
>Organization:
FU Berlin
>Environment:
>Description:
Updating port multimedia/ffmpeg results in the shown error: 

ffserver.c:2542:21: warning: 'url_write' is deprecated [-Wdeprecated-declarations]
                    url_write(c->rtp_handles[c->packet_stream_index],
                    ^
ffserver.c:2966:5: MAN doc/ffplay.1
warning: 'av_metadata_free' is deprecated [-Wdeprecated-declarations]
    av_metadata_free(&avc->metadata);
    ^
ffserver.c:3427:13: warning: 'url_open'MAN       doc/ffprobe.1
 is deprecated [-Wdeprecated-declarations]
        if (url_open(&h, ctx->filename, AVIO_WRONLY) < 0)
            ^
MAN       doc/ffserver.1
ffserver.c:3430:27: warning: 'url_get_max_packet_size' is deprecated [-Wdeprecated-declarations]
        max_packet_size = url_get_max_packet_size(h);
                          ^
AR        libavdevice/libavdevice.a
ffserver.cLD    libavutil/libavutil.so.1
:3453:13: warning: 'url_close' is deprecated [-Wdeprecated-declarations]
            url_close(h);
            ^
AR        libavfilter/libavfilter.a
ffserver.c:3680:13: warning: 'url_exist' is deprecated [-Wdeprecated-declarations]
        if (url_exist(feed->feed_filename)) {
            ^
ffserver.c:3753:14: warning: 'url_exist' is deprecated [-Wdeprecated-declarations]
        if (!url_exist(feed->feed_filename)) {
             ^
ffserver.c:3775:13: warning: 'av_set_parameters' is deprecated [-Wdeprecated-declarations]
            av_set_parameters(s, NULL);
            ^
ffserver.c:3776:17: warning: 'av_write_header' is deprecated [-Wdeprecated-declarations]
            if (av_write_header(s) < 0) {
                ^
AR   libpostproc/libpostproc.a
LD      libavcodec/libavcodec.so.1
12 warnings generated.
LD      libswscale/libswscale.so.1
/usr/bin/ld: libswscale/x86/rgb2rgb.o: relocation R_X86_64_PC32 against `ff_bgr2YCoeff' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
clang: error: linker command failed with exit code 1 (use -v to see invocation)
gmake: *** [libswscale/libswscale.so.1] Error 1
gmake: *** Waiting for unfinished jobs....
/usr/bin/ld: libavcodec/x86/ac3dsp.o: relocation R_X86_64_PC32 against `ff_ac3_bap_bits' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
clang: error: linker command failed with exit code 1 (use -v to see invocation)
gmake: *** [libavcodec/libavcodec.so.1] Error 1
*** Error code 1

Stop in /usr/ports/multimedia/ffmpeg.
>How-To-Repeat:
Try compiling or update the/from most recent port multimedia/ffmpeg as from today's update.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list