pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
"mplayer", "mencoder"w build fails on i386 using GCC 10
Building "multimedia/mplayer" or "multimedia/mencoder" on i386 using
GCC 10 (-current, netbsd-10, netbsd-9 w/pkgsrc GCC10) fails as follows:
[...]
./codec-cfg etc/codecs.conf > codecs.conf.h
Reading optional codecs config file etc/codecs.conf: 226 audio & 469 video codecs
cc -MMD -MP -Icompat/atomics/gcc -D_ISOC99_SOURCE -I. -O2 -I/usr/pkg/include/cdparanoia -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/SDL -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ffmpeg5 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/SDL -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ffmpeg5 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -fpic -fpie -DPIC -D_THREAD_SAFE -I/usr/pkg/include -I/usr/pkg/include/p11-kit-1 -I/usr/X11R7/include -I/usr/pkg/include/ -I/usr/pkg/include -I/usr/X11R7/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg5 -I/usr/pkg/include/ffmpeg5 -I/usr/pkg/include -c -o codec-cfg.o codec-cfg.c
codec-cfg.c: In function 'parse_codec_cfg':
codec-cfg.c:632:22: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
632 | video_codecs = builtin_video_codecs;
| ^
codec-cfg.c:633:22: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
633 | audio_codecs = builtin_audio_codecs;
| ^
codec-cfg.c:636:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
636 | codec_strs = builtin_codec_strs;
| ^
cc -MMD -MP -Icompat/atomics/gcc -D_ISOC99_SOURCE -I. -O2 -I/usr/pkg/include/cdparanoia -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/SDL -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ffmpeg5 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/SDL -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ffmpeg5 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -fpic -fpie -DPIC -D_THREAD_SAFE -I/usr/pkg/include -I/usr/pkg/include/p11-kit-1 -I/usr/X11R7/include -I/usr/pkg/include/ -I/usr/pkg/include -I/usr/X11R7/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg5 -I/usr/pkg/include/ffmpeg5 -I/usr/pkg/include -c -o mpcommon.o mpcommon.c
mpcommon.c: In function 'init_vo_spudec':
mpcommon.c:140:83: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member]
140 | vo_spudec = spudec_new_scaled(((dvd_priv_t *)(stream->priv))->cur_pgc->palette,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
cc -MMD -MP -Icompat/atomics/gcc -D_ISOC99_SOURCE -I. -O2 -I/usr/pkg/include/cdparanoia -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/SDL -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ffmpeg5 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/SDL -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ffmpeg5 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -fpic -fpie -DPIC -D_THREAD_SAFE -I/usr/pkg/include -I/usr/pkg/include/p11-kit-1 -I/usr/X11R7/include -I/usr/pkg/include/ -I/usr/pkg/include -I/usr/X11R7/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg5 -I/usr/pkg/include/ffmpeg5 -I/usr/pkg/include -c -o libmpcodecs/vf_gradfun.o libmpcodecs/vf_gradfun.c
libmpcodecs/vf_gradfun.c: In function 'blur_line_sse2':
libmpcodecs/vf_gradfun.c:196:5: error: 'asm' operand has impossible constraints
196 | __asm__ volatile(\
| ^~~~~~~
libmpcodecs/vf_gradfun.c:231:9: note: in expansion of macro 'BLURV'
231 | BLURV("movdqu");
| ^~~~~
libmpcodecs/vf_gradfun.c:196:5: error: 'asm' operand has impossible constraints
196 | __asm__ volatile(\
| ^~~~~~~
libmpcodecs/vf_gradfun.c:233:9: note: in expansion of macro 'BLURV'
233 | BLURV("movdqa");
| ^~~~~
gmake: *** [Makefile:730: libmpcodecs/vf_gradfun.o] Error 1
*** Error code 2
Stop.
make[1]: stopped in /x/pkgsrc/multimedia/mplayer
*** Error code 1
Stop.
make: stopped in /x/pkgsrc/multimedia/mplayer
Since mplayer, mencoder are essentially leaf packages, netbsd-9 can
simply use the stock GCC 7.5 to build them. NetBSD-10 and -current need
fixed.
--
|/"\ John D. Baker, KN5UKS NetBSD Darwin/MacOS X
|\ / jdbaker[snail]consolidated[flyspeck]net 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