pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/49600: macppc (powerpc) gcc 4.8.4 internal compiler error on multimedia/libvpx



The following reply was made to PR pkg/49600; it has been noted by GNATS.

From: "John D. Baker" <jdbaker%mylinuxisp.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/49600: macppc (powerpc) gcc 4.8.4 internal compiler error
 on multimedia/libvpx
Date: Thu, 17 Dec 2015 01:31:31 -0600 (CST)

 As of 17 December 2015, libvpx v1.5.0 compiles without the hack
 posted earlier in this PR.
 
 There still seems to be some problem as later attempting to build
 "multimedia/ffmpeg010" fails claiming insufficient libvpx version.
 
 This complaint stems from "ffmpeg010"'s ./configure test program
 failing to link against libvpx, complaining that there are a number
 of undefined references:
 
 check_lib2 vpx/vpx_decoder.h vpx/vp8dx.h vpx_codec_dec_init_ver -lvpx
 check_func_headers vpx/vpx_decoder.h vpx/vp8dx.h vpx_codec_dec_init_ver -lvpx
 check_ld cc -lvpx
 check_cc
 BEGIN /d0/build/pkgsrc/multimedia/ffmpeg010/work/ffmpeg-0.10.16/tmp/ffconf.7UWGrOAV.c
     1   #include <vpx/vpx_decoder.h>
     2   #include <vpx/vp8dx.h>
     3   long check_vpx_codec_dec_init_ver(void) { return (long) vpx_codec_dec_init_ver; }
     4   int main(void) { return 0; }
 END /d0/build/pkgsrc/multimedia/ffmpeg010/work/ffmpeg-0.10.16/tmp/ffconf.7UWGrOAV.c
 gcc -I/usr/pkg/include -I/usr/include -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -O2 -I/usr/pkg/include -I/usr/include -std=c99 -fPIC -pthread -c -o /d0/build/pkgsrc/multimedia/ffmpeg010/work/ffmpeg-0.10.16/tmp/ffconf.Pjzpp8Un.o /d0/build/pkgsrc/multimedia/ffmpeg010/work/ffmpeg-0.10.16/tmp/ffconf.7UWGrOAV.c
 gcc -Wl,-R/usr/pkg/lib/ffmpeg010 -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,--as-needed -Wl,-z,noexecstack -o /d0/build/pkgsrc/multimedia/ffmpeg010/work/ffmpeg-0.10.16/tmp/ffconf.869bZJIc /d0/build/pkgsrc/multimedia/ffmpeg010/work/ffmpeg-0.10.16/tmp/ffconf.Pjzpp8Un.o -lvpx -lvorbisenc -lvorbis -logg -ltheoraenc -ltheoradec -logg -lopencore-amrwb -lopencore-amrnb -lmp3lame -lfaac -lm -pthread -lbz2 -lz
 /d0/build/pkgsrc/multimedia/ffmpeg010/work/.buildlink/lib/libvpx.so: undefined reference to `round'
 /d0/build/pkgsrc/multimedia/ffmpeg010/work/.buildlink/lib/libvpx.so: undefined reference to `log'
 /d0/build/pkgsrc/multimedia/ffmpeg010/work/.buildlink/lib/libvpx.so: undefined reference to `sqrt'
 /d0/build/pkgsrc/multimedia/ffmpeg010/work/.buildlink/lib/libvpx.so: undefined reference to `log10'
 /d0/build/pkgsrc/multimedia/ffmpeg010/work/.buildlink/lib/libvpx.so: undefined reference to `pow'
 ERROR: libvpx decoder version must be >=0.9.1
 
 
 I'll reinstate the hack, rebuild libvpx, and try again.
 
 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645
 


Home | Main Index | Thread Index | Old Index