From owner-freebsd-x11@freebsd.org Wed Sep 12 14:01:30 2018 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 40D1710942E2 for ; Wed, 12 Sep 2018 14:01:30 +0000 (UTC) (envelope-from samy.mahmoudi@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id A108583D05 for ; Wed, 12 Sep 2018 14:01:29 +0000 (UTC) (envelope-from samy.mahmoudi@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 6273A10942E1; Wed, 12 Sep 2018 14:01:29 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0E7D510942E0 for ; Wed, 12 Sep 2018 14:01:29 +0000 (UTC) (envelope-from samy.mahmoudi@gmail.com) Received: from mail-lj1-x22a.google.com (mail-lj1-x22a.google.com [IPv6:2a00:1450:4864:20::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4AAB483D02; Wed, 12 Sep 2018 14:01:28 +0000 (UTC) (envelope-from samy.mahmoudi@gmail.com) Received: by mail-lj1-x22a.google.com with SMTP id m84-v6so1706729lje.10; Wed, 12 Sep 2018 07:01:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=rFc4pnioLh8rbpNHUKA5/lVSKAGxZehfi+qMe+4gnok=; b=IWJ7MESMnOdIW9+53WBMIyQydnGKHU7jHyzNwxdzLXIwGRErBEqU2gNmrIuGAXS+lY z8VA1d35bgH0mC49lan9jLJqQ2vuSKMZh9o7ua94HjnMJ5qNpZxhWkyMuPV1ZB2p3FXE 4H4e3SC+4tndeZML/k54X+CRS/YAsE/dpXx7WxQyhKq/xOEjWNU5+eVXoa/bS1EcWjJj qBd9rLn+iEcV1xQFtjHVM+gq0xHxkCtLfmagURAcgOg8xDS0UIw/Km5uLrWoCKKcam+Y gs1O1tqMev2/yhuKebd9cQ1PnO/WTp+N4sVfVIhhC1Na9Y+tSJo/4sYhI3WA8E6+ONiW B11g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=rFc4pnioLh8rbpNHUKA5/lVSKAGxZehfi+qMe+4gnok=; b=Bu7aUtoikQBLPQpnoxnKEh7xQY6lu5JeX36QnQDshkSHEXk/E/WD+mbQs1Qou6mGUa gGUXY9TCPNM5izMeJ9/M9DscNZwu+Nv/OSbnbtYyZ9UlKDviS4FTQCxKEgiPvgQWpazZ b30giwHNZ8IwbpodTZrktVeMlpT510yvtIhgh/iIndV7AMMXvOisRYKRbuS8y+1Xfx4r sl4m465iNZzp+WMbu8nQxGJ9Ffbm0BOcjUZDP/pxx9btHPAKTcPMxYlVlckfojz7fOe6 vgfRn47x46TAeTJpc832aXrUOfOXmmTE8FaBT4eTVFfU1vMt9vFUIcOJOJVZK6dc1dlV bo0Q== X-Gm-Message-State: APzg51DSGDJfmK/72GWIIqgSH8M0vh96pQd5QlXAdabtpWALwTcz0ByR TQWI+EG7p45X4Vy0q/CywW2+O0t1lRKhD83t6/gp4mwZ1Os= X-Google-Smtp-Source: ANB0Vdb+xDKoYA66TG10CE2eNTsl8MU5Y9vzN/n9gwbRmJ5oPoruUCd8Rl+rzJR9OhtgqjD9dI+yWqOmVMcXI5xOTCs= X-Received: by 2002:a2e:8905:: with SMTP id d5-v6mr1579920lji.97.1536760886460; Wed, 12 Sep 2018 07:01:26 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a05:6504:13b2:0:0:0:0 with HTTP; Wed, 12 Sep 2018 07:01:25 -0700 (PDT) In-Reply-To: References: From: Samy Mahmoudi Date: Wed, 12 Sep 2018 16:01:25 +0200 Message-ID: Subject: Re: [CFT] Mesa 18.2.0 update (mesa-libs, mesa-dri, libosmesa, clover) To: Jan Beich Cc: x11@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Sep 2018 14:01:30 -0000 I will now reboot on a 11.1 environment. 2018-09-12 15:59 GMT+02:00 Samy Mahmoudi : > On FreeBSD CURRENT-r338488 (testing sandybridge), mesa-libs built fine. > mesa-dri building failed at configure time: > > ===> Configuring for mesa-dri-18.2.0_1 > configure: loading site script /usr/ports/Templates/config.site > checking build system type... amd64-portbld-freebsd12.0 > checking host system type... amd64-portbld-freebsd12.0 > checking target system type... amd64-portbld-freebsd12.0 > 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 gmake sets $(MAKE)... yes > checking whether gmake supports nested variables... yes > checking whether UID '0' is supported by ustar format... yes > checking whether GID '0' is supported by ustar format... yes > checking how to create a ustar tar archive... (cached) /usr/bin/tar > checking whether gmake supports nested variables... (cached) yes > checking for style of include used by gmake... GNU > checking for gcc... gcc7 > 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 gcc7 accepts -g... yes > checking for gcc7 option to accept ISO C89... none needed > checking whether gcc7 understands -c and -o together... yes > checking dependency style of gcc7... gcc3 > checking the archiver (/usr/local/bin/ar) interface... ar > checking how to run the C preprocessor... cpp7 > checking for gcc... (cached) gcc7 > checking whether we are using the GNU C compiler... (cached) yes > checking whether gcc7 accepts -g... (cached) yes > checking for gcc7 option to accept ISO C89... (cached) none needed > checking whether gcc7 understands -c and -o together... (cached) yes > checking dependency style of gcc7... (cached) gcc3 > checking whether we are using the GNU C++ compiler... yes > checking whether g++7 accepts -g... yes > checking dependency style of g++7... gcc3 > checking for grep that handles long lines and -e... (cached) /usr/bin/grep > checking for BSD- or MS-compatible name lister (nm)... /usr/local/bin/nm > checking the name lister (/usr/local/bin/nm) interface... BSD nm > checking dependency style of gcc7... gcc3 > checking for GNU make... gmake > checking for python2.7... python2.7 > checking for a sed that does not truncate output... (cached) /usr/bin/sed > checking for special C compiler options needed for large files... no > checking for _FILE_OFFSET_BITS value needed for large files... no > checking how to print strings... printf > checking for a sed that does not truncate output... (cached) /usr/bin/sed > checking for egrep... (cached) /usr/bin/egrep > checking for fgrep... (cached) /usr/bin/fgrep > checking for ld used by gcc7... /usr/local/bin/ld > checking if the linker (/usr/local/bin/ld) is GNU ld... yes > checking whether ln -s works... yes > checking the maximum length of command line arguments... (cached) 262144 > checking how to convert amd64-portbld-freebsd12.0 file names to > amd64-portbld-freebsd12.0 format... func_convert_file_noop > checking how to convert amd64-portbld-freebsd12.0 file names to toolchain > format... func_convert_file_noop > checking for /usr/local/bin/ld option to reload object files... -r > checking for objdump... /usr/local/bin/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 archiver @FILE support... @ > checking for strip... strip > checking for ranlib... /usr/local/bin/ranlib > checking command to parse /usr/local/bin/nm output from gcc7 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 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 dlfcn.h... (cached) yes > checking for objdir... .libs > checking if gcc7 supports -fno-rtti -fno-exceptions... no > checking for gcc7 option to produce PIC... -fPIC -DPIC > checking if gcc7 PIC flag -fPIC -DPIC works... yes > checking if gcc7 static flag -static works... yes > checking if gcc7 supports -c -o file.o... yes > checking if gcc7 supports -c -o file.o... (cached) yes > checking whether the gcc7 linker (/usr/local/bin/ld) supports shared > libraries... yes > checking whether -lc should be explicitly linked in... no > checking dynamic linker characteristics... freebsd12.0 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 how to run the C++ preprocessor... g++7 -E > checking for ld used by g++7... /usr/local/bin/ld > checking if the linker (/usr/local/bin/ld) is GNU ld... yes > checking whether the g++7 linker (/usr/local/bin/ld) supports shared > libraries... yes > checking for g++7 option to produce PIC... -fPIC -DPIC > checking if g++7 PIC flag -fPIC -DPIC works... yes > checking if g++7 static flag -static works... yes > checking if g++7 supports -c -o file.o... yes > checking if g++7 supports -c -o file.o... (cached) yes > checking whether the g++7 linker (/usr/local/bin/ld) supports shared > libraries... yes > checking dynamic linker characteristics... freebsd12.0 ld.so > checking how to hardcode library paths into programs... immediate > checking for rm... rm -f > checking for bison... bison -y > checking if bison is the parser generator... yes > checking for flex... flex > checking lex output file root... lex.yy > checking lex library... -lfl > checking whether yytext is a pointer... yes > checking if flex is the lexer generator... yes > checking for indent... indent > checking if module mako in python is installed... yes > checking if compiling with clang... no > checking whether gcc version is sufficient... yes > checking whether __SUNPRO_C is declared... no > checking for __builtin_bswap32... yes > checking for __builtin_bswap64... yes > checking for __builtin_clz... yes > checking for __builtin_clzll... yes > checking for __builtin_ctz... yes > checking for __builtin_expect... yes > checking for __builtin_ffs... yes > checking for __builtin_ffsll... yes > checking for __builtin_popcount... yes > checking for __builtin_popcountll... yes > checking for __builtin_unreachable... yes > checking for __attribute__((const))... yes > checking for __attribute__((flatten))... yes > checking for __attribute__((format))... yes > checking for __attribute__((malloc))... yes > checking for __attribute__((packed))... yes > checking for __attribute__((pure))... yes > checking for __attribute__((returns_nonnull))... yes > checking for __attribute__((unused))... yes > checking for __attribute__((visibility))... yes > checking for __attribute__((warn_unused_result))... yes > checking for __attribute__((weak))... yes > checking for __attribute__((alias))... yes > checking for __attribute__((noreturn))... yes > checking pkg-config is at least version 0.9.0... yes > checking whether C compiler accepts -Wall... yes > checking whether C compiler accepts -Werror=implicit-function-declaration... > yes > checking whether C compiler accepts -Werror=missing-prototypes... yes > checking whether C compiler accepts -Wmissing-prototypes... yes > checking whether C compiler accepts -Wmissing-field-initializers... yes > checking whether C compiler accepts -fno-math-errno... yes > checking whether C compiler accepts -fno-trapping-math... yes > checking whether C compiler accepts -fvisibility=hidden... yes > checking whether C++ compiler accepts -Wall... yes > checking whether C++ compiler accepts -fno-math-errno... yes > checking whether C++ compiler accepts -fno-trapping-math... yes > checking whether C++ compiler accepts -fvisibility=hidden... yes > checking whether C++ compiler accepts -Wmissing-field-initializers... yes > checking whether C compiler accepts -Werror=pointer-arith... yes > checking whether C compiler accepts -Werror=vla... yes > checking whether C++ compiler accepts -Werror=pointer-arith... yes > checking whether C++ compiler accepts -Werror=vla... yes > checking whether c++11 is enabled by default... yes > checking whether C compiler accepts -Woverride-init... yes > checking whether C compiler accepts -Winitializer-overrides... no > checking whether __atomic_load_n is supported... yes > checking whether __sync_add_and_fetch_8 is supported... yes > checking whether byte ordering is bigendian... no > checking whether gcc supports -mpower8-vector... no > checking if ld supports -Bsymbolic... yes > checking whether ld supports --gc-sections... yes > checking if the linker supports version-scripts... no > checking if the linker supports --dynamic-list... yes > checking whether to enable assembly... yes, amd64 > checking whether sys/types.h defines makedev... yes > checking xlocale.h usability... yes > checking xlocale.h presence... yes > checking for xlocale.h... yes > checking for sys/sysctl.h... (cached) yes > checking endian.h usability... no > checking endian.h presence... no > checking for endian.h... no > checking for dlfcn.h... (cached) yes > checking for strtof... (cached) yes > checking for mkostemp... yes > checking for timespec_get... yes > checking for memfd_create... no > checking whether strtod has locale support... no > checking for dlopen... (cached) yes > checking for dladdr... yes > checking for dl_iterate_phdr... yes > checking for clock_gettime... (cached) yes > checking for clock_nanosleep... yes > checking for posix_memalign... yes > checking for ZLIB... yes > checking for the pthreads library -lpthreads... no > checking whether pthreads work without any flags... no > checking whether pthreads work with -Kthread... no > checking whether pthreads work with -kthread... no > checking for the pthreads library -llthread... no > checking whether pthreads work with -pthread... yes > checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE > checking if more special flags are required for pthreads... -D_THREAD_SAFE > checking for PTHREAD_PRIO_INHERIT... yes > checking for PTHREADSTUBS... yes > checking for linux/futex.h... no > checking for sys/umtx.h... yes > checking for LIBELF... no > checking for elf_memory in -lelf... yes > checking for llvm-config... no > checking for LIBUNWIND... yes > checking for LIBDRM... yes > checking for GLPROTO... yes > checking for DRI2PROTO... yes > checking for XF86VIDMODE... yes > checking for DRIGL... yes > checking for XCB_DRI2... yes > checking for XCB_DRI3... yes > checking for XCB_DRI3_MODIFIERS... yes > checking for XCB_RANDR... yes > checking for XLIB_RANDR... yes > checking for EXPAT... yes > checking for RADEON... yes > checking for RADEON... yes > checking for I915... yes > checking for mincore... (cached) yes > checking for VL... yes > checking for XVMC... yes > checking for VA... yes > checking for RADEON... yes > configure: error: --enable-llvm is required when building r300 > ===> Script "configure" failed unexpectedly. > Please report the problem to x11@FreeBSD.org [maintainer] and attach the > "/usr/ports/graphics/mesa-dri/work/mesa-18.2.0/config.log" including the > output of the failure of your make command. Also, it might be a good idea > to > provide an overview of all packages installed on your system (e.g. a > /usr/local/sbin/pkg-static info -g -Ea). > *** Error code 1 > > Stop. > make[1]: stopped in /usr/ports/graphics/mesa-dri > *** Error code 1 > > Stop. > make: stopped in /usr/ports/graphics/mesa-dri > > > 2018-09-12 15:10 GMT+02:00 Jan Beich : > >> Mesa provides OpenGL/Vulkan drivers for Intel/AMD cards and also >> VAAPI/VDPAU >> drivers for AMD cards. Recently, a new minor version was released. So far >> it >> was only tested Skylake with drm-stable-kmod on 12.0-CURRENT. Can someone >> test >> on FreeBSD < 11.2 for regressions? If you find any don't forget to attach >> /var/log/Xorg.0.log and LIBGL_DEBUG=verbose output in advance. >> >> I'd like to land the update sometime after 2018-09-21. >> >> # Apply >> $ fetch -qo /tmp/mesa-18.2.0.diff 'https://reviews.freebsd.org/D >> 16571?download=true' >> $ patch -Efsp0 -i /tmp/mesa-18.2.0.diff -d /usr/ports >> $ make all deinstall install clean -C /usr/ports/graphics/mesa-libs >> $ make all deinstall install clean -C /usr/ports/graphics/mesa-dri >> >> # Undo >> $ patch -REfsp0 -i /tmp/mesa-18.2.0.diff -d /usr/ports >> $ make all deinstall install clean -C /usr/ports/graphics/mesa-libs >> $ make all deinstall install clean -C /usr/ports/graphics/mesa-dri >> >> # Testing examples >> - graphics/mesa-demos: glxgears, eglgears_x11 >> - multimedia/mpv: --hwdec=auto (VAAPI/VDPAU EGL interop) >> - www/firefox: MOZ_ACCELERATED=1 MOZ_WEBRENDER=1 (GPU compositing) >> - https://forums.freebsd.org/threads/unreal-engine-4.65300/ >> - devel/vulkan-tools: vulkaninfo >> - games/vkquake or emulators/{ppsspp,rpcs3} with Vulkan renderer >> _______________________________________________ >> freebsd-ports@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-ports >> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" >> > >