On amd64 system (FreeBSD 10.3-STABLE #0 r319756M) with AMD GPU I was trying to upgrade graphics/libdrm, but've got this error: Making all in amdgpu uvd_enc_tests.c:39:10: fatal error: 'uve_ib.h' file not found #include "uve_ib.h" ^ 1 error generated. --- amdgpu_test-uvd_enc_tests.o --- *** [amdgpu_test-uvd_enc_tests.o] Error code 1 make[5]: stopped in /usr/ports/graphics/libdrm/work/libdrm-2.4.83/tests/amdgpu 1 error make[5]: stopped in /usr/ports/graphics/libdrm/work/libdrm-2.4.83/tests/amdgpu --- all-recursive --- *** [all-recursive] Error code 1 make[4]: stopped in /usr/ports/graphics/libdrm/work/libdrm-2.4.83/tests 1 error make[4]: stopped in /usr/ports/graphics/libdrm/work/libdrm-2.4.83/tests --- all-recursive --- *** [all-recursive] Error code 1 make[3]: stopped in /usr/ports/graphics/libdrm/work/libdrm-2.4.83 1 error make[3]: stopped in /usr/ports/graphics/libdrm/work/libdrm-2.4.83 *** [all] Error code 2 make[2]: stopped in /usr/ports/graphics/libdrm/work/libdrm-2.4.83 1 error make[2]: stopped in /usr/ports/graphics/libdrm/work/libdrm-2.4.83 ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make[1]: stopped in /usr/ports/graphics/libdrm *** Error code 1 Stop. make: stopped in /usr/ports/graphics/libdrm
This also happens on recent HEAD amd64 without AMD GPU, but with NVidia.
Created attachment 185919 [details] amdgpu opton May be proper way is add check for some amdgpu specific files exist in configure.am.
Created attachment 185926 [details] plist fix
Can you show verbose build logs i.e., including FreeBSD version/architecture, make.conf contents and environ(7)? Maybe compare the output with successful builds: http://beefy5.nyi.freebsd.org/data/latest-per-pkg/libdrm/2.4.83%2C1/103i386-default.log http://beefy6.nyi.freebsd.org/data/latest-per-pkg/libdrm/2.4.83%2C1/103amd64-default.log http://beefy10.nyi.freebsd.org/data/latest-per-pkg/libdrm/2.4.83%2C1/110i386-default.log http://beefy9.nyi.freebsd.org/data/latest-per-pkg/libdrm/2.4.83%2C1/110amd64-default.log http://www.ipv6proxy.net/go.php?u=http%3A%2F%2Fbeefy11.nyi.freebsd.org%2Fdata%2Flatest-per-pkg%2Flibdrm%2F2.4.83%2C1%2Fhead-i386-default.log http://www.ipv6proxy.net/go.php?u=http%3A%2F%2Fbeefy12.nyi.freebsd.org%2Fdata%2Flatest-per-pkg%2Flibdrm%2F2.4.83%2C1%2Fhead-amd64-default.log
I have no uve_ib.h in system and it not found in ports plist files. FreeBSD rimwks 11.1-STABLE FreeBSD 11.1-STABLE #0 r322996M: Wed Aug 30 00:08:18 MSK 2017 root@rimwks:/usr/obj/usr/src/sys/RIMWKSx64 amd64 Build scripts does not check that amdgpu available on system.
I'm also seeing this issue on 11.1 amd64 system relying on x11/nvidia-driver, this seems to have also been reported upstream : https://bugs.freedesktop.org/show_bug.cgi?id=102391 With no official fix yet, but it will involve changing autoconf files and re-running it.
(In reply to Jan Beich from comment #4) I've already mentioned architecture and FreeBSD version: amd64 FreeBSD 10.3-STABLE #0 r319756M make.conf:_____________________________________ OPTIONS_SET=GALLIUM PKGNG IDEA GOST # new variant QT_SELECT=qt4 QT4_OPTIONS=CUPS QGTKSTYLE CPUTYPE?=bdver2 PORTS_MODULES=multimedia/cuse4bsd-kmod sysutils/powerdxx JPEG_PORT=graphics/jpeg DEFAULT_VERSIONS= ruby=2.3 tcltk=8.6 python2=2.7 lua=5.3 perl5=5.24 python3=3.5 bdb=6 mysql=5.6 ssl=base _____________________________________:make.conf SHELL=/bin/csh PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin make output:___________________________________ ===> Configuring for libdrm-2.4.83,1 configure: loading site script /usr/ports/Templates/config.site checking pkg-config is at least version 0.9.0... yes checking for xsltproc... /usr/local/bin/xsltproc checking build system type... amd64-portbld-freebsd10.3 checking host system type... amd64-portbld-freebsd10.3 checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) /usr/bin/awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking for gcc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking whether cc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of cc... gcc3 checking for cc option to accept ISO C99... none needed checking how to run the C preprocessor... cpp checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for minix/config.h... (cached) no checking whether it is safe to define __EXTENSIONS__... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for size_t... (cached) yes checking for working alloca.h... no checking for alloca... yes checking whether sys/types.h defines makedev... yes checking sys/sysctl.h usability... yes checking sys/sysctl.h presence... yes checking for sys/sysctl.h... yes checking for sys/select.h... (cached) yes checking how to print strings... printf checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for fgrep... (cached) /usr/bin/fgrep checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... (cached) 262144 checking how to convert amd64-portbld-freebsd10.3 file names to amd64-portbld-freebsd10.3 format... func_convert_file_noop checking how to convert amd64-portbld-freebsd10.3 file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... no checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from cc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for mt... mt checking if mt is a manifest tool... no checking for dlfcn.h... (cached) yes checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... yes checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... yes checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... freebsd10.3 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for PTHREADSTUBS... yes checking for clock_gettime... (cached) yes checking for open_memstream... yes checking for supported warning flags... checking whether cc supports -Wall... yes checking whether cc supports -Wextra... yes checking whether cc supports -Wsign-compare... yes checking whether cc supports -Werror-implicit-function-declaration... yes checking whether cc supports -Wpointer-arith... yes checking whether cc supports -Wwrite-strings... yes checking whether cc supports -Wstrict-prototypes... yes checking whether cc supports -Wmissing-prototypes... yes checking whether cc supports -Wmissing-declarations... yes checking whether cc supports -Wnested-externs... yes checking whether cc supports -Wpacked... yes checking whether cc supports -Wswitch-enum... yes checking whether cc supports -Wmissing-format-attribute... yes checking whether cc supports -Wstrict-aliasing=2... yes checking whether cc supports -Winit-self... yes checking whether cc supports -Wdeclaration-after-statement... yes checking whether cc supports -Wold-style-definition... yes checking whether cc supports -Wno-unused-parameter... yes checking whether cc supports -Wno-attributes... yes checking whether cc supports -Wno-long-long... yes checking whether cc supports -Winline... yes checking whether cc supports -Wshadow... yes checking whether cc supports -Wno-missing-field-initializers... yes checking which warning flags were supported... -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wshadow -Wno-missing-field-initializers checking for native atomic primitives... Intel checking for PCIACCESS... yes checking for CUNIT... yes checking whether to enable Cairo tests... no checking for docbook manpages stylesheet... yes checking for VALGRIND... no checking whether to enable Valgrind support... no checking whether cc supports __attribute__(("hidden"))... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating data/Makefile config.status: creating libkms/Makefile config.status: creating libkms/libkms.pc config.status: creating intel/Makefile config.status: creating intel/libdrm_intel.pc config.status: creating radeon/Makefile config.status: creating radeon/libdrm_radeon.pc config.status: creating amdgpu/Makefile config.status: creating amdgpu/libdrm_amdgpu.pc config.status: creating nouveau/Makefile config.status: creating nouveau/libdrm_nouveau.pc config.status: creating omap/Makefile config.status: creating omap/libdrm_omap.pc config.status: creating exynos/Makefile config.status: creating exynos/libdrm_exynos.pc config.status: creating freedreno/Makefile config.status: creating freedreno/libdrm_freedreno.pc config.status: creating tegra/Makefile config.status: creating tegra/libdrm_tegra.pc config.status: creating vc4/Makefile config.status: creating vc4/libdrm_vc4.pc config.status: creating etnaviv/Makefile config.status: creating etnaviv/libdrm_etnaviv.pc config.status: creating tests/Makefile config.status: creating tests/modeprint/Makefile config.status: creating tests/modetest/Makefile config.status: creating tests/kms/Makefile config.status: creating tests/kmstest/Makefile config.status: creating tests/proptest/Makefile config.status: creating tests/radeon/Makefile config.status: creating tests/amdgpu/Makefile config.status: creating tests/vbltest/Makefile config.status: creating tests/exynos/Makefile config.status: creating tests/tegra/Makefile config.status: creating tests/nouveau/Makefile config.status: creating tests/etnaviv/Makefile config.status: creating tests/util/Makefile config.status: creating man/Makefile config.status: creating libdrm.pc config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands libdrm 2.4.83 will be compiled with: libkms yes Intel API yes vmwgfx API yes Radeon API yes AMDGPU API yes Nouveau API yes OMAP API no EXYNOS API no Freedreno API no (kgsl: no) Tegra API no VC4 API no Etnaviv API no ===> Building for libdrm-2.4.83,1 --- all --- /usr/bin/make -s all-recursive Making all in . libtool: compile: cc -DHAVE_CONFIG_H -I. -I./include/drm -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wshadow -Wno-missing-field-initializers -O2 -pipe -march=bdver2 -fstack-protector -fno-strict-aliasing -MT libdrm_la-xf86drm.lo -MD -MP -MF .deps/libdrm_la-xf86drm.Tpo -c xf86drm.c -fPIC -DPIC -o .libs/libdrm_la-xf86drm.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I./include/drm -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wshadow -Wno-missing-field-initializers -O2 -pipe -march=bdver2 -fstack-protector -fno-strict-aliasing -MT libdrm_la-xf86drmHash.lo -MD -MP -MF .deps/libdrm_la-xf86drmHash.Tpo -c xf86drmHash.c -fPIC -DPIC -o .libs/libdrm_la-xf86drmHash.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I./include/drm -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wshadow -Wno-missing-field-initializers -O2 -pipe -march=bdver2 -fstack-protector -fno-strict-aliasing -MT libdrm_la-xf86drmSL.lo -MD -MP -MF .deps/libdrm_la-xf86drmSL.Tpo -c xf86drmSL.c -fPIC -DPIC -o .libs/libdrm_la-xf86drmSL.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I./include/drm -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wshadow -Wno-missing-field-initializers -O2 -pipe -march=bdver2 -fstack-protector -fno-strict-aliasing -MT libdrm_la-xf86drmRandom.lo -MD -MP -MF .deps/libdrm_la-xf86drmRandom.Tpo -c xf86drmRandom.c -fPIC -DPIC -o .libs/libdrm_la-xf86drmRandom.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I./include/drm -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wshadow -Wno-missing-field-initializers -O2 -pipe -march=bdver2 -fstack-protector -fno-strict-aliasing -MT libdrm_la-xf86drmMode.lo -MD -MP -MF .deps/libdrm_la-xf86drmMode.Tpo -c xf86drmMode.c -fPIC -DPIC -o .libs/libdrm_la-xf86drmMode.o xf86drm.c:1134:19: warning: implicit conversion from enumeration type 'drmMapType' to different enumeration type 'enum drm_map_type' [-Wenum-conversion] map.type = type; ~ ^~~~ xf86drm.c:1135:19: warning: implicit conversion from enumeration type 'drmMapFlags' to different enumeration type 'enum drm_map_flags' [-Wenum-conversion] map.flags = flags; ~ ^~~~~ xf86drm.c:1457:36: warning: implicit conversion from enumeration type 'drmDMAFlags' to different enumeration type 'enum drm_dma_flags' [-Wenum-conversion] dma.flags = request->flags; ~ ~~~~~~~~~^~~~~ xf86drm.c:2351:19: warning: implicit conversion from enumeration type 'enum drm_map_type' to different enumeration type 'drmMapType' [-Wenum-conversion] *type = map.type; ~ ~~~~^~~~ xf86drm.c:2352:19: warning: implicit conversion from enumeration type 'enum drm_map_flags' to different enumeration type 'drmMapFlags' [-Wenum-conversion] *flags = map.flags; ~ ~~~~^~~~~ xf86drm.c:3476:2: warning: "Missing implementation of drmParseUsbBusInfo" [-W#warnings] #warning "Missing implementation of drmParseUsbBusInfo" ^ xf86drm.c:3505:2: warning: "Missing implementation of drmParseUsbDeviceInfo" [-W#warnings] #warning "Missing implementation of drmParseUsbDeviceInfo" ^ xf86drm.c:3566:2: warning: "Missing implementation of drmParsePlatformBusInfo" [-W#warnings] #warning "Missing implementation of drmParsePlatformBusInfo" ^ xf86drm.c:3611:2: warning: "Missing implementation of drmParsePlatformDeviceInfo" [-W#warnings] #warning "Missing implementation of drmParsePlatformDeviceInfo" ^ xf86drm.c:3673:2: warning: "Missing implementation of drmParseHost1xBusInfo" [-W#warnings] #warning "Missing implementation of drmParseHost1xBusInfo" ^ xf86drm.c:3718:2: warning: "Missing implementation of drmParseHost1xDeviceInfo" [-W#warnings] #warning "Missing implementation of drmParseHost1xDeviceInfo" ^ 11 warnings generated. libtool: link: cc -shared -fPIC -DPIC .libs/libdrm_la-xf86drm.o .libs/libdrm_la-xf86drmHash.o .libs/libdrm_la-xf86drmRandom.o .libs/libdrm_la-xf86drmSL.o .libs/libdrm_la-xf86drmMode.o -lm -O2 -march=bdver2 -fstack-protector -fstack-protector -Wl,-soname -Wl,libdrm.so.2 -o .libs/libdrm.so.2.4.0 libtool: link: (cd ".libs" && rm -f "libdrm.so.2" && ln -s "libdrm.so.2.4.0" "libdrm.so.2") libtool: link: (cd ".libs" && rm -f "libdrm.so" && ln -s "libdrm.so.2.4.0" "libdrm.so") libtool: link: ( cd ".libs" && rm -f "libdrm.la" && ln -s "../libdrm.la" "libdrm.la" ) Making all in libkms libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wshadow -Wno-missing-field-initializers -I../include/drm -I.. -O2 -pipe -march=bdver2 -fstack-protector -fno-strict-aliasing -MT dumb.lo -MD -MP -MF .deps/dumb.Tpo -c dumb.c -fPIC -DPIC -o .libs/dumb.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wshadow -Wno-missing-field-initializers -I../include/drm -I.. -O2 -pipe -march=bdver2 -fstack-protector -fno-strict-aliasing -MT linux.lo -MD -MP -MF .deps/linux.Tpo -c linux.c -fPIC -DPIC -o .libs/linux.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wshadow -Wno-missing-field-initializers -I../include/drm -I.. -O2 -pipe -march=bdver2 -fstack-protector -fno-strict-aliasing -MT vmwgfx.lo -MD -MP -MF .deps/vmwgfx.Tpo -c vmwgfx.c -fPIC -DPIC -o .libs/vmwgfx.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wshadow -Wno-missing-field-initializers -I../include/drm -I.. -O2 -pipe -march=bdver2 -fstack-protector -fno-strict-aliasing -MT intel.lo -MD -MP -MF .deps/intel.Tpo -c intel.c -fPIC -DPIC -o .libs/intel.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wshadow -Wno-missing-field-initializers -I../include/drm -I.. -O2 -pipe -march=bdver2 -fstack-protector -fno-strict-aliasing -MT nouveau.lo -MD -MP -MF .deps/nouveau.Tpo -c nouveau.c -fPIC -DPIC -o .libs/nouveau.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wshadow -Wno-missing-field-initializers -I../include/drm -I.. -O2 -pipe -march=bdver2 -fstack-protector -fno-strict-aliasing -MT radeon.lo -MD -MP -MF .deps/radeon.Tpo -c radeon.c -fPIC -DPIC -o .libs/radeon.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wshadow -Wno-missing-field-initializers -I../include/drm -I.. -O2 -pipe -march=bdver2 -fstack-protector -fno-strict-aliasing -MT api.lo -MD -MP -MF .deps/api.Tpo -c api.c -fPIC -DPIC -o .libs/api.o libtool: link: cc -shared -fPIC -DPIC .libs/linux.o .libs/dumb.o .libs/api.o .libs/vmwgfx.o .libs/intel.o .libs/nouveau.o .libs/radeon.o -Wl,-rpath -Wl,/usr/ports/graphics/libdrm/work/libdrm-2.4.83/.libs -Wl,-rpath -Wl,/usr/local/lib ../.libs/libdrm.so -lm -O2 -march=bdver2 -fstack-protector -fstack-protector -Wl,-soname -Wl,libkms.so.1 -o .libs/libkms.so.1.0.0 libtool: link: (cd ".libs" && rm -f "libkms.so.1" && ln -s "libkms.so.1.0.0" "libkms.so.1") libtool: link: (cd ".libs" && rm -f "libkms.so" && ln -s "libkms.so.1.0.0" "libkms.so") libtool: link: ( cd ".libs" && rm -f "libkms.la" && ln -s "../libkms.la" "libkms.la" ) Making all in intel libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wshadow -Wno-missing-field-initializers -I.. -pthread -I/usr/local/include -I../include/drm -O2 -pipe -march=bdver2 -fstack-protector -fno-strict-aliasing -MT intel_bufmgr.lo -MD -MP -MF .deps/intel_bufmgr.Tpo -c intel_bufmgr.c -fPIC -DPIC -o .libs/intel_bufmgr.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wshadow -Wno-missing-field-initializers -I.. -pthread -I/usr/local/include -I../include/drm -O2 -pipe -march=bdver2 -fstack-protector -fno-strict-aliasing -MT intel_bufmgr_gem.lo -MD -MP -MF .deps/intel_bufmgr_gem.Tpo -c intel_bufmgr_gem.c -fPIC -DPIC -o .libs/intel_bufmgr_gem.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wshadow -Wno-missing-field-initializers -I.. -pthread -I/usr/local/include -I../include/drm -O2 -pipe -march=bdver2 -fstack-protector -fno-strict-aliasing -MT intel_decode.lo -MD -MP -MF .deps/intel_decode.Tpo -c intel_decode.c -fPIC -DPIC -o .libs/intel_decode.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wshadow -Wno-missing-field-initializers -I.. -pthread -I/usr/local/include -I../include/drm -O2 -pipe -march=bdver2 -fstack-protector -fno-strict-aliasing -MT mm.lo -MD -MP -MF .deps/mm.Tpo -c mm.c -fPIC -DPIC -o .libs/mm.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wshadow -Wno-missing-field-initializers -I.. -pthread -I/usr/local/include -I../include/drm -O2 -pipe -march=bdver2 -fstack-protector -fno-strict-aliasing -MT intel_bufmgr_fake.lo -MD -MP -MF .deps/intel_bufmgr_fake.Tpo -c intel_bufmgr_fake.c -fPIC -DPIC -o .libs/intel_bufmgr_fake.o libtool: link: cc -shared -fPIC -DPIC .libs/intel_bufmgr.o .libs/intel_bufmgr_fake.o .libs/intel_bufmgr_gem.o .libs/intel_decode.o .libs/mm.o -Wl,-rpath -Wl,/usr/ports/graphics/libdrm/work/libdrm-2.4.83/.libs -Wl,-rpath -Wl,/usr/local/lib ../.libs/libdrm.so -lm -L/usr/local/lib -lpciaccess -pthread -O2 -march=bdver2 -fstack-protector -fstack-protector -pthread -pthread -Wl,-soname -Wl,libdrm_intel.so.1 -o .libs/libdrm_intel.so.1.0.0 libtool: link: (cd ".libs" && rm -f "libdrm_intel.so.1" && ln -s "libdrm_intel.so.1.0.0" "libdrm_intel.so.1") libtool: link: (cd ".libs" && rm -f "libdrm_intel.so" && ln -s "libdrm_intel.so.1.0.0" "libdrm_intel.so") libtool: link: ( cd ".libs" && rm -f "libdrm_intel.la" && ln -s "../libdrm_intel.la" "libdrm_intel.la" ) libtool: link: cc -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wshadow -Wno-missing-field-initializers -I.. -pthread -I/usr/local/include -I../include/drm -O2 -pipe -march=bdver2 -fstack-protector -fno-strict-aliasing -fstack-protector -o .libs/test_decode test_decode.o ./.libs/libdrm_intel.so /usr/ports/graphics/libdrm/work/libdrm-2.4.83/.libs/libdrm.so -L/usr/local/lib ../.libs/libdrm.so -lpciaccess -lm -pthread -Wl,-rpath -Wl,/usr/local/lib Making all in nouveau libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wshadow -Wno-missing-field-initializers -I.. -pthread -I../include/drm -DDEBUG -O2 -pipe -march=bdver2 -fstack-protector -fno-strict-aliasing -MT nouveau.lo -MD -MP -MF .deps/nouveau.Tpo -c nouveau.c -fPIC -DPIC -o .libs/nouveau.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wshadow -Wno-missing-field-initializers -I.. -pthread -I../include/drm -DDEBUG -O2 -pipe -march=bdver2 -fstack-protector -fno-strict-aliasing -MT pushbuf.lo -MD -MP -MF .deps/pushbuf.Tpo -c pushbuf.c -fPIC -DPIC -o .libs/pushbuf.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wshadow -Wno-missing-field-initializers -I.. -pthread -I../include/drm -DDEBUG -O2 -pipe -march=bdver2 -fstack-protector -fno-strict-aliasing -MT abi16.lo -MD -MP -MF .deps/abi16.Tpo -c abi16.c -fPIC -DPIC -o .libs/abi16.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wshadow -Wno-missing-field-initializers -I.. -pthread -I../include/drm -DDEBUG -O2 -pipe -march=bdver2 -fstack-protector -fno-strict-aliasing -MT bufctx.lo -MD -MP -MF .deps/bufctx.Tpo -c bufctx.c -fPIC -DPIC -o .libs/bufctx.o nouveau.c:101:24: warning: field 'ioctl' with variable sized type 'struct nvif_ioctl_v0' not at the end of a struct or class is a GNU extension [-Wgnu-variable-sized-type-not-at-end] struct nvif_ioctl_v0 ioctl; ^ nouveau.c:143:24: warning: field 'ioctl' with variable sized type 'struct nvif_ioctl_v0' not at the end of a struct or class is a GNU extension [-Wgnu-variable-sized-type-not-at-end] struct nvif_ioctl_v0 ioctl; ^ nouveau.c:218:24: warning: field 'ioctl' with variable sized type 'struct nvif_ioctl_v0' not at the end of a struct or class is a GNU extension [-Wgnu-variable-sized-type-not-at-end] struct nvif_ioctl_v0 ioctl; ^ nouveau.c:241:24: warning: field 'ioctl' with variable sized type 'struct nvif_ioctl_v0' not at the end of a struct or class is a GNU extension [-Wgnu-variable-sized-type-not-at-end] struct nvif_ioctl_v0 ioctl; ^ 4 warnings generated. libtool: link: cc -shared -fPIC -DPIC .libs/nouveau.o .libs/pushbuf.o .libs/bufctx.o .libs/abi16.o -Wl,-rpath -Wl,/usr/ports/graphics/libdrm/work/libdrm-2.4.83/.libs -Wl,-rpath -Wl,/usr/local/lib ../.libs/libdrm.so -lm -pthread -O2 -march=bdver2 -fstack-protector -fstack-protector -pthread -pthread -Wl,-soname -Wl,libdrm_nouveau.so.2 -o .libs/libdrm_nouveau.so.2.0.0 libtool: link: (cd ".libs" && rm -f "libdrm_nouveau.so.2" && ln -s "libdrm_nouveau.so.2.0.0" "libdrm_nouveau.so.2") libtool: link: (cd ".libs" && rm -f "libdrm_nouveau.so" && ln -s "libdrm_nouveau.so.2.0.0" "libdrm_nouveau.so") libtool: link: ( cd ".libs" && rm -f "libdrm_nouveau.la" && ln -s "../libdrm_nouveau.la" "libdrm_nouveau.la" ) Making all in radeon libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wshadow -Wno-missing-field-initializers -I.. -pthread -I../include/drm -O2 -pipe -march=bdver2 -fstack-protector -fno-strict-aliasing -MT radeon_cs_gem.lo -MD -MP -MF .deps/radeon_cs_gem.Tpo -c radeon_cs_gem.c -fPIC -DPIC -o .libs/radeon_cs_gem.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wshadow -Wno-missing-field-initializers -I.. -pthread -I../include/drm -O2 -pipe -march=bdver2 -fstack-protector -fno-strict-aliasing -MT radeon_surface.lo -MD -MP -MF .deps/radeon_surface.Tpo -c radeon_surface.c -fPIC -DPIC -o .libs/radeon_surface.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wshadow -Wno-missing-field-initializers -I.. -pthread -I../include/drm -O2 -pipe -march=bdver2 -fstack-protector -fno-strict-aliasing -MT radeon_bo.lo -MD -MP -MF .deps/radeon_bo.Tpo -c radeon_bo.c -fPIC -DPIC -o .libs/radeon_bo.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wshadow -Wno-missing-field-initializers -I.. -pthread -I../include/drm -O2 -pipe -march=bdver2 -fstack-protector -fno-strict-aliasing -MT radeon_bo_gem.lo -MD -MP -MF .deps/radeon_bo_gem.Tpo -c radeon_bo_gem.c -fPIC -DPIC -o .libs/radeon_bo_gem.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wshadow -Wno-missing-field-initializers -I.. -pthread -I../include/drm -O2 -pipe -march=bdver2 -fstack-protector -fno-strict-aliasing -MT radeon_cs.lo -MD -MP -MF .deps/radeon_cs.Tpo -c radeon_cs.c -fPIC -DPIC -o .libs/radeon_cs.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wshadow -Wno-missing-field-initializers -I.. -pthread -I../include/drm -O2 -pipe -march=bdver2 -fstack-protector -fno-strict-aliasing -MT radeon_cs_space.lo -MD -MP -MF .deps/radeon_cs_space.Tpo -c radeon_cs_space.c -fPIC -DPIC -o .libs/radeon_cs_space.o libtool: link: cc -shared -fPIC -DPIC .libs/radeon_bo_gem.o .libs/radeon_cs_gem.o .libs/radeon_cs_space.o .libs/radeon_bo.o .libs/radeon_cs.o .libs/radeon_surface.o -Wl,-rpath -Wl,/usr/ports/graphics/libdrm/work/libdrm-2.4.83/.libs -Wl,-rpath -Wl,/usr/local/lib ../.libs/libdrm.so -lm -pthread -O2 -march=bdver2 -fstack-protector -fstack-protector -pthread -pthread -Wl,-soname -Wl,libdrm_radeon.so.1 -o .libs/libdrm_radeon.so.1.0.1 libtool: link: (cd ".libs" && rm -f "libdrm_radeon.so.1" && ln -s "libdrm_radeon.so.1.0.1" "libdrm_radeon.so.1") libtool: link: (cd ".libs" && rm -f "libdrm_radeon.so" && ln -s "libdrm_radeon.so.1.0.1" "libdrm_radeon.so") libtool: link: ( cd ".libs" && rm -f "libdrm_radeon.la" && ln -s "../libdrm_radeon.la" "libdrm_radeon.la" ) Making all in amdgpu libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -DAMDGPU_ASIC_ID_TABLE=\"/usr/local/share/libdrm/amdgpu.ids\" -DAMDGPU_ASIC_ID_TABLE_NUM_ENTRIES=154 -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wshadow -Wno-missing-field-initializers -I.. -pthread -I../include/drm -O2 -pipe -march=bdver2 -fstack-protector -fno-strict-aliasing -MT amdgpu_device.lo -MD -MP -MF .deps/amdgpu_device.Tpo -c amdgpu_device.c -fPIC -DPIC -o .libs/amdgpu_device.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -DAMDGPU_ASIC_ID_TABLE=\"/usr/local/share/libdrm/amdgpu.ids\" -DAMDGPU_ASIC_ID_TABLE_NUM_ENTRIES=154 -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wshadow -Wno-missing-field-initializers -I.. -pthread -I../include/drm -O2 -pipe -march=bdver2 -fstack-protector -fno-strict-aliasing -MT amdgpu_cs.lo -MD -MP -MF .deps/amdgpu_cs.Tpo -c amdgpu_cs.c -fPIC -DPIC -o .libs/amdgpu_cs.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -DAMDGPU_ASIC_ID_TABLE=\"/usr/local/share/libdrm/amdgpu.ids\" -DAMDGPU_ASIC_ID_TABLE_NUM_ENTRIES=154 -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wshadow -Wno-missing-field-initializers -I.. -pthread -I../include/drm -O2 -pipe -march=bdver2 -fstack-protector -fno-strict-aliasing -MT amdgpu_gpu_info.lo -MD -MP -MF .deps/amdgpu_gpu_info.Tpo -c amdgpu_gpu_info.c -fPIC -DPIC -o .libs/amdgpu_gpu_info.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -DAMDGPU_ASIC_ID_TABLE=\"/usr/local/share/libdrm/amdgpu.ids\" -DAMDGPU_ASIC_ID_TABLE_NUM_ENTRIES=154 -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wshadow -Wno-missing-field-initializers -I.. -pthread -I../include/drm -O2 -pipe -march=bdver2 -fstack-protector -fno-strict-aliasing -MT amdgpu_vamgr.lo -MD -MP -MF .deps/amdgpu_vamgr.Tpo -c amdgpu_vamgr.c -fPIC -DPIC -o .libs/amdgpu_vamgr.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -DAMDGPU_ASIC_ID_TABLE=\"/usr/local/share/libdrm/amdgpu.ids\" -DAMDGPU_ASIC_ID_TABLE_NUM_ENTRIES=154 -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wshadow -Wno-missing-field-initializers -I.. -pthread -I../include/drm -O2 -pipe -march=bdver2 -fstack-protector -fno-strict-aliasing -MT util_hash.lo -MD -MP -MF .deps/util_hash.Tpo -c util_hash.c -fPIC -DPIC -o .libs/util_hash.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -DAMDGPU_ASIC_ID_TABLE=\"/usr/local/share/libdrm/amdgpu.ids\" -DAMDGPU_ASIC_ID_TABLE_NUM_ENTRIES=154 -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wshadow -Wno-missing-field-initializers -I.. -pthread -I../include/drm -O2 -pipe -march=bdver2 -fstack-protector -fno-strict-aliasing -MT amdgpu_bo.lo -MD -MP -MF .deps/amdgpu_bo.Tpo -c amdgpu_bo.c -fPIC -DPIC -o .libs/amdgpu_bo.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -DAMDGPU_ASIC_ID_TABLE=\"/usr/local/share/libdrm/amdgpu.ids\" -DAMDGPU_ASIC_ID_TABLE_NUM_ENTRIES=154 -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wshadow -Wno-missing-field-initializers -I.. -pthread -I../include/drm -O2 -pipe -march=bdver2 -fstack-protector -fno-strict-aliasing -MT amdgpu_asic_id.lo -MD -MP -MF .deps/amdgpu_asic_id.Tpo -c amdgpu_asic_id.c -fPIC -DPIC -o .libs/amdgpu_asic_id.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -DAMDGPU_ASIC_ID_TABLE=\"/usr/local/share/libdrm/amdgpu.ids\" -DAMDGPU_ASIC_ID_TABLE_NUM_ENTRIES=154 -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wshadow -Wno-missing-field-initializers -I.. -pthread -I../include/drm -O2 -pipe -march=bdver2 -fstack-protector -fno-strict-aliasing -MT util_hash_table.lo -MD -MP -MF .deps/util_hash_table.Tpo -c util_hash_table.c -fPIC -DPIC -o .libs/util_hash_table.o amdgpu_cs.c:645:28: warning: suggest braces around initialization of subobject [-Wmissing-braces] union drm_amdgpu_cs cs = {0}; ^ {} 1 warning generated. libtool: link: cc -shared -fPIC -DPIC .libs/amdgpu_asic_id.o .libs/amdgpu_bo.o .libs/amdgpu_cs.o .libs/amdgpu_device.o .libs/amdgpu_gpu_info.o .libs/amdgpu_vamgr.o .libs/util_hash.o .libs/util_hash_table.o -Wl,-rpath -Wl,/usr/ports/graphics/libdrm/work/libdrm-2.4.83/.libs -Wl,-rpath -Wl,/usr/local/lib ../.libs/libdrm.so -lm -pthread -O2 -march=bdver2 -fstack-protector -fstack-protector -pthread -pthread -Wl,-soname -Wl,libdrm_amdgpu.so.1 -o .libs/libdrm_amdgpu.so.1.0.0 libtool: link: (cd ".libs" && rm -f "libdrm_amdgpu.so.1" && ln -s "libdrm_amdgpu.so.1.0.0" "libdrm_amdgpu.so.1") libtool: link: (cd ".libs" && rm -f "libdrm_amdgpu.so" && ln -s "libdrm_amdgpu.so.1.0.0" "libdrm_amdgpu.so") libtool: link: ( cd ".libs" && rm -f "libdrm_amdgpu.la" && ln -s "../libdrm_amdgpu.la" "libdrm_amdgpu.la" ) Making all in data Making all in tests Making all in util libtool: compile: cc -DHAVE_CONFIG_H -I. -I../.. -I../../include/drm -I../.. -O2 -pipe -march=bdver2 -fstack-protector -fno-strict-aliasing -MT libutil_la-kms.lo -MD -MP -MF .deps/libutil_la-kms.Tpo -c kms.c -fPIC -DPIC -o .libs/libutil_la-kms.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I../.. -I../../include/drm -I../.. -O2 -pipe -march=bdver2 -fstack-protector -fno-strict-aliasing -MT libutil_la-pattern.lo -MD -MP -MF .deps/libutil_la-pattern.Tpo -c pattern.c -fPIC -DPIC -o .libs/libutil_la-pattern.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I../.. -I../../include/drm -I../.. -O2 -pipe -march=bdver2 -fstack-protector -fno-strict-aliasing -MT libutil_la-format.lo -MD -MP -MF .deps/libutil_la-format.Tpo -c format.c -fPIC -DPIC -o .libs/libutil_la-format.o libtool: link: ar cru .libs/libutil.a .libs/libutil_la-format.o .libs/libutil_la-kms.o .libs/libutil_la-pattern.o libtool: link: ranlib .libs/libutil.a libtool: link: ( cd ".libs" && rm -f "libutil.la" && ln -s "../libutil.la" "libutil.la" ) Making all in kms libtool: compile: cc -DHAVE_CONFIG_H -I. -I../.. -I../../include/drm -I../../tests -I../.. -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wshadow -Wno-missing-field-initializers -O2 -pipe -march=bdver2 -fstack-protector -fno-strict-aliasing -MT libkms-test-crtc.lo -MD -MP -MF .deps/libkms-test-crtc.Tpo -c libkms-test-crtc.c -fPIC -DPIC -o .libs/libkms-test-crtc.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I../.. -I../../include/drm -I../../tests -I../.. -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wshadow -Wno-missing-field-initializers -O2 -pipe -march=bdver2 -fstack-protector -fno-strict-aliasing -MT libkms-test-device.lo -MD -MP -MF .deps/libkms-test-device.Tpo -c libkms-test-device.c -fPIC -DPIC -o .libs/libkms-test-device.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I../.. -I../../include/drm -I../../tests -I../.. -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wshadow -Wno-missing-field-initializers -O2 -pipe -march=bdver2 -fstack-protector -fno-strict-aliasing -MT libkms-test-screen.lo -MD -MP -MF .deps/libkms-test-screen.Tpo -c libkms-test-screen.c -fPIC -DPIC -o .libs/libkms-test-screen.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I../.. -I../../include/drm -I../../tests -I../.. -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wshadow -Wno-missing-field-initializers -O2 -pipe -march=bdver2 -fstack-protector -fno-strict-aliasing -MT libkms-test-plane.lo -MD -MP -MF .deps/libkms-test-plane.Tpo -c libkms-test-plane.c -fPIC -DPIC -o .libs/libkms-test-plane.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I../.. -I../../include/drm -I../../tests -I../.. -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wshadow -Wno-missing-field-initializers -O2 -pipe -march=bdver2 -fstack-protector -fno-strict-aliasing -MT libkms-test-framebuffer.lo -MD -MP -MF .deps/libkms-test-framebuffer.Tpo -c libkms-test-framebuffer.c -fPIC -DPIC -o .libs/libkms-test-framebuffer.o libtool: link: ar cru .libs/libkms-test.a .libs/libkms-test-crtc.o .libs/libkms-test-device.o .libs/libkms-test-framebuffer.o .libs/libkms-test-plane.o .libs/libkms-test-screen.o libtool: link: ranlib .libs/libkms-test.a libtool: link: ( cd ".libs" && rm -f "libkms-test.la" && ln -s "../libkms-test.la" "libkms-test.la" ) libtool: link: cc -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wshadow -Wno-missing-field-initializers -O2 -pipe -march=bdver2 -fstack-protector -fno-strict-aliasing -fstack-protector -o .libs/kms-universal-planes kms-universal-planes.o ./.libs/libkms-test.a /usr/ports/graphics/libdrm/work/libdrm-2.4.83/.libs/libdrm.so -lm -Wl,-rpath -Wl,/usr/local/lib libtool: link: cc -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wshadow -Wno-missing-field-initializers -O2 -pipe -march=bdver2 -fstack-protector -fno-strict-aliasing -fstack-protector -o .libs/kms-steal-crtc kms-steal-crtc.o ./.libs/libkms-test.a /usr/ports/graphics/libdrm/work/libdrm-2.4.83/.libs/libdrm.so ../util/.libs/libutil.a -lm -Wl,-rpath -Wl,/usr/local/lib Making all in modeprint modeprint.c:129:30: warning: format specifies type 'long long' but the argument has type '__u64' (aka 'unsigned long') [-Wformat] printf("\t\t%lld = %s\n", props->enums[j].value, props->enums[j].name); ~~~~ ^~~~~~~~~~~~~~~~~~~~~ %lu 1 warning generated. libtool: link: cc -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wshadow -Wno-missing-field-initializers -I../../include/drm -I../../tests -I../.. -O2 -pipe -march=bdver2 -fstack-protector -fno-strict-aliasing -fstack-protector -o .libs/modeprint modeprint.o ../../.libs/libdrm.so -lm -Wl,-rpath -Wl,/usr/local/lib Making all in proptest proptest.c:130:11: warning: format specifies type 'unsigned long long' but the argument has type '__u64' (aka 'unsigned long') [-Wformat] prop->enums[i].value); ^~~~~~~~~~~~~~~~~~~~ 1 warning generated. libtool: link: cc -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wshadow -Wno-missing-field-initializers -I../../include/drm -I../../tests -I../.. -O2 -pipe -march=bdver2 -fstack-protector -fno-strict-aliasing -fstack-protector -o .libs/proptest proptest.o ../../.libs/libdrm.so ../../tests/util/.libs/libutil.a -lm -Wl,-rpath -Wl,/usr/local/lib Making all in modetest modetest.c:303:11: warning: format specifies type 'unsigned long long' but the argument has type '__u64' (aka 'unsigned long') [-Wformat] prop->enums[i].value); ^~~~~~~~~~~~~~~~~~~~ 1 warning generated. libtool: link: cc -pthread -I../../include/drm -I../../tests -I../.. -O2 -pipe -march=bdver2 -fstack-protector -fno-strict-aliasing -fstack-protector -o .libs/modetest buffers.o cursor.o modetest.o ../../.libs/libdrm.so ../../tests/util/.libs/libutil.a -lm -pthread -Wl,-rpath -Wl,/usr/local/lib Making all in vbltest libtool: link: cc -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wshadow -Wno-missing-field-initializers -I../../include/drm -I../../tests -I../.. -O2 -pipe -march=bdver2 -fstack-protector -fno-strict-aliasing -fstack-protector -o .libs/vbltest vbltest.o ../../.libs/libdrm.so ../../tests/util/.libs/libutil.a -lm -Wl,-rpath -Wl,/usr/local/lib Making all in kmstest libtool: link: cc -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wshadow -Wno-missing-field-initializers -I../../include/drm -I../../libkms/ -I../../tests/ -I../.. -O2 -pipe -march=bdver2 -fstack-protector -fno-strict-aliasing -fstack-protector -o .libs/kmstest main.o ../../tests/util/.libs/libutil.a ../../libkms/.libs/libkms.so /usr/ports/graphics/libdrm/work/libdrm-2.4.83/.libs/libdrm.so ../../.libs/libdrm.so -lm -Wl,-rpath -Wl,/usr/local/lib Making all in radeon libtool: link: cc -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wshadow -Wno-missing-field-initializers -I ../../include/drm -I ../.. -O2 -pipe -march=bdver2 -fstack-protector -fno-strict-aliasing -fstack-protector -o .libs/radeon_ttm rbo.o radeon_ttm.o ../../.libs/libdrm.so -lm -Wl,-rpath -Wl,/usr/local/lib Making all in amdgpu uvd_enc_tests.c:39:10: fatal error: 'uve_ib.h' file not found #include "uve_ib.h" ^ 1 error generated. --- amdgpu_test-uvd_enc_tests.o --- *** [amdgpu_test-uvd_enc_tests.o] Error code 1 make[5]: stopped in /usr/ports/graphics/libdrm/work/libdrm-2.4.83/tests/amdgpu 1 error make[5]: stopped in /usr/ports/graphics/libdrm/work/libdrm-2.4.83/tests/amdgpu --- all-recursive --- *** [all-recursive] Error code 1 make[4]: stopped in /usr/ports/graphics/libdrm/work/libdrm-2.4.83/tests 1 error make[4]: stopped in /usr/ports/graphics/libdrm/work/libdrm-2.4.83/tests --- all-recursive --- *** [all-recursive] Error code 1 make[3]: stopped in /usr/ports/graphics/libdrm/work/libdrm-2.4.83 1 error make[3]: stopped in /usr/ports/graphics/libdrm/work/libdrm-2.4.83 *** [all] Error code 2 make[2]: stopped in /usr/ports/graphics/libdrm/work/libdrm-2.4.83 1 error make[2]: stopped in /usr/ports/graphics/libdrm/work/libdrm-2.4.83 ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make[1]: stopped in /usr/ports/graphics/libdrm *** Error code 1 Stop. make: stopped in /usr/ports/graphics/libdrm Command exit status: 1 ___________________________________:make output
Sorry for a long post. The first difference in configure output is presence of CUNIT in my system. Also, I do not use poudriere for that system.
testbuild on 11.1a in poudriere was sucessful. Can you try to build in poudriere ?
(In reply to Kurt Jaeger from comment #9) Try to add BUILD_DEPENDS += cunit>0:devel/cunit in order to reproduce.
Example poudriere log: http://sprunge.us/aIDR (10.3 i386)
Yes, adding a build-dep on devel/cunit causes the failure.
There several ways to fix build: - Mark as CONFLICTS_BUILD = cunit - Force-disable cunit in configure - Add uve_ib.h to DISTFILES - Wait for libdrm-2.4.84 Some of those are covered by portmgr blanket but without coordinating with the maintainer the fix can end up as cruft on the next update.
Created attachment 186191 [details] Force-disable cunit, rename amdgpu_Makefile.am -> patch-amdgpu_Makefile.am (In reply to Jan Beich from comment #13) > Force-disable cunit in configure I prefer this. With patch build and make package ok
ping
Hi! libdrm has been updated to 2.4.88, which, as far as I can tell contains a fix for this. Can you please check and see if the update solves your issue.
tested on current with devel/cunit installed: libdrm builds fine.
I can't reproduce this when adding cunit as a dependency either. I think it is fixed with the updates to libdrm, and the linked freedesktop bug kind of agrees with this. I'm closing this issue, if you still have problems with this, please reopen it.